can CYW43907 be waked up from sleep mode by UART receiver interrupt

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lili_4421586
Level 2
Level 2
First like received Welcome!

Hi,

we are evaluating the CYW43907 power consumption. In our typical usage scenario, most of the time CYW43907 will be in sleep mode,  and some times host will send data to CYW43907 from UART. we found that when CYW43907 is sleeping, send data from UART didn't wake up it.

Can CYW43907 be waked up from sleep mode by UART receiver interrupt? and also can the UART receiver receive data when in sleep mode?

Thanks!

0 Likes
1 Solution
PriyaM_16
Moderator
Moderator
Moderator
250 replies posted 100 replies posted 50 replies posted

Hello,

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);

View solution in original post

2 Replies
PriyaM_16
Moderator
Moderator
Moderator
250 replies posted 100 replies posted 50 replies posted

Hello,

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);

Hello,

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?

0 Likes