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:
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