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.

CC2640: Question regarding the CC2640 / CC2650 Device Control Panel (SmartRF Studio 7) Features

Part Number: CC2640
Other Parts Discussed in Thread: CC2650

I have a question regarding the CC2640 / CC2650 Device Control Panel (SmartRF Studio 7) Features:

We can use the modes "Packet Tx" or "Packet Rx" in SmartRF Studio to send a certain number of packets via fixed channels and collect RSSI samples.

This feature I would like to install in a test firmware on the CC2640.

However, unfortunately, I do not know how SmartRF Studio drives the chip, ie whether it is an embedded function in the "test host" firmware, or an external control via the JTAG port of the XDS110 On-Board Debugger ...

Can you help me with providing some information?

Is there perhaps a kind of short instructions how to get these features implemented quickly and easily in a firmware?

Or is this only possible via the debugger?

In this case, it would be a good to receive a recommendation on  how one can collect individual RSSI samples on selectable channels, independent of Advertisement Mode or Connection Mode.

  • Hello Roy,

    SmartRF Studio 7 uses JTAG to control the RF Core directly and does not require or use any firmware image running from flash memory.

    There are some proprietary RF driver examples in the TI-RTOS 2.21 SDK that you an take a look at.

    Best wishes
  • Dear JXS,

    Thank you for your prompt answer.

    Could you provide a bit more guidance, and specify on the RF driver examples in the TI-RTOS 2.21 SDK that are relevant?

    Best regards,

    Roy

  • Hi Roy,

    You should take a look at the examples here: dev.ti.com/.../

    Regards,
    Fredrik
  • Hi Fredrik,

    regarding the original questions from above:

    I used your link and when I download the examples file from "RF Packet RX"  (tirtos_cc13xx_cc26xx_2_21_00_06__win.zip) and want to import this into CCS it shows roughly 400 sample projects... Is that correct? How do I know which ones to import and which one does what?

    Besides, I thought about using the function HCI_LE_ReceiverTestCmd, but if I understand correctly I cannot get RSSI samples from every received packet and will not see how many packets have already been received, right?

    When the JTAG debugger can acquire these values then there must be a way to also do it from inside an embedded firmware, right?

    Cheers, David

  • Hi David,

    You need to import the project from CCS Resource Explorer using CCS 7.1+. Under tirtos_cc13xx_cc26xx_2_21_00_06, navigate to Development Boards, CC2650 LaunchPad and driver examples.

    Best wishes
  • Hi JXS,

    I have upgraded to CCS 7.2 and imported the file "tirtos_cc13xx_cc26xx_2_21_00_06" into Resource Explorer.

    Now I can browse to e.g. resources -> cc2650Launchpad -> driverExamples -> tiDriverExamples -> rfExamples  and then I see a list of numbered examples:

    com_ti_rtsc_tirtoscc13XX_CC26XX_example_255
    com_ti_rtsc_tirtoscc13XX_CC26XX_example_256
    com_ti_rtsc_tirtoscc13XX_CC26XX_example_257
    com_ti_rtsc_tirtoscc13XX_CC26XX_example_258
    com_ti_rtsc_tirtoscc13XX_CC26XX_example_259
    com_ti_rtsc_tirtoscc13XX_CC26XX_example_260
    com_ti_rtsc_tirtoscc13XX_CC26XX_example_261
    com_ti_rtsc_tirtoscc13XX_CC26XX_example_262
    com_ti_rtsc_tirtoscc13XX_CC26XX_example_263

    How should I know which example shows which kind of function?

    Apart from the above, the original question still is unanswered: Which function(s) can I use to realize the SmartRf Studio-alike operation, i.e. transmitting and receiving packets on random channels while counting received packets, determining the RSSI level and also defining the payload and access-address of the transmitted packets?

    Your help especially regarding the last part is strongly appreciated!

    Cheers, David

  • Hi David,

    You should see something like this in the CCS Resource Explorer:

    Can you post a screen shot if it's different on your end?

    Best wishes

  • Hi JXS,

    until yesterday I couldn't use Resource Explorer caused by our firewall settings. Therefore I tried to open the structure in Resource Explorer Classic, which looks like this:

    Now I got some updated network settings and can access the new resource explorer from there. So now I see what you showed.

    I'll try now if the RF Packet examples help.

    Thanks!