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?