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: Executing Transmitter Test Command (CMD_TX_TEST) on CC2650 using TIMAC 1.5.2

Part Number: CC2650
Other Parts Discussed in Thread: TIMAC,

Hello,

I’m using TIMAC 1.5.2 on CC2650. I would like to perform a transmitter test using the Transmitter Test Command (CMD_TX_TEST) in my application.

  1. First, I want to set the Transceiver in send mode, by using the CMD_RADIO_SETUP command, to set the following parameters:

mode   = 0x02 (IEEE 802.15.4)

txMode = +5bBm

2. Second, I want to execute the CMD_TX_TEST with the following parameters:

config.bUseCw        = 0;                        // Send modulated signal

config.bFsOff          = 1;                        // Turn frequency synthesizer off after cmd

config.whitenMode = 1;                        // Default whitening

txWord                   = 0xAAAA;             // Value to send to the modem before whitening

syncWord              = 0x71764129;       // Sync word to use for transmitter

endTime                = 0;                         // Time to end the operation

 

Can someone tell me, how can I implement this RF Core commands in my application (using possibly existing TIMAC routines)?

Thank you for your help,

Rachenka  

 

  • Hello,

    can someone help me? I don't know how to implement it? 

    Can I use the MB_SendCommand() or should I use the RF Driver from the tirtos_cc13xx_cc26xx_2_21_00_06?

    Thank you for your help,

    Rachenka

  • Hello,

    Does anyone have any idea, how can I execute the commands CMD_RADIO_SETUP, CMD_FS and CMD_TX_TEST using TI RTOS 2.11?

    I tried to use the MB_SendCommand() function provided by the TIMAC Stack and to import the RF Drivers from TI RTOS 2.16.01.14, but neither of them helps.

    I'm stuck with this problem and unable to work :(

    Any help is appreciated.


    Thanks & Regards,
    Rachenka

  • Hi TI Support Community,

    To implement the transmitter test described above in my first post, I tried to use the APIs for CC26xx doorbell (defined in mb_patch.c), the APIs for CC26xx RF Core Hardware Abstraction Layer (rfHal.h) provided by TIMAC 1.5.

    To implement the transmitter test I call the following functions:

    void MSA_ExecuteTransmitterTest(void)

    // CMD_RADIO_SETUP: Radio Setup Command

      MB_SendCommand((uint32)&RF_cmdRS);

    // CMD_FS: Frequency Synthesizer Controls Command

      MB_SendCommand((uint32)&RF_cmdFs);

    // CMD_TX_TEST: Radio Transmiter Test Command

      MB_SendCommand((uint32)&RF_cmdTxTest)   

    }

     

    I define the RF commands as follows:

    // CMD_RADIO_SETUP: Radio Setup Command

    rfOpCmd_RadioSetup_t RF_cmdRS =

    {

       .rfOpCmd = CMD_RADIO_SETUP,    // radio command common structure

       .mode =  1,                            // W:  radio mode (BLE, 15.4, etc.)

       .reserved = 0,                       // unused

       .config = 8,                           // W:  bias, trim, FS power up, etc.

       .txPower = 0x9330,             // W:  IB, GC, tempCoeff

       .pRegOverride = NULL,       // W:  ptr to list of HW regs to override

    };

     

    // CMD_FS: Frequency Synthesizer Controls Command

    rfOpCmd_freqSynthCtrl_t RF_cmdFs =

    {

        .rfOpCmd = CMD_FS,            // radio command common structure

        .freq = 2405,                           // W:  frequency in MHz to tune radio to

        .fractFreq = 0,                        // W:  fractional freq (mod 64K) in MHz

        .synthCfg = 1,                        // W:  specify Tx/Rx and ref freq

        .calCfg = 0,                            // W:  calibration override

        .midPrecal = 0,                      // W:  mid calibration value

        .tdcPrecal = 0,                       // W:  TDC calibration value

    };

     

    // CMD_TX_TEST: Radio Transmiter Test Command

    rfOpCmd_TxTest_t RF_cmdTxTest =

    {

        .rfOpCmd = CMD_TX_TEST,       // radio command common structure

        .config = 8,                                   // W:  signal type = 0, whitening = 1, FS control = 1

        .reserved1 = 0,                            // unused

        .txWord = 0xAAAA,                     // W:  payload to use

        .endTrig = 1,                                // W:  end trig for Tx

        .syncWord = 0x71764129,          // W:  synchronization word

        .endTime = 0,                             // W:  time to end operation

    };

    Unfortunately, my implementation doesn’t work.

    Is there some example or documentation of such implementation or using of the MB_SendCommand? Can someone tell me what is wrong on my implementation? How can I implement the tranmitter test mode?

    Any help is appreciated.

    Thanks,

    Rachenka

  • Closing this thread, continuation here:

    e2e.ti.com/.../2276883