2025-04-10 4:34 AM
I have a U575VIT and am using 4 banks of touch giving 12 channels.
When I use the device configuration tool to configure it calculates the number of banks used to be 9 but should be 4?
It is defined in tsl_conf.h:
/** Total number of channels in application (range=1..255)
*/
#define TSLPRM_TOTAL_CHANNELS (12)
/** Total number of banks in application (range=1..255)
*/
#define TSLPRM_TOTAL_BANKS (9)
/** Total number of "Extended" TouchKeys in application (range=0..255)
*/
#define TSLPRM_TOTAL_TOUCHKEYS (0)
/** Total number of "Basic" TouchKeys in application (range=0..255)
*/
#define TSLPRM_TOTAL_TOUCHKEYS_B (12)
/** Total number of "Extended" Linear and Rotary sensors in application (range=0..255)
- Count also the 1-channel linear sensor used as TouchKey
*/
If I change the allowable limit to 9 (from 8) then it all works fine.
#if ((TSLPRM_TOTAL_BANKS < 1) || (TSLPRM_TOTAL_BANKS > 9))
#error "TSLPRM_TOTAL_BANKS is out of range (1 .. 8)."
#endif
Anyone have any ideas?
2025-04-16 4:07 AM - edited 2025-04-16 4:10 AM
Hello @DarrylStrong,
This issue was spotted previously with STM32U0 (Internal ticket numbers: Ticket 181891, Ticket 194437).
It was corrected on U0 product, but the fix on the U5 is not yet implemented.
I will keep you updated!
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.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.