Is the external wake up the only way to wake up 14580 after falling into extended or deep sleep?

2 posts / 0 new
Last post
smdzjl007
Offline
Last seen:3 years 9 months ago
加入:2015-08-04 15:07
Is the external wake up the only way to wake up 14580 after falling into extended or deep sleep?

Hi Dialog Support,

After looking data sheet, 4.7.2 wake-up timer, it looks like wake up timer only works after pre-defined number of GPIO event, can I understand that external wake up method is the only way to wake up 14580 after falling into extended or deep sleep (by configuration in user_config.h?

If there is no way for 14580 to wake up automatically without external events, it means that either one button or one motion sensor must be implemented within the board. Is my understanding correct? If not correct, what procedure should I follow in order to wake up 14580 without external dependency?

I tried to use app_easy_timer with my defined timer call back function, but it looks like this call function is never triggered after falling into sleep.

Looking for clarification and help!

Thanks & Best regards,
smdzjl

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

Hi smdzjl007,

There are two ways to wake up the 580, if it has fall to sleep,

  • The first one is via the wake-up timer which as you said you can set a number of GPIO events to count and eventually wake up.
  • The other way is via ke_timers (essentially BLE events that are preprogrammed before the device falls to sleep). So while you are awake and you set a timer, you program a future event to happen.

So about your question, it is possible to wake up your device with no external intervention via a kernel timer, please have in mind that the maximum time that a ke_timer can count is 5 minutes and the resolution of the timer is 10ms. How do you know that the device doesn't wake up ? What is the content of the callback and you can't see it executing (i mean do you toggle a LED or something like that) ? For example if you start advertising from that callback, are you able to see your device advertising ?

Thanks MT_dialog