11 Replies Latest reply on Oct 17, 2015 6:09 PM by aadec_1416231

    Wakeup from Deep Sleep by BLESS will affect the Rx buffer size of UART.

      Hi everyone,


      I tested my BLE project in the CY8CKIT-042-BLE, I configured an UART and checked "Enable wakeup from Deep Sleep Mode"; Also I put the UART_Sleep() and UART_Wakeup() before/after the CySysPmDeepSleep()  in low power implementation.


      When the procedure exits from Deep Sleep by BLESS (I was sure that did not cause by Rx GPIO because the Rx GPIO was always HIGH on the oscilloscope), the UART_SpiUartGetRxBufferSize() will return 0x01, and UART_UartGetByte() will get the value 0xFF.


      For simplification, I created a simple project (BLE_Battery_Level) from the Code Example and put the necessary code to this example for testing, run it in the CY8CKIT-042-BLE and it got the same problem.


      (I have attached the archived file of this example.)


      I stuck in this problem a bit of time, has anyone can help me?




      Aaron Deng