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.

CCS/CC1310: Alter the received frequency periodically of Rx

Part Number: CC1310


Tool/software: Code Composer Studio

Hi, 

Because I have 2 transmitters which transmit the packet at different frequency (431 MHz and 432 MHz), could I receive their packets via only one board? For instance, could I change the received frequency periodically of Rx? I attempt to modify the code examples in CCS, "rfPacketRx.c" and "smartrf_settings.c" .

Here is the time slot of the receiver.

Thank you!

Best regards, 

  • Yes, it's possible. When you want to change the frequency you have to close the RF driver and reopen it with the settings for the channel you want to switch to.
  • Hi TER,

    Thanks for your answering. Besides, could I request the solution or some guidelines to modify the original code? Thank you!

    Best regards,
  • If you look at the rfPacketRx example:

    rfHandle = RF_open(&rfObject, &RF_prop, (RF_RadioSetup*)&RF_cmdPropRadioDivSetup, &rfParams);

    opens the RF driver. You have to have one RF_cmdPropRadioDivSetup (with different name) for each frequency. The rfPacketErrorRate example show something like this in the Smartrf_settings files.

    Then run

    RF_postCmd(rfHandle, (RF_Op*)&RF_cmdFs, RF_PriorityNormal, NULL, 0);

    /* Enter RX mode and stay forever in RX */
    RF_EventMask terminationReason = RF_runCmd(rfHandle, (RF_Op*)&RF_cmdPropRx,
    RF_PriorityNormal, &callback,
    RF_EventRxEntryDone);

    After x seconds you can call RF_close and then RF_open again.