Active and Extended Sleep mode

Learn MoreFAQsTutorials

2 posts / 0 new
Last post
lewuyouc
Offline
Last seen:1 year 5 months ago
加入:2016-07-18 01:38
Active and Extended Sleep mode

Hi
I use SDK5.0.4 for DA14580 prox_reporter. In Active mode ,we use I2c interface get my acceleration sensor
and send data to my phone is normal. But in extended sleep mode,it work also normal(we do not stop advanced, Continue to get sensor data)
I do not the difference between Active mode and extended sleep mode about function? It seems they are the same except for current consumption.

I want to use acceleration sensor to Wake up extend sleep mode. I modify Button function, when acceleration interrupt outputs a high level signal,
the app_button_press_cb() and app_wakeup_cb() function not work.

Device:
PM_Dialog
Offline
Last seen:2 hours 56 min ago
工作人员
加入:2018-02-08 11:03
Hi lewuyouc,

Hi lewuyouc,

Could you please try to explain a bit more what you are trying to accomplish with the accelerometer and extended sleep mode? Except from the power consumption, when the device enters the extended sleep mode only the System RAM 42 kB & Retention RAM remain switched on. No matter which sleep mode is used, the DA1458x can be woken up in 2 ways:

  • Synchronously, via the BLE timer which can be programmed to wake up the system,
  • Asynchronously, via an external interrupt (input)

Please check the tutorial below for more information :

https://support.dialog-semiconductor.com/system/files/restricted/Training_04_sleep_modes_current_measurement_v1.0.pdf

Let me get back to your post and let me ask you some questions in order to understand what you would like to accomplish.

  • “我们不停止先进”

Could you please clarify ii? You mean that you don’t stop advertising, still sending the accelerometer’s data through notification and you go into the extended sleep mode between advertising intervals?

  • “I want to use acceleration sensor to Wake up extend sleep mode”

Do you want to go into permanent sleep mode, stop advertising and wake the dive up when you get a high-level interrupt?

Also, I would highly suggest you to have a look at the 583 IoT reference design application which wakes the device upon reception of a sensor interrupt.

//www.wsdof.com/iotsensor

Thanks, PM_Dialog