It’s weird that no body in this comunity asked about this very common function that the STM32 comes with. Mbed docs did’t provide some simple intruction on how to use it.
Could you share with us a simple working example for Mbed 6.11.0 ?
You did not read carefully, because in the description of it you can found this note (on main page what you posted)
attempt at TSC on STM32L4. not working
However when you
Nice, so there is no issue and you know what you need to do. Mbed contains HALs for F0XX and you have access to all of them (HALs for TSC included).
You probably misunderstood something. Mbed’s API list exactly specified what APIs are provided. There no information about Display drivers , Touch screen drivers or similar things. So everything outside of this list is up to you and your implementation.
There are many more features that can be provided by any MCU but it is not possible to make support for everything.
Hi @JohnnyK, I understand that Mbed can’t provide full info about all microcontrollers for all functions. What is weird is that the Mbed community seems to be huge, but nothing about TouchSensing is in the forum or somewhere there, touch pads are now days a very basic thing that too many projects have.
I know that touchSensing has to be handled in a lower layer using HAL, the thing is that I have not clue how to start with.
I even tried to setup the basis with CubeMX to see how to start but they use a library “STM32_TouchSensing_Library” that of course it doesn’t compile in Mbed envirionment
The STM32CubeMx generates a basic code including that “STM32_TouchSensing_Library” lib, of course without any example. I think that the only way to make it work is trying to follow this :