⚠️
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.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
Krixen
Offline
Last seen:3 years 9 months ago
加入:2015-09-28 16:27
Deep Sleep Mode Help

Hello,

I am programming the DA14580 for a project. For now, I am ONLY using the DA14580 as a microcontroller and leaving the bluetooth for later.

我有工作我想要的一切xcept I cannot figure out how to put the DA14580 into deep sleep mode (and have it wake-up from a time-out)

I want my device to come on twice a day (~12 hour sleep) and take measurements on wake-up (for about 15 minutes)

Is there an application note on this or can someone help?

thanks!

Device:
MT_dialog
Offline
Last seen:3 months 6 days ago
Staff
加入:2015-06-08 11:34
Hi Krixen,

Hi Krixen,

The sleep and wake up mechanism are part of the SDK and the BLE implementation, so you will have to take an SDK example or the template from the SDK in order to have the sleeping mecanism out of the box. Also you could use a BLE timer to wake up the device but the BLE timers aren't able in measuring 12 hours, the maximum time is about 5 minutes. So in the SDK you can set the app_default_sleep_mode to ARCH_DEEP_SLEEP_ON and the device will wake up and sleep in this mode, also be aware that in order to use deep sleep you need to burn your OTP with your image, since in every wake up the device is copying the OTP content in the sysram in order for the fw to execute, since when in deep sleep the sysram shuts down as well.

Thanks MT_dialog