1 of 1 people found this helpful
Please refer the Powersave appnote available in WICED_SDK/43xxx_Wi-Fi/doc/WICED-Powersave-App-Note.pdf.
Kindly refer the section 2.3.3 for understanding the ways to get up from deepsleep. The External event using GPIOs(GPIO_0 – GPIO_15 except GPIO_13) can be used to wakeup from deep sleep.
You can use the following API for using the GPIO:
/** Enables an input GPIO pin to wakeup from Deep-Sleep
* @param[in] gpio : The gpio pin which will provide the interrupt trigger
* @param[in] trigger : The type of trigger (rising/falling edge, high/low level)
* interrupt handler
* @return WICED_SUCCESS : on success.
* @return WICED_ERROR : if an error occurred with any step
wiced_result_t wiced_gpio_deepsleep_wakeup_enable(wiced_gpio_t gpio, wiced_gpio_irq_trigger_t trigger);
Thanks. what I mean is sleep mode, not deepsleep mode.
Another question, when we configuring wake up from sleep(not deepsleep) mode by GPIO, the current consumed when sleeping is about 3~4mA, higher than using timer to wakeup, which is about 1mA. Why is the difference?