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

cross mob

Constant “10” in the Fsw(max) equation - KBA234212

Constant “10” in the Fsw(max) equation - KBA234212

Community Manager
Community Manager
Community Manager
100 sign-ins 50 questions asked 50 sign-ins

Version: **

The maximum sense clock frequency [Fsw(max)] is calculated as follows:


 The selected sense clock frequency should be such that the sensor will charge and discharge completely in each sense clock period. The equation for the maximum sense clock frequency comes from the characteristics of the RC circuit.

In an RC circuit, it takes about 5 RC until the capacitor is completely discharged. Because the discharge is performed in half the time of one cycle, the time of one cycle is T = 2 * 5RC = 10RC; the frequency is calculated as 1 / T; therefore, it is 1/10 RC.

See AN85951 – PSoC™ 4 and PSoC™ 6 MCU CAPSENSE™ design guide for more information.