This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Wireless UART using the eZ430-RF2500

Other Parts Discussed in Thread: CC2500

If you have a pair of eZ430-RF2500 boards (need two USB interfaces), this code takes the general radio code and puts a wireless UART function on top of it.

This highlights the addressing and variable features built into the CC2500 payload. 

Using HyperTerminal:

Typing a message until the 64 byte FIFO fills, will induce a software flow control command followed by a transmit.  When Tx is complete, software Xoff is sent to HyperTerminal.

Typing a shorter message followed by a Carriage Return will also transmit a message.

Currently, no radio packet delivery acknowledges have been implemented.

Details are in the pdf attached.

wireless uart.zip
  • Hi protagonist. Thanks for sharing your code. Your lab guide is very well documented too, so this is a really nice tutorial/exercise for all owners of a eZ430-RF2500 kit that want to learn and experiment more. Besides, your wireless UART application code is also very useful to build upon.
  • Is there a way to get this code to run on the environment supplied with the EZ430? When I try to compile it gives an error saying it's over 1000kb...

  • Hi Silent bob,

    If you take out the hyperterminal chatter (the welcome screen and the terminal messages) it should build under 4k (that's the error, that you've reached the maximum the Kickstart tool can compile.)

    The biggest one is this one:      PrintSplashScreen ();                                                       // Print the UART Splash Screen

    Hope this helps!

  • Thanks, That helped a bunch. A couple more questions...

    unless I define the 'debug' sections of code (which is #ifdef and by default is not enabled) I just get gibberish out in hyperterminal - any ideas why?

    What I'm really trying to do is to make a 'transparent' link, and I'm almost there. I've removed a lot of the TXString's and also the if statement that checks for carriage return or FIFO full. This means when I type on one terminal it is immediatedly echoed on the other as well.

    Problem is, if I use hyperterminal 'send text file', I get huge problems with dropouts, I suspect because the MSP code is receiving characters too quickly. Any suggestions to streamline the code further to help overcome this?

     

    Thanks again.

  • I should say that my text file is way bigger than the FIFO. At the moment I'm reading only one char into the FIFO, and then pushing it out to the radio before bring in the next char.

  • hi 

    thanks protagonist.... the code was very helpful in understanding.... but can someone pls tell me how i could use address filtering in this ? 

    as in how can i specify address of the devices and enable it ?