Wednesday, June 13, 2012

CC430: Wireless Development (on-going) Adventure

CC430 is a very great microcontroller. The inclusion of the RF is a big plus. I am currently using this in my project. This uses CC430F6137.




The installation CD contains sample codes for the Chronos Watch. I reused some of the CCS RF codes from the Chronos CD to be able to get started quickly and did some improvements on the codes. For evaluation and range testing, I used Smart RF Studio to test some packet transmission but I am having problems receiving packets of data(using Smart RF Studio in receive mode). Instead, I used another TI's development board with a full JTAG connection (not Spy-Bi wire as what was implemented in the Chronos watch) to be able to receive the data.

I am also communicating to another device which is not a Chronos watch and I used Synchronous mode (since they have a very different preamble and sync word) with Manchester decoding/encoding. I learned this from CC1101's sample codes (it looks like an old code - it has the name ChipCon) - this can be downloaded also from TI's website.

If you will be needing source code samples for:
1. Less than FIFO (fixed packet length)
2. Less than FIFO (variable packet length)
3. Greater than FIFO (variable packet length)
4. Greater than FIFO (fixed packet length)
5. Asynchronous mode
6. Synchronous mode
you need to download this from TI's website as this is not included in the Chronos CD.

Since a customized wireless bootloader update is included in my project, I was forced to use IAR Kickstart (free version) since the sample bootloader code provided is written only in IAR.

Learning CC430 (especially the RF portion) is a little bit challenging at first but as I progressed, I encountered a lot of "Aha" moments. :D