cy8c4247lqi-bl483 capsense not working after deep sleep

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.
Anonymous
Not applicable

Do know why after going to deepsleep,  capsense not working.

   

If I comment out the //CySysPmDeepSleep(); all is function like it needed. But need to stay in deep sleep as much it can and then weekup,

   

scan capsense 2slide and react on it. After that is necessary to go to deepsleep as quick as possible.

   

Thank you

0 Likes
4 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Welcome in the forum.

   

Did you use the Capsense Sleep() and Wakeup() APIs?

   

What would help us to find the cause of the issue would be when you post your complete project, so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.

   

 

   

Bob

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Yes, used with no luck.

   

This project works like this now:

   

-When one fingher is prest on p2.2 and p2.3 on the pioneer board blue led is lighting. Red led is working to be shure that wdt realy intrerupt after 1,6s the mcu.

   

But, in this configuration do not working like we want to. Need to function on battery and for this purposse esential is to stay in deepsleep, and from watchdog intrerupt to scann for finger press and then go back to deep sleep.

   

just that.

   

Thank you for your support!

0 Likes
Anonymous
Not applicable

??

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

You will never get a position > 100, 100 is the maximum as defined in the slider configuration.

   

You both defined a 24MHz and a 32kHz crystal, but you do not really use them, check the clocks dialog.

   

Send CapS to sleep before ECO stop!

   

 

   

Bob

0 Likes