Product overview
Description
STMicroelectronics STM8-TOUCH-LIB is a touch sensing library that provides a complete robust free source-code solution to transform any 8-bit STM8 microcontroller into a capacitive touch sensing controller. This solution allows designers familiar with the use of standard microcontrollers to create higher-end human interfaces by replacing conventional electromechanical switches by touch sensing keys.
The STM8 touch sensing library is part of the application firmware. It allows combining various capacitive sensing touchkey, wheels or sliders with traditional MCU features (communications, control of LEDs, beeper or LCD) in the same application.
Two acquisition principles, RC and CT, are available and can be configured at compiling level. Both acquisition principles offer the same advanced processing algorithms to filter out noise and to compensate environmental parameters such as temperature, humidity, and power supply variation.
-
All features
- Complete C source code library with firmware examples for all STM8 microcontrollers
- Both resistor-capacitor (RC) and charge transfer (CT) acquisition principles supported
- Multifunction capability to combine capacitive sensing functions with traditional MCU features (communications, LED/beeper/ LCD control)
- Configuration of STM8 GPIO as touchkey
- Flexible touchkey/wheel/slider configuration and combination
- RC acquisition: up to 24 keys and 2 wheels/sliders supported
- CT acquisition: up to 16 keys and 2 wheels/sliders supported
- Acquisition, filtering and calibration functions
- Enhanced processing features for optimized sensitivity and immunity
- Touch-sensing user interface through firmware API for status reporting and application configuration
- MCU resources
- Minimized number of external components
- Reduced MCU memory space
- Up to 8-bit wheel/slider resolution with only three capacitive sensing channels
- Active shield feature
- Compliance with MISRA
- Compliance with Cosmic, IAR and Raisonance C compilers