CENTROID 5x5 with 7 bits resolution

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

cross mob
dabo_4430311
Level 2
Level 2
10 replies posted 10 questions asked 10 sign-ins

Hi all!

I have been trying to increase the CapSense Tuner refreshing rate. The only way I found to do so was to lower the Scan resolution to 7 bits. However, this prevents me from using the 5x5 centroid. If I try to use it, the signal form two columns of my touchpad saturates to 50000 or more, and the cursor is not able to move outside those two columns. Any suggestions on how to solve this?

Thank you for your help

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

Hi dabo_4430311

To increase the Capsense tuner refresh rate, the firmware has to make sure that the Capsense_RunTuner() API is called at the refresh rate you require (assuming you are using the synchronized tuner operation).

It is not recommended to change the sensitivity of the CapSense tuner just to increase the tuner refresh rate.

You can make sure that there is no other firmware logic that is halting the tuner operation. No delay functions, no blocking statements, no critical sections in the code will help with the tuner operation.

Tune the sensors with a simple firmware, that just scans the sensors and reports it to tuner. Once the sensors are tuned as per the requirement, tuner can be disabled and all other application firmware can be enabled.

Could you let me know what rate you are observing now? In the bottom portion of the tuner, you can observe the refresh rate in packets per second.

pastedImage_0.png

Best regards,

Hari

View solution in original post

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

Hi dabo_4430311

To increase the Capsense tuner refresh rate, the firmware has to make sure that the Capsense_RunTuner() API is called at the refresh rate you require (assuming you are using the synchronized tuner operation).

It is not recommended to change the sensitivity of the CapSense tuner just to increase the tuner refresh rate.

You can make sure that there is no other firmware logic that is halting the tuner operation. No delay functions, no blocking statements, no critical sections in the code will help with the tuner operation.

Tune the sensors with a simple firmware, that just scans the sensors and reports it to tuner. Once the sensors are tuned as per the requirement, tuner can be disabled and all other application firmware can be enabled.

Could you let me know what rate you are observing now? In the bottom portion of the tuner, you can observe the refresh rate in packets per second.

pastedImage_0.png

Best regards,

Hari

0 Likes