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:
19:71b793021c78
Parent:
18:b02fc0e53df8
Child:
20:933513bba8a1
--- a/IEEE802_14_5_PHY/driverRFinterface.h	Fri Apr 03 05:23:33 2015 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,61 +0,0 @@
-/*
- *  driverRFinterface.h
- *
- *  Created on: 12 March 2015
- *      Author: mBed Team
- */
-
-#ifndef DRIVERRFINTERFACE_H_
-#define DRIVERRFINTERFACE_H_
-
-//#include "arm_hal_phy.h"
-#include "EmbeddedTypes.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define RF_BUFFER_SIZE 128
-#define RF_DEFAULT_CHANNEL  11
-
-typedef union uuint16_tag
-{
-    uint16_t    u16;
-    uint8_t     u8[2];
-} uuint16_t;
-
-typedef union uuint32_tag
-{
-    uint32_t    u32;
-    uint16_t    u16[2];
-    uint8_t     u8[4];
-} uuint32_t;
-
-typedef union uuint64_tag
-{
-    uint64_t    u64;
-    uint32_t    u32[2];
-    uint16_t    u16[4];
-    uint8_t     u8[8];
-} uuint64_t;
-
-extern uint64_t atouint64(uint8_t* pArray);
-extern uint16_t atouint16(uint8_t* pArray);
-extern uint64_t NWKU_Revert64(uint64_t value);
-
-#if 0
-extern void rf_set_mac_address(const uint8_t *ptr);
-extern int8_t rf_device_register(void);
-extern void rf_channel_set(uint8_t ch);
-extern int8_t rf_tx(uint8_t *data_ptr, uint16_t data_length, uint8_t tx_handle);
-static int8_t rf_extension(phy_extension_type_e extension_type,uint8_t *data_ptr);
-static int8_t rf_address_write(phy_address_type_e address_type,uint8_t *address_ptr);
-static int8_t rf_interface_state_control(phy_interface_state_e new_state, uint8_t rf_channel);
-static void PD_PLME_MAC_SapHandler( void* pMsg, instanceId_t id );
-#endif
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* DRIVERRFINTERFACE_H_ */