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.

LAUNCHXL-CC1312R1: Set RF Frequency At Runtime (Continuous RX RSSI Measurements)

Part Number: LAUNCHXL-CC1312R1

Hi,

We are using TI15.4Stack collector-sensor example.

We would like to use CC1312 for continuous RX (the same way it is used in the Smart RF Studio software),

in order to measure the RSSI for a few seconds (for several different frequencies).

According to the RSSI we will choose the working frequency channel.

How can we set the CC1312 (collector and sensor) for a specific frequency and measure its RSSI (using continuous RX) at runtime?

Best Regards,

Dani

  • Hi Dani,

    Continuous RX is not something that is supported by the TI 15.4 Stack. But I guess that you could use the sensor/collector examples to do something close to what you need.

    By default, the CUI in the collector displays the channel and the RSSI for each message received.

    If you configure reporting interval to a more frequent value (e.g. 100 ms), it might be enough for what you need. You would then need to change channels manually with the CUI (or modify the examples to do this automatically) and see how the RSSI behaves for each channel.

    BR,
    Andres

  • Hi Andres,

    Thanks for your help and guidance.


    I changed "channel mask" in sensor.syscfg in order to disable all example code default channels, and set only Ch33 to be used by collector/sensors boards.

    Using a 3rd LAUCHXL-CC1312R1 board with Smart RF Studio in continuous RX mode, I tested the RF signal for Ch33 Freq,

    but none detected. While setting the frequency of the Smart RF Studio in continuous RX to Ch0 frequency, did show the RF signals

    of the sensor/collector boards.

    What am I missing?

    Why after disabling all channels, except Ch33, the collector/sensor still used Ch0 frequency?

    What is the best practice in order to set a specific working frequency for sensor and collector TI 15.4 Stack to use at runtime?

    Best Regards,

    Dani

  • Hi Dani,

    Just to clarify, you changed the channel configuration in both sensor.syscfg and collector.syscfg?

    Also, which operation mode are you using? Beacon, Non-Beacon, Frequency Hopping (unlikely)? I've never used Smart RF Studio to monitor the RF signals from the TI 15.4 stack, so I don't really understand what might be happening in your case.

    As far as I know, there isn't one. Usually, what happens is that several channels are enabled in the Channel Mask. Then every channel is scanned by the sensor and the best option is chosen. Of course this does not apply for Frequency Hopping mode.

    BR,
    Andres

  • Hi Andres,

    Yes, I changed channels  in both sensor.syscfg and collector.syscfg.

    I am working with Non-Beacon mode (FH is obviously not relevant).

    After checking and going through the code, I found that running the updated code (generated and download using CCS) does not update the new channels after booting/reset.
    In order for the new channel mask values to be updated, it is necessary to do NV clear to the board (Right key is pressed on power up, clear all NV ).
    Before NV clear the terminals output for collector and sensor for joining messages, showed the previous channel value, and after forcing NV clear, the joining messages showed the new channel. Also tested RF signal using Smart RF Studio in continuous RX mode for new channel frequency was successful.
    Is this the only way to set new channel mask?

    Best Regards,

    Dani