Announcements

Equip yourself to optimize PSoc4 MCUs for Evs at the EV Webinar. Click here to register.

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

PSoC™ 4 Forum Discussions

Doorknob
Level 4
Level 4
First solution authored 50 replies posted 25 replies posted

Using capsense on a new project but not matter what we have tried we can not get it to run on Button 1 P0(6) it is attached to.  Hoping to get some help as to why it does not work.

Below is Current:

Circuit.png

Below is PCB Layout:

PCB Layout.png

the layout has a shield grid but it is not shown.  Note Button 0 works fine and also the proximity, we just get crickets from Button 1.

I will also attach project.

0 Likes
3 Replies
Vison_Zhang
Moderator
Moderator
Moderator
250 solutions authored 10 likes given 500 replies posted

Please check the return value of CapSense_Start(), if return is 06, maybe the issue is caused by idac auto calibration failure.  Then you can try to downgrade CapSense component version from current v7_0 to v6_0 (Creator-->Project-->Update Components) , see if this can make buttons works. v7_0 used a new idac auto calibration algorithm which may cause calibrate failure on 3rd generation CSD block when sensor cp is low (<10pF).

If downgrade CapSense component version still cannot fix the issue, you may check if P0[6] is shorted to Power or Ground.

0 Likes

i tied downgrading the components but there still seems to be nothing happening with that sensor i have tried only operating that one sensor i have checked for shorts and open circuits ive check continuity and all that seems to checkout. im unsure what else could be going on. ill you plase help me debug this?

0 Likes

Hi,

I'm just curious but you are using 2 buttons for 2 elements

001-original.JPG

I wonder if you merged them in to 1 button with 2 elements,  will it make any difference?

002-merged.JPG

moto

0 Likes