cancel
Showing results for 
Search instead for 
Did you mean: 

STM8L151K4 Touch Sensing Problem

Dinh Vo
Associate
Posted on August 22, 2017 at 05:28

I have a problem with touch sensing on STM8L151K4, It is impossibe to increase number of touch key to 12.

I use sample project in STM8L_Touch_Lib and re-config the channel in 'tsl_user.h'. It work if i configure 6 keys but doesn't work if i configure 7,8,9,..keys.

Could anyone help me?

#stm8l-touch
2 REPLIES 2
Max
ST Employee
Posted on August 22, 2017 at 07:22

Hi Max,

I've checked.

If I configure to run with only 1 key, It work for all my touch key on my own board.

But when I try to group 6 keys into BANK0, and the others to BANK1, It do not work.

All key State is TSL_STATEMASK_OFF.

Here my code: 

https://drive.google.com/drive/folders/0B9dxb7x3wOyINzNqU1FraVRMRlk?usp=sharing

  

Would you show me what is wrong?