HI DAteam
i set
---------------------------------------------------------------------------------------------------------------
hw_wkup_init(NULL);
hw_wkup_set_debounce_time(32);
hw_wkup_configure_pin(HW_GPIO_PORT_4, HW_GPIO_PIN_1, true,HW_WKUP_PIN_STATE_HIGH);
hw_wkup_register_interrupt(wkup_handler, configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY);
---------------------------------------------------------------------------------------------------------------
and the wkup_handler is
----------------------------------------------------------------------------------------------------------------
空白wkup_handler (void) {
pm_system_wake_up();
hw_wkup_reset_interrupt();
}
----------------------------------------------------------------------------------------------------------------
i use "pm_set_sleep_mode(pm_mode_extened_sleep)" enter sleep mode ,
then i can'not wake up !
Is it wrong with me?
if i set wkup_handler as follows:
-----------------------------------------------------------------------------------------------------
空白wkup_handler (void) {
hw_cpm_reboot_system();
}
------------------------------------------------------------------------------------------------------
then i can "wake up",But this is not a real wake up. And this will cause the Bluetooth connection to be interrupted while sleeping.
I need to wake up the device normally. Can you give me some advice? thanks very much!
Hi There,
I would strongly recommend you to have a look at theExternal Interruption Tutorialfrom our support website in order to find steps for how to Set up the Wake-Up Timer. Could you please indicate if you followed the same steps? Also, which project of the SDK you are using?
Thanks, PM_Dialog
i use SDK is DA1468x_DA15xxx_SDK_1.0.14.1081
i use chip is DA14682
i use project is ble_sps_peripheral
YES i have followed the same steps, i just not use timer.
but i can't wake up and restoring previous work, i don't know why ,can you tell me why, please ,thanks!
Hi There,
You mentioned that you remove the BLE timer, so how do you want to wake up ?
Thanks, PM_Dialog