PSoC5LP CapSense "Sensor Auto Reset" function

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

cross mob
MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

Hi,

We are considering using the Sensor Auto Reset function of CapSense component.

pastedImage_1.png

The data sheet has a description that is set 5 to 10 seconds.

Is it possible to change this time?

We would to set more than 10 seconds.

Regards,

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

Hi

It is not possible to change the time for Sensor auto reset.

You can however, achieve this through firmware by calling the CapSense_InitializeAllBaselines API if the sensor is active for a certain period.

You can use systick timer to measure the duration for which sensor is active and call the API when certain amount of time has elapsed.

Please refer this KBA for details on how to use systick timer to measure button press duration.

Measuring Duration of CapSense Button Press Using SysTickTimer - KBA226863

Thanks and regards

Harigovind

View solution in original post

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

Hi

It is not possible to change the time for Sensor auto reset.

You can however, achieve this through firmware by calling the CapSense_InitializeAllBaselines API if the sensor is active for a certain period.

You can use systick timer to measure the duration for which sensor is active and call the API when certain amount of time has elapsed.

Please refer this KBA for details on how to use systick timer to measure button press duration.

Measuring Duration of CapSense Button Press Using SysTickTimer - KBA226863

Thanks and regards

Harigovind

0 Likes