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 !
The RTC will not give resolution less than 1 second.
Please look at the following example that uses the lptimer:
You should be able to get less than 1 second resolution with lptimer.