Associate III
June 12, 2021
Solved
Touch sensing error under Cube IDE 1.6.1 on STM32L152
- June 12, 2021
- 5 replies
- 2087 views
The code generation of tsl_user.h from the .ioc file appears to be broken.
Firstly if you change the TS configuration in System Core, the updated configuration doesn't show up in Touchsensing middleware options until you have saved the .ioc file or closed and reopened it.
Secondly and critically the generated file doesn't reflect the configuration. Creating a system with four basic keys on Groups 1-4, it always configured Channel 0 as G2_IO2 even if that was not configured or was used elsewhere. Reducing this to a two-key system just using Groups 3&4 crashed Java, see attached files.
