CC3200 LPDS模式下的定时唤醒
请问一下,CC3200基于FREE-RTOS的SDK,想在LPDS模式下定时唤醒,因为有多个事件需要唤醒,现在用了cc_timer_start设置一个事件。
现在还需要另一个定时事件,用TIMERA0定时,但是只能在正常模式下才能定时,在LPDS模式下就定时不了了。
请问CC3200能否像CC2540那样,在低功耗模式下,仍然可以设置多个独立的定时事件,用来处理各种定时问题呢?
谢谢!
论坛有类似问题,解答请看这边: https://e2e.ti.com/support/wireless_connectivity/simplelink_wifi_cc31xx_cc32xx/f/968/t/366371
CC3200在LPDS模式下可以通过RTC和GPIO进行唤醒操作
State information is lost and only certain MCU-specific register configurations are retained. The MCU
can wake up from external events or by using an internal timer. (The wake-up time is less than 3 ms.)
Certain parts of memory can be retained while the MCU is in LPDS mode. The amount of memory
retained is configurable. Users can choose to preserve code and the MCU-specific setting. The MCU
can be configured to wake up using the RTC timer or by an external event on specific GPIOs defined in
Table 3-1 as the wake-up source
谢谢,问题已经解决了。
思路就是类似于CC254x那样,利用RTC时钟,自己写一个处理各种定时事件的函数。通过调用这个函数,计算最小的唤醒时间。
只是觉得有点奇怪,既然要做低功耗,为什么SDK不提供这个功能,像CC254x那样,就挺方便的。