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.

EM430F6137RF900 LED RF Example Not Working

Other Parts Discussed in Thread: CODECOMPOSER

Board Info: EM430F6137RF900 Rev. 3.2 EB1

I'm using Code Composer to load the following example onto the boards: slac525a\SLAA465 - CC430 RFExamples\CC430x613x\RF examples\ ExamplesCC430x613x RF examples\Asynchronous_Communication

I load one with RX and one with TX using 915 Mhz. (I've also tried 868Mhz)

I'm expecting the green LED on the RX board to only light up once it receives the signal from the TX board. However, the second I load the RX board, the green LED turns on even when the TX board is off.

Any idea what might be going wrong?

Thanks for the help in advance.

  • Hey Sean,

    I just got time and saw that nobody has replied yet. I don´t have that board and not that much experience so please forgive me if i´m wrong.

    I just downloaded the code to get an overview. is it your first time programming a µC/RF Chip? Do you have any experience with CodeComposer?

    In that code i downloaded from Ti the only reason why the LED on the RX- side could be on because the timer interrupt came up. Are you able to do a debugging?

    best regards

    Simon

  • Hi Simon,

    Thanks for checking out my post! Yes, I must admit I'm fairly new to programming µC/RF Chips and Code Composer as well - but I enjoy the fact that Code Composer is Eclipse based and easy to use.

    I used the MSP-FETU430IF with Code Composer to load the programs. 

    I also agree that the only reason the LED on RX side should turn on is when the ISP routine is hit, which if I'm not mistaken should happen when the TX board transmits its signal. This is not occurring with my boards and is hence the reason for this post and my confusion.

    My hunch is that it may have to do with the LPM configuration on my boards as they are quite old and I believe TI may have revised them in newer boards.

  • Hi Sean,

    you could comment out the line where the µc is entering the LPM, but i don´t think this is the problem. Have you tested the synchronos communication?

    I just figured out, the interrupt is a timer interrupt and not a port interrupt...

    If i´m understanding the code right, the rx and tx side are configured one time and then set in an endless state with while(1); (haven´t seen the while one yesterday :D)

    So there should be an 19.2KHz square-wave signal on the rx board, which is generated at the tx side. The interrupt routine which sets the LED is not depending if you are receiving or not (if i´m not wrong). Maybe the interrupt flag is set when the configurations are done and so the program enters the isr. If you do a debugging and go through the code step by step you should see in the registers if the timer IFG is set.

    Maybe I´m completely wrong... i dont know ;-)

    Edit: Sorry for my bad English ;-)

**Attention** This is a public forum