2019-07-20 08:45 AM
I need to use Touch Sensing middleware on STM32L053R8.
Firstly, I chose G4_IO1 as Sampling, and I selected G4_IO2(as TouchKey). Secondly, I configured TOUCHSENSING middleware. I set the parameter TSLPRM_TOTAL_TOUCH_B as 1. Then, I want to set IO_TOUCH_KEY_B1 as G4_IO2, but it cannot be selected. Additionaly, after I unselect G4_IO2, the IO is available in settings of TOUCHSENSING. So after I made sure that G4_IO2 is available, I set IO_TOUCH_KEY_B1 as G4_IO2, and I select G4_IO2. But IO_TOUCHKEY_B1 showed an error. Same trouble occurs on other IOs.
Is this a bug of CubeMX? How can I solve this trouble?