Skip to main content
Visitor II
April 25, 2025
Question

Occasional jumps during TSC reading

  • April 25, 2025
  • 1 reply
  • 426 views

I am working on touch detection with STM32L412cbt6 MCU. I am reading from two channels via G1 of TSC and it is working fine. However, when I look at the other group (i.e. G2), there are fluctuations in both channels from time to time but these values ​​are very large (like 0-1500). I could not observe any situation that could cause this noise on the board. I checked the sampling capacitors with an oscilloscope and I could not see any difference with the working group. The sampling capacitor value was used as 47nF in both groups. This design was made by considering the design guidelines given by ST in my previous PCB design. While doing this work, I also tried it with ST's TSC library but these jumps occurred again. We cannot understand what is causing the problem at the moment.

    This topic has been closed for replies.

    1 reply

    ST Employee
    April 30, 2025

    Hello xx58,

    Did you check that you are not in the errata sheet scenerio? https://www.st.com/resource/en/errata_sheet/es0456-stm32l412xx422xb-device-errata-stmicroelectronics.pdf

    Regards,
    Stassen