CapSense RAW Value always maximum | Cypress Semiconductor
CapSense RAW Value always maximum
i´m developing an application with CY8CKIT-042-BLE, a SSD1306 OLED-Display and a NXP PN512 NFC-Controller.
I ned three buttons for my application and i want to use CapSense for that.
I use the CapSense v3.0 component with PSoC Creator 3.3 SP2.
The Example "PRoC_BLE_CapSense_P4_OneButton" works fine to tune the CapSense button(s) with the Tuner Application.
But in my Application (not the same code for CapSense) the CapSense v3.0 component is not working correctly.
If i print out (over UART) the RAW Value of any CapSense button, the value is always the highest possible value.
I don´t came along with this faulty behavior.
Can anyone take a look in my source and can tell me what is wrong with my project?
Thanks in advance.
PS.: CapSense algorithm is in C file "buttons.c"