2014-07-20 06:58 AM
Hi all,
Where can I find more documentation on the STMTouch library? I have read UM1606 but don't get how it works.The manual says to start with one of the included example files but I cannot get them to work on the Discovery board. I am using the latest CooCox compiler. #stm32-discovery-touch2014-07-20 08:58 AM
STM32L1_Discovery_Firmware_Pack_V1.0.3\Projects\AN3413-Current_consumption_touch_sensing\src\tsl_user.c
2014-07-21 08:03 PM
Well yes I've already read through that and the STMTouch examples. I don't think that it properly explains how the touch library works - for example, what are the threshold values for? What is the ''shield'' setting and why is it different from one example to another? Should you put all your TKeys into one bank or should they be in separate banks? What about clocking, do you have to run HSI clock? if so, what speeds are acceptable? There are so many things not covered by the documentation.
Anyway, I have figured out why the demos wouldn't compile for me. It turns out that the CMSIS library in CooCox is an older version and has a few bugs and omissions. Now that it works, I can cut & paste it into my own application but it bothers me that there is this big chunk of code in my application and I don't adequately understand how it works.2019-02-25 02:00 AM
Download examples for dev board stm32f072: en.stm32snippetsf0.zip
TSC project egazample is very simple.
I could not compile SW4 project with Atolic ...
IAR project works without problem . main.c is good commented .