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.
Keywords:
Device:
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:
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?
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