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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

800件の閲覧回数
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 返信

725件の閲覧回数
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 件の賞賛
返信