Wireless Communication using FLEX and ERIKA Enterprise Basichttp://dev.emcelettronica.com/print/519021 din 205.09.2008 18:01
Your Electronics Open Source
Home > Blog > frabs's blog > Contenuti
Wireless Communication using FLEX andERIKA Enterprise Basic
By frabsCreated 09/05/2008 - 15:00
Embedded ERIKA Enterprise FLEX Microchip microcontroller wireless communication
FLEX Base Board hosting PIC33FFJ256MC710 microcontrollerFLEX Thru Hole Daughter Board with FlexiPanel EasyBee IEEE 802.15.4 tranceivermodule or alteratively a FLex Demo Daughter Board with abuilt-in ready to use ZigBeeconnector
Erika Enterprise Basic 1.4.1
PC Side Application
We used a PC connected to the FLEX Board as console. To visualize the data from the FLEXwe used these softwares: Hyperterminal (Windows Systems) or Minicom (Linux). The settingwas 115200 bit/sec without flow control.The PC is connected to the FLEX by a RS232(COM) port. In our case by a USB/RS232 cableconverter. The FLEX Board uses its UART1 to communicate with the PC. To interface the FLEXUART signals (0V/3.3V) and the PC RS232 signals (+12V/-12V), we used the IC MAX233CPPprovided by MAXIM. This is not mandatory, one can use their own preferred line driver/receiverIC.
Flex Side Application
The CC2420/EasyBee can be connected through the FLEX Thru Hole Daughter Board or by theproper connector on the FLEX Demo Daughter Board . Note that, when the Flex Demo Board isused, both FIFOP and FIFO pins change, to accomodate this we must uncomment the followingdefine statement in : #define FLEX_DEMO_BOARD.
#ifndef _CODE_H_#define _CODE_H_#include "hal.h"#include "ee_console.h"#include "radio_spi.h"#define USE_CSMA#define CONSOLE_PORT UART1