⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
wisilica
Offline
Last seen:9 months 3 weeks ago
加入:2015-03-17 08:16
Systick timer

Hi,

I am working on DA 14580 chipset, using SDK 5.0.4. I would like to know if the systick timer works when device is in extended sleep mode. Also, on resetting the device for switching from advertisement to scan, does the systick timer still runs, if created before ?

Thanks
Wisilica

Device:
MT_dialog
Offline
Last seen:1 month 2 weeks ago
工作人员
加入:2015-06-08 11:34
Hi wisilica,

Hi wisilica,

When the device goes to sleep the systick will stop operate and it will resume as soon as the device wakes up, that means that when the device goes to sleep it will retain the current value of the systick and will resume counting as soon as it wakes up, so for example if you set it up and never stop him that means that it will carry on counting down, issuing the interrupt and reload only while the device is awake. Regarding your latter question, the systick timer is irrelevant to the stack so after reseting the stack the systick interrupt should occur, without reseting it, as long as you stay awake.

Thanks MT_dialog