4 posts / 0 new
Last post
ZhiGang
Offline
Last seen:5年11个月ago
Joined:2014-12-04 09:56
32K TIMER COUNT

We know in extend sleep, 32K is still alive, so If there a timer count register, I can read from API or direct from register? This count I will use to delay 1ms, or others .
Or if there some API, I can use to get 1-10ms tick count , It still work.

Timer0 and Timer2 will stop in extend sleep mode, So do not use it.

SSong_Dialog
Offline
Last seen:1 year 1 month ago
Staff
Joined:2014-11-20 07:01
Hi, thanks to your question.

Hi, thanks to your question.

Have you ever try API app_timer_set(MSG_ID, TASK_ID, delay); Delay design in unit of 10ms. once set delay as 1, your handler will get called after 10ms.

This API supposed working during extend sleep. In fact,this API derive clock from low frequence ( ext 32k crystal or etc)

SSong_Dialog
Offline
Last seen:1 year 1 month ago
Staff
Joined:2014-11-20 07:01
Hi, thanks to your question.

Hi, thanks to your question.

Have you ever try API app_timer_set(MSG_ID, TASK_ID, delay); Delay design in unit of 10ms. once set delay as 1, your handler will get called after 10ms.

This API supposed working during extend sleep. In fact,this API derive clock from low frequence ( ext 32k crystal or etc)

ZhiGang
Offline
Last seen:5年11个月ago
Joined:2014-12-04 09:56
Hi

Hi
I get some help form My FAE, thanks very much.