I'm trying to use TSC of my Nucleo-32 STM32F303 by changing TouchSensing_2touchkeys project of STM32Cube_FW_F3_V1.8.0 . I want to create one touch button and I try both TSC group 3 and TSC group 6 of my board . when I use group 3 it sets ISR register to 0x03 that means max count error has occurred and when I use group 6 it set ISR register to 0x01 even when I totally disconnected the board from sampling capacitor and electrode and it doesn't react to finger presence . I change following parameters from original TouchSensing_2touchkeys project :
sets number of channels , banks , objects and touch keys to 1 in tsl_conf.h .
remove all parameters related to second touch keys on tsl_user.c .
you could find modified project here .