HAL Library 23- TOUCH for STM32Fxxx

The TOUCH library is a “high” level library for touch operations. It requires low-level drivers for communication with your sensor/device, but for high level for user, always the same functions are used. This allows you flexibility between multiple low-level device drivers to be used with in your project if needed and also allows single lib to have the same features for all projects.

Library

Read more about new HAL libraries

Features

  • Custom selectable driver
  • Built-in drivers for STM32F429-EVAL and STM32F7-Discovery
  • Allows multi-touch up to 10 fingers
  • Allows rotation like LCD to have the same coordinates

Dependencies

  • HAL
  • TM
    • STM32Fxxx HAL
    • defines.h configuration file
    • TM I2C
    • TM TOUCH FT5336 for STM32F7-Discovery board
    • TM TOUCH TS3510 for STM32F429-EVAL board

Functions and enumerations

For all functions list, including setting up custom driver, please check my library API.

Example

Projects are available on Github, download all libraries below.

Icon
TM STM32 Libraries

STM32 libraries based on STM32Fxxx HAL drivers.

tilz0R

Owner of this site. Also electronic enthusiasts, web developer, 3D printer fan, handball player and more. Big fan of STM32F4 devices. In anticipation of the new Discovery board for STM32F7 lines.

You may also like...

Read before commenting!

Before you make a new comment, make sure you agree with things listed below:

  • - Read post to make sure if it is already posted what you are asking for,
  • - Make sure you have the latest version of libraries used in your project,
  • - Make a clean and grammatically correct written message,
  • - Report as many details as possible, including what have you done so far,
  • - Do NOT post any code here. Use Pastebin,
  • - Do NOT post any error codes here. Use Pastebin,
  • - Specify STM32Fxxx family and used Discovery/EVAL/Nucleo or custom made board,
  • - Make sure your clock is set correct for PLL,
  • - If you are using my HAL drivers, please check this post how to start.
Comment will be deleted on breaking these rules without notification!
  • Dario Gogliandolo

    Congratulations! Great work!

  • Pingback: All STM32 HAL libraries - STM32F4 Discovery()

  • Alejandro

    Hi, Great Work on this Libraries
    I tried the touch example on the F7 and F429 discovery boards but on the F429 the touch is not working, but it is working with the STD libraries

    What could be the problem?

  • Oguzhan

    This library is not work wiith STM32F429(not eval). It’ s gave ‘HardFault’ problem. Do you have any touch library with hal drivers?

    • I can guarantee it does work with eval board.Saying It’s gave “HardFault” problem means nothing to me. You can, however, check where HardFault occurs.