Wake up from DeepSleep mode with UART and GPIO for CY8CKIT-145-40XX

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

cross mob
lock attach
Attachments are accessible only for community members.
YoIs_1298666
Level 5
Level 5
250 sign-ins 100 replies posted 100 sign-ins

Hello,

This is a sample code for wakeup from DeepSleep using UART for CY8CKIT-145-40XX.

However, it is woken up by GPIO interrupt.

You need to have 4 pull-up resistors shown in blue wiring.

YoIs_1298666_0-1615799277469.pngYoIs_1298666_1-1615799300156.png

[How to operate]

Set the terminal software of your PC as follows.

YoIs_1298666_2-1615799351131.png

- Into DeepSleep mode

   If you send data with the terminal software after pressing SW2, it will be in Deep Sleep mode.

- Wake up from DeepSleep mode

  It wakes up when you send data from the terminal software while in DeepSleep mode.

  When 0x00 data is received, it wakes up, but the data does not enter the receive buffer.

  When it receives anything other than 0x00 data, it wakes up, but the data in the receive buffer is unreliable.

 

Best regards,

Yocchi

0 Likes
1 Reply
Aashita_R
Moderator
Moderator
Moderator
50 likes received 100 solutions authored 250 replies posted

Hi @YoIs_1298666 ,

Thanks a lot for sharing this example project with the community. This will be very beneficial to our community users .

Best Regards,
Aashita

0 Likes