Can a CapSense Button be used for ON/OFF

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

cross mob
antrc_3264986
Level 3
Level 3

I have a requirement to sleep and wake using a CapSense button. Is this possible? When pressed the only thing that can be running (almost everything is in sleep mode) is the CapSense button to wake.

0 Likes
1 Solution
RyanZhao
Moderator
Moderator
Moderator
250 sign-ins First question asked 750 replies posted

Hi Andrew,

Yes. It's possible. The work flow is much similar with your thought.

If there is no touch for a specified timeout, the chip will turn to low speed scan mode. Once the ganged button touched, the chip will turn back to fast speed scan(active) mode.

And we have some example code about it. For example:

http://www.cypress.com/documentation/code-examples/ce210488-lp-capsense-buttons

http://www.cypress.com/documentation/code-examples/ce214022-low-power-capsense-buttons

Thanks,

Ryan

View solution in original post

0 Likes
1 Reply
RyanZhao
Moderator
Moderator
Moderator
250 sign-ins First question asked 750 replies posted

Hi Andrew,

Yes. It's possible. The work flow is much similar with your thought.

If there is no touch for a specified timeout, the chip will turn to low speed scan mode. Once the ganged button touched, the chip will turn back to fast speed scan(active) mode.

And we have some example code about it. For example:

http://www.cypress.com/documentation/code-examples/ce210488-lp-capsense-buttons

http://www.cypress.com/documentation/code-examples/ce214022-low-power-capsense-buttons

Thanks,

Ryan

0 Likes