thanks for reply. but I am sure I have called codes below in the wake up callback function if(GetBits16(SYS_STAT_REG, PER_IS_DOWN)) periph_init(); arch_ble_force_wakeup(); arch_ble_ext_wakeup_off();.
I have got the same problem when wake up from the interruption of button press and try to call the function of lld_evt_time_get(), it always return the 0 values, is any way I can fix this problem?
Hi achao1104,
You can use this function while the BLE is up and running, perhaps the times you are calling it and returns 0 is because the BLE is down.
Thanks MT_dialog
thanks for reply.
but I am sure I have called codes below in the wake up callback function
if(GetBits16(SYS_STAT_REG, PER_IS_DOWN))
periph_init();
arch_ble_force_wakeup();
arch_ble_ext_wakeup_off();.
Hi DIalog,
I have got the same problem when wake up from the interruption of button press and try to call the function of lld_evt_time_get(), it always return the 0 values, is any way I can fix this problem?
Hi achao1104,
When issuing the command it doesn't mean that the ble will wake up instantly, it takes about 4-5ms until the waking up is completed.
Thanks MT_dialog