DA14585 and DA14586
5 months agoPosted by Jin-Hoon Kim 180 points 5 replies
I am trying to make a BLE sleep mode on for certain time period to reduce a power consumption.
Based on the DA14585 Datasheet I attached, there is instruction for program BLE sleep mode and wakeup in page 136 and 137.
As I understand, when I set the timing of BLE_WAKEUP_LP_IRQ generation by setting BLE_ENBPRESET_REG register, programming the sleep duration of the BLE using BLE_DEEPSLWKUP_REG, and finally setting BLE_DEEPSLCNTL_REG[DEEP_SLEEP_ON] register, I can make BLE sleep mode.
Based on this I can make the device goes into the BLE sleep mode, which stops advertising. However, even after sleep duration expired, the BLE does not wakeup.
I thought after the sleep duration expires, system automatically set BLE_WAKEUP_LP_IRQ interrupt to wakeup the device. Did I misunderstand?
Could you let me know how can I wakeup from the BLE sleep mode after programmed sleep duration?