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.

CC1312R: Detect idle mode

Part Number: CC1312R

Hi,

simplelink_cc13x2_26x2_sdk_4_30_00_54 Collector example with Ti RTOS

I do not want my device to go into IDLE mode. I have set this in app.cfg:

Task.enableIdleTask = false;

How can I prove that idle is not being called? Unfortunately postNotifyFxn() does not seem to cover IDLE mode.

Many thanks,

Andy

  • Not sure I understand why you want to disable the IDLE task. The IDLE task has not anything to do with the different power modes of the device, and low power devices can be placed into lower power modes when the Idle thread runs (meaning the device will still enter for example Standby even if you have the IDLE task there). The idle task runs at the lowest priority and performs background tasks like system stack checking (if enabled), CPU Load determination (if enabled), etc.

    You can debug what tasks are running using the ROV (Runtime Object View).

    Please go through the following SLA's for more info:

    https://dev.ti.com/tirex/explore/node?node=AJ5GKtlWu9o0mNaNx6ItPQ__pTTHBmu__LATEST

    BR

    Siri

  • Hi,

    Thanks for your reply. In the past I have had issues with my SPI driver and power saving modes, namely the driver not responding quickly enough due to power up latency. I have disabled all power saving and idle mode too in app.cfg.

    I thought I was having issues again, but it turns out it was due to having a Launchpad connected for programming. This explains why I didn't see any issues when debug was running as it would be driving the lines. Now I have removed it, I no longer see the problem.

    Thanks,

    Andy