I am configuring STM32F334 Nucleo board Touch sense through STM32CubeMX. Now I have configured 6 keys (3 each in group 5 and group 6). Channel 1 in both the groups are used as sampling IOs for their respective groups. The problem is that I'm able to obtain the acquisition values for one group only either Group 5 or Group 6 but not both together.
The main.c is file has been attached. Please help me out to configure both the groups together.
Thanks in advance.