Capsense do not work after wakeup from deep sleep

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

cross mob
ZONDAR1
Level 2
Level 2
10 replies posted 5 questions asked 10 sign-ins

Hi,

I'm now using Capsense component on Psoc4s(CY8C4025LQS-S411).

When it wakes up from deep sleep, it sometimes works but sometimes doesn't.

I would appreciate it if you could help me.

Best regards,

ZONDAR

0 Likes
1 Solution
Hari
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi @ZONDAR1 

 

Please note that CapSense itself cannot be used to wake up a device from deep sleep. You need another wakeup source (typically a WDT so that you can wake up after a fixed time) so that the device is back to active mode and CapSense scan can be initiated. 

The place to call this would be after PROCESS_DATA. Once the processing is complete and if the sensors are not active, you can enter deep sleep, keeping the WDT as a wakeup source. 

 

This flow is explained in the CE210291 - PSoC® 4 CapSense® Low-Power One Button code example. 

 

Best regards, 
Hari

View solution in original post

0 Likes
4 Replies