How go in VLLS0 for 100ms or 500ms with the RTC ?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How go in VLLS0 for 100ms or 500ms with the RTC ?

790 次查看
samuelboivineau
Contributor III

Hello,

I am working on the K64 with MQX and the HAL provided by Freescale/NXP. I would like to go to sleep for [100 - 500] ms and then wake up, but the RTC_DRV_SetAlarm function only seems to accept a resolution of 1 sec.

Can anybody point me to any other possibility to increase this resolution ?

Thanks for your help !

0 项奖励
回复
1 回复

715 次查看
DavidS
NXP Employee
NXP Employee

Hi Samuel,

The RTC will not give resolution less than 1 second.

Please look at the following example that uses the lptimer:

C:\Freescale\Freescale_MQX_4_2\mqx\examples\lowpower

You should be able to get less than 1 second resolution with lptimer.

Regards,

David

0 项奖励
回复