Dynamically change Capsense tuning mode

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

cross mob
TyFo_1975986
Level 1
Level 1

I would like my program to read a register that holds which of the three tuning modes it should be configured for and dynamically change which one it uses. Is this something that is possible or am I out of luck? I haven't found any documentation stating one way or the other yet.

0 Likes
1 Solution
Vison_Zhang
Moderator
Moderator
Moderator
First comment on KBA 750 replies posted 250 sign-ins

The tuning mode is not register-level configuration items, it is more like a firmware switch, controls which part of firmware/algorithm is enabled or disabled when compiling the firmware.  Switch tuning mode use firmware is theoretically feasible but you need to change the code architecture of component source code and this also consumes big size extra FLASH/SRAM, it is not a good idea to do that.

Why do you want to control the tuning mode dynamically, and what effect do you want to achieve?

View solution in original post

0 Likes
3 Replies
Vison_Zhang
Moderator
Moderator
Moderator
First comment on KBA 750 replies posted 250 sign-ins

The tuning mode is not register-level configuration items, it is more like a firmware switch, controls which part of firmware/algorithm is enabled or disabled when compiling the firmware.  Switch tuning mode use firmware is theoretically feasible but you need to change the code architecture of component source code and this also consumes big size extra FLASH/SRAM, it is not a good idea to do that.

Why do you want to control the tuning mode dynamically, and what effect do you want to achieve?

0 Likes

Thanks for the response. I figured I would have to somehow manually pull in the firmware for each tuning method. The idea was actually pushed to me, I didn't think it would be a good idea. There though is that the more flexibility we have, the better we will be later down the road. Which obviously isn't always the case.

They basically want to be able to configure as much as they can through the SMBus.

0 Likes

CapSense component allow you config almost all the key parameters (like idacs, thresholds, sense clocks) dynamically, but config tuning mode dynamically is not supported because it is not very practical actually, after decide which tuning mode to use, you don't need to change it usually. Myself i usually use "Manual Tuning mode + Enable Auto Calibration" combination.

0 Likes