The MCR20A Wireless UART application functions as an wireless UART bridge between two (one-to-one) or several (one to many) boards. The application can be used with both a TERM, or with software that is capable of opening a serial port and writing to or reading from it. The characters sent or received are not necessarily ASCII printable characters.

Dependencies:   fsl_phy_mcr20a fsl_smac mbed-rtos mbed

Fork of mcr20_wireless_uart by Freescale

By default, the application uses broadcast addresses for OTA communication. This way, the application can be directly downloaded and run without any user intervention. The following use case assumes no changes have been done to the project.

  • Two (or more) MCR20A platforms (plugged into the FRDM-K64F Freescale Freedom Development platform) have to be connected to the PC using the mini/micro-USB cables.
  • The code must be downloaded on the platforms via CMSIS-DAP (or other means).
  • After that, two or more TERM applications must be opened, and the serial ports must be configured with the same baud rate as the one in the project (default baud rate is 115200). Other necessary serial configurations are 8 bit, no parity, and 1 stop bit.
  • To start the setup, each platform must be reset, and one of the (user) push buttons found on the MCR20A platform must be pressed. The user can press any of the non-reset buttons on the FRDM-K64F Freescale Freedom Development platform as well. *This initiates the state machine of the application so user can start.

Documentation

SMAC Demo Applications User Guide

Revision:
28:2555c5ae3ccd
Parent:
27:1eb29717bfd9
--- a/FSL_SMAC/SMAC_Config.h	Mon Jun 29 05:50:47 2015 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-/**************************************************************************************************
-* This header contains SMAC basic configuration.
-* 
-* Freescale Semiconductor Inc.
-* (c) Copyright 2004-2010 Freescale Semiconductor, Inc.
-* ALL RIGHTS RESERVED.
-*
-***************************************************************************************************
-*
-* THIS SOFTWARE IS PROVIDED BY FREESCALE "AS IS" AND ANY EXPRESSED OR 
-* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 
-* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  
-* IN NO EVENT SHALL FREESCALE OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 
-* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
-* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 
-* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 
-* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 
-* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 
-* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 
-* THE POSSIBILITY OF SUCH DAMAGE.
-*
-***********************************************************************************************//*!
-**************************************************************************************************/
-
-#ifndef SMAC_CONFIG_H_
-#define SMAC_CONFIG_H_
-
-/* BEGIN SMAC Config Options Definition */
-
-#define gNodeAddress_c             (0xBEAD)
-#define gDefaultPanID_c            (0xFACE)
-#define CCA_BEFORE_TX              (FALSE)
-#define gMaxRetriesAllowed_c       ( 0x05 )
-//Make sure gMaxBackoffTime_c is of value (1<<n)-1. Ex: (1<<3)-1 = 7, (1<<4)-1 = 15;
-#define gMaxBackoffTime_c          ( 0x1F )
-#define gMinBackoffTime_c          ( 0x00 )
-/* END SMAC Config Options Definition */
-
-/* BEGIN Configuration Parameters Definition */ 
-#define gMaxOutputPower_c          ( 0x1F ) 
-#define gMinOutputPower_c              ( 0x03 )
-#define gDefaultOutputPower_c          ( 0x0F )               
-#define gDefaultChannelNumber_c         gChannel11_c   
-#define gDefaultAddress_c              (gBroadcastAddress_c)
-/* END Configuration Parameters Definition */
-
-#endif /* SMAC_CONFIG_H_ */
-