CapSense API - which function to read signals displayed in Tuner GUI

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

cross mob
Anonymous
Not applicable

Hi everyone,

   

can anyone tell me which API functions to use in order to get the signal values of the elements of a slider as displayed in the TUNER GUI?

   

I have scanned through the API, but all I can do is read whether the widget is active or not?

   

But how can I extract the signal (not the position or centroid?) without changing the configuration or updating the baselines?

   

Regards Julian

0 Likes
2 Replies
VenkataD_41
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi Julian,

   

One thing you can do is you can configure the slider sensor elements as the capSense buttons and use the APIs CapSense_GetSensorRaw() to read the rawcount data.

   

Regards,

   

Ganesh.

0 Likes
Yuva
Moderator
Moderator
Moderator
250 replies posted 250 sign-ins 100 solutions authored

Hi Julian,

   

You can use CapSense_GetDiffCountData(uint32 sensor) API to get the signal value for CSD 2.40 component and CapSense_GetParam() API incase of CSD 3.0 component.

   

Thanks,

   

Yuva.

0 Likes