cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1

MaMi_1205306
Honored Contributor

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

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

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