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.

CC2531 + RF Modem application

Other Parts Discussed in Thread: CC2531, CC2520, MSP430FG439, CC2530, CC2430

Hello,

I'm trying to use the CC2531 USB dongle with the RF Modem application. My OS is Windows 7 32 bit.

I have programmed the CC2531 with the CC Debugger using SmartRF studio with the rf_modem.hex file from the TI site.  After that I used the usb_cdc_driver_cc2531.inf file as driver for windows and the dongle showed up as it should in the device manager.

Next I configured the port as below:

Since Windows 7 doesn't have a HyperTerminal anymore I use RealTerm instead (realterm.sourceforge.net/) and tried to capture any incoming data.

 

Apparently there is no data being transmitted over this com port. But if I try to capture any packets with SmartRF studio (dongle connected to the CC Debugger), they are correctly received with all the data I'm transmitting.

Why doesn't the dongle transmit this data over the COM port if it's received ok? Am I forgetting something?

I can see the packets as well if I install and use the packet sniffer.

Thanks in advance 

  • Arne, 

    I looks to me like you are on the wrong frequency of operation. You SmartRF Studio says 2405MHz, where the default setting for the rf_modem.hex expects you to be running at 2435MHz, see Table 2 in the Users Guide.

    Regards
    /TA 

  • Hi,

    Thanks for the reply. The channel was correct, I must have accidently changed it  before taking the screenshot. I've taken some screenshots from the packet sniffer too.

     

     

    On the last screenshot you can see the channel (2425 instead of 2435) and on the first you can see the packet details. Why isn't there any payload in the package? The last 5 bytes from the package details are the ones I send as payload from custom system with a MSP430FG439 + CC2520 combination. The firmware on that system uses the basic_rf protocol from the software examples for the CC2520. Is there a decoding problem between basic_rf and the MRFI protocol on the CC2531?

    Thanks 

  • Hi Arne,

    The MRFI (i.e SimliciTI) and BasicRF protocols are not directly compatible. You better have a look at the software provided for the SmartRF05EB+CC2430 (or CC2530). This code is in the RF modem example zip.file itself. The quickest way forward would probably be to hack your basicrf.c file to make the packets compatible with MRFI.

  • Ok, I'm trying to do that, but could you be somewhat more specific about how I should do this?

    I tried to setup a link with the CC2531, but I don't know how I should proceed after that. Apparently not by simply sending the link token along with the next packets :).