Wake up from DeepSleep mode with UART 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.

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

YoIs_1298666_0-1615785623028.png

YoIs_1298666_0-1615795897067.png

 

[How to operate]

Set the terminal software of your PC as follows.

YoIs_1298666_2-1615785879342.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.

Unfortunately, the data received for wakup is unreliable.

Please see the wake up time TDEEPSLEEP in "PSoC 4 Serial Communication Block (SCB)" datasheet.

YoIs_1298666_0-1615789291967.png

 

for example:

   parity:none

    send data  ->  recieved data

     0x11                  0xf1

     0x32                  0x99

     0x00                  0xff

     0xff                    0xff

  parity:even

    send data  ->  recieved data

    0xff                     0x7f

note:

Since the communication settings of KitProg3 are as follows, it is not possible to send and receive by setting parity.

YoIs_1298666_3-1615786682851.png

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 informative  to all the community users here .

Best Regards,
Aashita

0 Likes