Sleep mode wake up configuration

Learn MoreFAQsTutorials

5 posts / 0 new
Last post
Rajapurerohit
Offline
Last seen:4 months 2 weeks ago
Joined:2017-04-20 09:17
Sleep mode wake up configuration

Hello All,

I want to implement the sleep mode and wake up the algorithm in my project,

My logic is,

1) Keep the device advertising

2) And whenever there is battery low/ zero - send the device in sleep_mode [No advertising and no other activity]

3) And want to wakeup the device when the device is repowered and GPIO interrupt is detected

4) After the wakeup continue device advertising and again sleep when there is a low battery

I tried to implement the same but facing issue, either device is completely in a wakeup state or in a sleep state

Please help how can I go ahead with this logic implement.

Thanks and Regards

Rohit

Device:
PM_Dialog
Offline
Last seen:3 days 22 hours ago
Staff
Joined:2018-02-08 11:03
Hi Rajapurerohit,

Hi Rajapurerohit,

我来问你一点事情澄清。地方检察官14585 will be powered up through the battery? Which battery are you using in you project?

Thanks, PM_Dialog

Rajapurerohit
Offline
Last seen:4 months 2 weeks ago
Joined:2017-04-20 09:17
Hi PM_Dialog

Hi PM_Dialog

I am using DA14583 controller and using coin cell to power up the device.

Thanks in advance

Rohit

Rajapurerohit
Offline
Last seen:4 months 2 weeks ago
Joined:2017-04-20 09:17
Hi,

Hi,

Urgent,

Any updates?

Thanks and Regards

Rohit

PM_Dialog
Offline
Last seen:3 days 22 hours ago
Staff
Joined:2018-02-08 11:03
Hi Raju,

Hi Raju,

  1. In order to start advertising as soon as the device boots, you could put the user_app_adv_start() in the default_operation_adv callback function the user_callback_config.h header file. This is the default operation that we are using in our SDK examples.
  2. Regarding the DA14583 data sheep, the battery supply voltage (VBAT3V) should be between 2.35V and 3.3V. If the voltage on VBAT3V is less that 2.35V, the chip will not operate. Cold boot should not be performed if voltage is less than 2.5 V because of possible corruption during OTP data mirroring. To do so, the battery should no be less that 2.35V. You could use the ADC example of the SDK5 in order to measure the level of the battery.
  3. Can you please clarify what you mean with the battery repowering? Do you mean that you would like to recharge the battery?
  4. When the If the device is in sleep mode, you should periodically wake up using the app_easy_timer() in order to measure the battery.

Can you please let me know with the issues that you met either device is completely in a wakeup state or in a sleep state? What have you already implemented?

Thanks, PM_Dialog