You are here

PGA_Inv interaction with CapSense | Cypress Semiconductor

PGA_Inv interaction with CapSense

Summary: 1 Reply, Latest post by Jeffery Biss on 11 Feb 2017 01:57 PM PST
Verified Answers: 1
Last post
Log in to post new comments.
Jeffery Biss's picture
User
40 posts

I've attached some simplified code that exhibits what I think is odd behavior. If you run the code on the CY8CKIT-001 with the CY8C38 module installed you'll notice that when you touch a CapSense component the LED lights for a short period of time and it is identified on the display. Note that the PGA_Inv component is not started, it is commented out.

Now uncomment the PGA_Inv component and rebuild and run the project. Now, the LED blinks and the CapSense routines overwrite each other continuously. The PGA_Inv component must be triggering CapSense events.

Any idea as to what obvious thing I am missing?

Jeffery Biss's picture
User
40 posts

If anyone is experiencing continuous CapSense events being triggered for no apparent reason, try moving CapSense_start() and CapSense_InitalizeAllBaselines() to the point after all analog components have been started.

Log in to post new comments.