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

cross mob

CapSense_Wakeup API for Sleep Functionality – KBA210732

CapSense_Wakeup API for Sleep Functionality – KBA210732

Anonymous
Not applicable

Version: *A

Translation - Japanese: スリープ機能用のCapSense_Wakeup API – KBA210732- Community Translated (JA)

Question:

How to use the CapSense® and the Sleep modes together in CapSense® CSD component? 

Answer:

The user modules will be started after the device wakes up from sleep. However, in PSoC 3, PSoC 4, and PSoC 5LP devices, CapSense has a special API – CapSense_Wakeup() that should be called after waking up from deep sleep power mode.

The difference between CapSense_Start() and  CapSense_Wakeup() is that the Start function will configure all the hardware connections and configuration of CapSense, and initialize the registers of the CapSense variables such as finger threshold, noise threshold, and debounce. Whereas, CapSense_Wakeup() function just restores the hardware connections and configuration of CapSense. The initialization of the variables after deep sleep might cause unexpected behavior in the CapSense functionality.

0 Likes
531 Views
Contributors