Question
stm32F051 Touch TSC with cubeMX
Posted on November 20, 2014 at 10:33
Hello,
i try to develop a touch interface with the stm32f051 and want to use the stm32CubeMX Software. I want to do it with an interrupt and have the generated code in my IAR. My question is, where i can found a tutorial/dokumentation how to implement a scan which touchbutton is pressed. I found a lot for TSL (Library) but not for TSC which use the library but use other functions/names. I think the treshhold voltage is initializise in the init-function so i have in the interrupt only to check if a IO is high or low. I have the code for the Touch sensing interrupt:void TSC_IRQHandler(void){
} I've found this post:
/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Touch%20Sensing%20on%20STM32F0&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B¤tviews=1340
The point is, i don`t know the syntax i need to scan my input like:if (button_1){ ..} PA0 and TSC_G1_IO1 aren't known in my project but stands as comments in the TSC.c.
Can anyone give me a tip or a link?
#touch-tsc-f0