cancel
Showing results for 
Search instead for 
Did you mean: 

TSC peripheral - Linear Slider

marekvecera
Associate

Hello,

I have a board with a interlaced 4 segment capacitive slider, not half-ended, connected to channels G2-IO2, G3-IO2, G4-I02 and G5-IO2, so in the same bank but different groups, as it should be I suppose. Can anyone please tell me what comfigurations I have to set in the Touchsensing configuration to make it work as expected? There are option for M1, M2 and H sliders. I chose M1. Next I have to choose between Extended and Basic type. Extended works the best, but the measurements of the position are still a mess. Sliding a finger across the sensor registers maximum value in the middle as well as one end, so I have no idea what is going on. Also choosing the other options makes for example half of the sensor completely inactive, which is strange.
Did anyone work with this before? How did you do this? Any suggestion why it is not working properly?

Thanks for answers,
lost and confused engineering student.

1 REPLY 1
Stassen.C
ST Employee

Hello Marekvecera,

You can also have a look at AN5105. There are 2 examples working in pooling mode for slider and button based on DISCO-F072B&L0538. See chapters 7.2 and 7.3.

As TSC peripheral is the same in L0, F0, F3, L4 software and design will be similar.

Even if DISCO-L0538 include a slider, this slider is used as 3 buttons for test purpose only.

 

Regards,
Stassen

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.