yabo国际娱乐对话框半导体客户支持-扩展的年代leep interval https://support.dialog-semiconductor.com/resource-keywords/extended-sleep-interval en How to get the device stay in the extended sleep mode for longer time? https://support.dialog-semiconductor.com/how-get-device-stay-extended-sleep-mode-longer-time

Hi dialog,
I modified ble_barebone app by changing app_default_sleep_mode=ARCH_EXT_SLEEP_ON to work in extended sleep mode .Configured an gpio for led indication.
I have kept an LED to indicate whether the device is in active mode or sleep mode editing the arch_main.c as follow:

sleep_mode = rwip_power_down();
GPIO_SetActive(GPIO_CNXN_LED_PORT, GPIO_CNXN_LED_PIN);
if ((sleep_mode == mode_ext_sleep) || (sleep_mode == mode_deep_sleep)) {
//power down the radio and whatever is allowed
GPIO_SetInactive(GPIO_CNXN_LED_PORT, GPIO_CNXN_LED_PIN);
arch_goto_sleep(sleep_mode);

//wait for an interrupt to resume operation
WFI();
//resume operation
arch_resume_from_sleep();
I observe the LED stays on always. how to increase the sleep period?

Device: 
Wed, 06 Jul 2016 13:03:51 +0000 dhirajp15 4099 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/how-get-device-stay-extended-sleep-mode-longer-time#comments