STM8-TOUCH-LIB STMicroelectronics, STM8-TOUCH-LIB Datasheet

no-image

STM8-TOUCH-LIB

Manufacturer Part Number
STM8-TOUCH-LIB
Description
STM8 touch sensing library
Manufacturer
STMicroelectronics
Datasheet

Specifications of STM8-TOUCH-LIB

Rc Acquisition
up to 24 keys and 2 wheels/sliders supported
Ct Acquisition
up to 16 keys and 2 wheels/sliders supported
Features
September 2010
For further information contact your local STMicroelectronics sales office.
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
– CT acquisition: up to 16 keys and 2
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
wheels/sliders supported
wheels/sliders supported
Doc ID 17896 Rev 1
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.
STM8 touch sensing library
STM8-TOUCH-LIB
www.st.com
Data brief
1/9
9

Related parts for STM8-TOUCH-LIB

STM8-TOUCH-LIB Summary of contents

Page 1

... For further information contact your local STMicroelectronics sales office. STM8-TOUCH-LIB STM8 touch sensing library 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 ...

Page 2

... wheels or sliders with a single hardware implementation (3 capacitive sensing channels) ● Number of capacitive sensing channels acquired simultaneously – channels on STM8L101x MCUs – channels on STM8L15x MCUs 2/9 ) and a load resistor (R X reaches a given threshold. The number of transfers S Doc ID 17896 Rev 1 STM8-TOUCH-LIB ). L ) and X ). This sequence is S ...

Page 3

... STM8-TOUCH-LIB 3 Library architecture Figure 1 shows the STM8-TOUCH-LIB firmware layers. Figure 1. STM8-TOUCH-LIB architecture Doc ID 17896 Rev 1 Library architecture 3/9 ...

Page 4

... MCU resources 4 MCU resources Table 1 shows the STM8 peripherals that are used by the STM8-TOUCH-LIB. Care must be taken when using them to avoid any misbehavior. Table 1. List of STM8 peripherals used by the STM8-TOUCH-LIB Peripheral GPIOs 16-bit timer with 8-bit prescaler (TIM2 or TIM3) 8-bit timer (TIM4) ...

Page 5

... STM8-TOUCH-LIB Table 3. STM8L15x resources used for CT acquisition WFQFPN28 Number of Usage available pins PA6 - 1 channel Group PA5 5 2 with 1 1 sampling PA4 4 capacitor PC7 - 1 2 channel Group PC4 with 1 2 sampling 2 capacitor PC3 PC2 27 3 cannot be used Group PD7 - 1 for ...

Page 6

... Sections counted for ROM: CODE_TSL_IO + CONST_TSL_IO + CONST_TSL + CONST_TSLMCK + CODE_TSL + CODE_TSLMCK RAM and ROM requirements Table 4 gives the RAM and ROM memory space required to use the STM8-TOUCH-LIB for RC acquisition. Table 4. Typical RAM and ROM memory space required for RC acquisition Configuration STM8S207 ...

Page 7

... STM8-TOUCH-LIB RAM and ROM requirements Table 4 gives the RAM and ROM memory space required to use the STM8-TOUCH-LIB for CT acquisition. Table 5. Typical RAM and ROM memory space required for CT acquisition Configuration STM8L101x 3x single-channel keys STM8L15X 10x single-channel keys STM8L15X 10x single-channel keys + ...

Page 8

... Revision history 6 Revision history Table 6. Document revision history Date 27-Sep-2010 8/9 Revision 1 Initial release. Doc ID 17896 Rev 1 STM8-TOUCH-LIB Changes ...

Page 9

... STM8-TOUCH-LIB Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to ST’s terms and conditions of sale. ...

Related keywords