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.

RTOS/CC3220MODA: cc3220 using wdt and lpds at the same time

Part Number: CC3220MODA

Tool/software: TI-RTOS

Hi,

I found some information about using wdt and lpds is a problem and i need to select one of them. But, i need a wdt so i have a timer callback to reset the device, and this timer get stuck sometimes. Maybe i can use a task or stg(having more priority than a timer callback) about this problem is there any ideas about this problem? 

And also, in this post i found this information: https://e2e.ti.com/support/wireless-connectivity/wifi/f/968/t/603691 

Please see the last post,  says changing the library can be ok, is it a solution? 

Thanks & Regards. 

Taylan.

  • Hi Taylan,

    Thanks for pointing out that old post of mine. The information in it is out of date as of SDK version 2.40.00.05.
    It is now possible to use the WDT and LPDS at the same time. The power drivers used to enter and exit out of LPDS have been modified to support automatic reinitialization of the CC3220 hardware WDT upon LPDS exit. In the past, the problem was that you would have to manually reinitialize the WDT yourself (and modify the WDT drivers to support that) every time you exited from LPDS since its state is cleared upon entry into LPDS.
    Take a look at the watchdog example in the SDK for an example of how LPDS is used concurrently with the WDT. The Power_enablePolicy() call turns on the ability for the TIRTOS kernel to enter LPDS, and you should see that at usleep() the device enters LPDS.

    Let me know if you need more clarification on running the WDT with LPDS, or if you have further questions.

    Regards,
    Michael
  • I will check and write a post again, because i think that is the first post about lpds and wdt can be used together :)
    Thank you,
    Taylan.
  • Hi Michael,
    Thank you for your support. As you mentioned, I can use WDT and LPDS together easily with simplelink_cc32xx_sdk_3_10_00_04.
    There was not any other post in the forum about that and wanted to share, maybe someone else needs.
    Regards,
    Taylan.