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.

CC2650: How to enable 2.4 GHz Continuous Wave mode without using TI-MAC stack

Part Number: CC2650

Using CC2650 pg-2.3. Using TI-RTOS / SimpleLink 2.11. Using IEEE 802.15.4 mode.

I need to enable Continuous Wave mode for factory testing.

I have verified that our proprietary designed board works okay, using SmartRF Studio 7.

In my code, I have issued the CMD_RADIO_SETUP, CMD_FS, and CMD_TX_IEEE radio commands.
They report a successful start (DONE_OK, DONE_OK, ACTIVE), but I do not get any output signal.

The external 24 MHz XTAL is running okay.

The first lines of code in my main() function are:

HWREG(PRCM_BASE + PRCM_O_RFCMODESEL) = PRCM_RFCMODESEL_CURR_MODE2;

SysCtrlPowerEverything();                    // Power up all chip peripheral modules.
Power_setConstraint(Power_SB_DISALLOW);      // Do not allow the chip to power down.

Are additional actions required?
Is there an example of how to enable the Continuous Wave mode? I need modulated and unmodulated variants.

  • Stephan,

    You have to use the RF_cmdTxTest command to produce a CW tone and then you have to call the abort command to stop it again. Here is an example of how to do it.

    Regards,
    /TA

    void
    RADIO_start_unmodulated_cw(unsigned long ul_Freq)
    {
    /* Request access to the radio */
    RF_Params_init(&rfParams);

    /* Request access to the radio */
    if (!rfHandle) {
    rfHandle = RF_open(&rfObject, &RF_prop, (RF_RadioSetup*)&RF_cmdPropRadioDivSetupCW, &rfParams);
    }

    /* Set the frequency */
    RADIO_change_frequency(ul_Freq);

    CW_CmdHandle = RF_postCmd(rfHandle, (RF_Op*)&RF_cmdTxTest, RF_PriorityNormal, NULL, 0);

    }
  • Have you read my question at all?

    I know this example and I know that works. However, I am using SimpleLink 2.11 shipped with TI-MAC 1.5.2, which does not include the new RF driver. Your example is based on SimpleLink 2.21, which does not work with TI-MAC 1.5.2 (believe me, I have tried). TI is not willing to upgrade the TI-MAC stack to SimpleLink 2.21 (or to TI-RTOS at all, or to CCS instead of IAR, for that matter). Therefore, I am forced to program the iron directly. I have issued the radio commands and they report back the correct status values. However, absolutely no radio signal comes out of the radio - not even a weak one. My guess is that the RF_open() function that you use in the example does something more to initialize the radio, but I do not know what it is.