2 Replies Latest reply on Nov 12, 2019 5:36 PM by lili_4421586

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

    lili_4421586

      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!

        • 1. Re: can CYW43907 be waked up from sleep mode by UART receiver interrupt
          PriyaM_16

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

          1 of 1 people found this helpful
          • 2. Re: can CYW43907 be waked up from sleep mode by UART receiver interrupt
            lili_4421586

            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?