Capsense refresh rate

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

cross mob
dabo_4430311
Level 2
Level 2
10 replies posted 10 questions asked 10 sign-ins

Hi, I'm using the code capsense tuner through bluetooth with psoc 4 vb but we have a refresh rate in the tuner of around 5 packets/second, we tried to increase it by decresing the resolution, but then the performances decrease too much. We need a higher refresh rate because we need higher frequency data for data collection. is there a better way to increase the refresh rate? should we act on the bluetooth or on the capsense component?

thank you

0 Likes
1 Solution
BragadeeshV
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

Hi dabo_4430311​,

The refresh rate of the Tuner is independent of the CapSense tuning parameters. Tuner is only a graphical viewing tool to monitor and Tune CapSense data. Changing the CapSense parameters will not affect / modify the refresh rate.

The refresh rate of the tuner is governed by the speed at which your firmware runs (CPU speed), rate at which the buttons are scanned, the BLE throughput and the integrity of the message packets received by Tuner.

Have you added any other functionality other than the Tuning Over BLE design? We recommend you to use Tuning Over BLE portion of the design as an conditional compilation. It is not required to send CapSense data structure over BLE when the normal application is running.

In case you want higher refresh rates, you can switch to Asynchronous mode in the Tuner. This will make the communication faster between the Tuner and the PSoC device since the communication is one way. But note that you will not be able to modify the hardware tuning parameters (Resolution, Fsw etc)in async mode. Switch to sync mode just to change the tuning parameters.

Regards,

Bragadeesh

Regards,
Bragadeesh

View solution in original post

0 Likes
1 Reply
BragadeeshV
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

Hi dabo_4430311​,

The refresh rate of the Tuner is independent of the CapSense tuning parameters. Tuner is only a graphical viewing tool to monitor and Tune CapSense data. Changing the CapSense parameters will not affect / modify the refresh rate.

The refresh rate of the tuner is governed by the speed at which your firmware runs (CPU speed), rate at which the buttons are scanned, the BLE throughput and the integrity of the message packets received by Tuner.

Have you added any other functionality other than the Tuning Over BLE design? We recommend you to use Tuning Over BLE portion of the design as an conditional compilation. It is not required to send CapSense data structure over BLE when the normal application is running.

In case you want higher refresh rates, you can switch to Asynchronous mode in the Tuner. This will make the communication faster between the Tuner and the PSoC device since the communication is one way. But note that you will not be able to modify the hardware tuning parameters (Resolution, Fsw etc)in async mode. Switch to sync mode just to change the tuning parameters.

Regards,

Bragadeesh

Regards,
Bragadeesh
0 Likes