capsense not working other isr working

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

cross mob
dhsa_4485611
Level 1
Level 1
10 sign-ins 5 replies posted 5 questions asked

Hi all,

We are facing one issue of hanging touch panel.

When capsense is not working, other ISR is working.

How can I detect a fault in cap sense ?

How to get an error code in this situation?

How to solve this issue ?

0 Likes
1 Solution
Hari
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello @dhsa_4485611 

You can use either SmartSense or manual tuning, both tuning methods work. In SmartSense, the component takes care of tuning the sensors and setting the parameters. The limitation is that this works only in ideal conditions such as Cp < 65pF. In other challenging designs, we need to set manual tuning and tune the sensors as per requirement. You can take a look at our AN CapSense design guide for more details on SmartSense and Manual tuning. 

 

Please let us know the issue that you are facing. Is CapSense getting stuck, indicating that the button is active always? How did you determine the CapSense ISR is not working?

 

Best regards, 
Hari

View solution in original post

0 Likes
11 Replies
dhsa_4485611
Level 1
Level 1
10 sign-ins 5 replies posted 5 questions asked

What is the best configuration for cap sense ?

We are using manual tuner, is it best ?

or do we need to use smart sense ?

When using cap sense v7.

Screenshot (34).png

0 Likes
Hari
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello @dhsa_4485611 

You can use either SmartSense or manual tuning, both tuning methods work. In SmartSense, the component takes care of tuning the sensors and setting the parameters. The limitation is that this works only in ideal conditions such as Cp < 65pF. In other challenging designs, we need to set manual tuning and tune the sensors as per requirement. You can take a look at our AN CapSense design guide for more details on SmartSense and Manual tuning. 

 

Please let us know the issue that you are facing. Is CapSense getting stuck, indicating that the button is active always? How did you determine the CapSense ISR is not working?

 

Best regards, 
Hari

0 Likes

Hi sir,

our cap sense is not detecting any finger.

But when giving input from ISR of IR  & UART it is working.

We have created case 00631610.

Please reply as earlier as possible.

0 Likes
Hari
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi @dhsa_4485611 

 

Have you tried using CapSense Tuner to check how the sensors are responding? It could be as simple as a wrong threshold value that is set. 

 

If the issue is with the incorrect value of thresholds, then you can switch to manual tuning and set the right parameters and get it to work. We generally recommend using SmartSense to obtain the parameters and set them in manual tuning so that you can overtune the sensors if required. 

 

With 15pF capacitance, the sensors should work reliably even in smartsense, but we need to tuner waveforms to figure out what is happening.

 

Best regards, 
Hari

0 Likes
lock attach
Attachments are accessible only for community members.

Dear sir,

Please find attached the video of RAW count & threshold value.

0 Likes
Hari
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi @dhsa_4485611 

 

I am not able to view the video. Can you please send it again? I only require the raw count graph and the parameters, so a picture would be sufficient.

 

Thanks, 
Hari

0 Likes
lock attach
Attachments are accessible only for community members.

Please find attached video.

Or you can download it from a case we have created.

0 Likes
Hari
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi @dhsa_4485611 


Can you please let me know the issue? All the sensors seem to be working as expected. What error are you facing in the design?

 

Best regards,

Hari

0 Likes

Hi sir,

When we were using CapSense CSD P4, there was no issue in the field.

When we moved from CSD P4 to CapSense V7.

We are receiving a malfunction of PSoC4 on the same PCB . e.g: hang in capsense but still operatable with IR remote through IR sensor. we are facing this issue since we have moved to new library.

Help us out to find out the issue. i think there should be something wrong in your new library files like in changing of status of switch or something else. because we were using same hardware earlier with old library, at that time , no issues were there.

Also we have shared RAW count & Threshold is fine.

Thank You

0 Likes
Hari
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi @dhsa_4485611 

 

Yes, from the video shared, the raw count and baseline seem to be fine indicating CapSense is operating correctly. Was this graph obtained while the sensors were not functioning? If so, there is some error in the firmware logic. 

If not, we need the graph while the sensors were not working for further debug.

 

Best regards, 

Hari

0 Likes
dhsa_4485611
Level 1
Level 1
10 sign-ins 5 replies posted 5 questions asked

Our current pad have capacitance range from 7 pf to 15 pf.

 

0 Likes