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:
18:b02fc0e53df8
Parent:
17:52cfd7db8da3
Child:
19:71b793021c78
--- a/RF_Drivers_Atmel/driverDebug.h	Wed Mar 18 18:52:47 2015 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,50 +0,0 @@
-/*
- * driverDebug.h
- *
- *  Created on: 21 May 2014
- *      Author: jarpas01
- */
-#ifndef DRIVERDEBUG_H_
-#define DRIVERDEBUG_H_
-
-#include "stdint.h"
-
-//typedef  unsigned char const prog_uint8_t;
-
-extern void debug_integer(uint8_t width, uint8_t base, int16_t n);
-extern int16_t debug_get(void);
-extern int8_t debug_put(uint8_t byte);
-extern void debug_send(uint8_t *str);
-//extern void debug_send_const(prog_uint8_t *str);
-extern void printf_array(uint8_t *ptr , uint16_t len);
-extern void printf_string(uint8_t *ptr , uint16_t len);
-extern void printf_ipv6_address(uint8_t *addr_ptr);
-extern int8_t debug_init(uint32_t speed, uint8_t io_conf);
-extern void debug_interrupt_handler(void);
-extern uint32_t debug_round(uint32_t value, uint32_t divider);
-
-/**
-  * Macro for printing a constant string to the debug port.
-  *
-  * \param y pointer to the string
-  *
-  */
-//#define debug(y) debug_send_const(y);
-/**
-  * Macro for printing a 8-bit variable in HEX format to the debug port.
-  *
-  * \param y 8-bit variable
-  *
-  */
-#define debug_hex(y) debug_integer(2, 16, y)
-
-/**
-  * Macro for printing a 8/16-bit variable in integer format to the debug port.
-  *
-  * \param y 8/16-bit variable
-  *
-  */
-#define debug_int(y) debug_integer(6, 10, y)
-
-
-#endif /* DRIVERDEBUG_H_ */