xxxx-touch-lib STMTouch library Features Description

Size: px
Start display at page:

Download "xxxx-touch-lib STMTouch library Features Description"

Transcription

1 xxxxtouchlib STMTouch library Data brief Features Complete free C source code library firmware examples for STM8L, STM8TL5x, STM2Fxx, STM2Fxx and STM2Lxx microcontrollers Both surface Charge Transfer (CT) and ProxSense TM (PXS) acquisition principles supported Multifunction capability to combine capacitive sensing functions traditional MCU features Modular architecture allowing easy addition new acquisitions or sensors Acquisition, filtering and calibration functions Enhanced processing features for optimized sensitivity and immunity Environment Control System (ECS) Detection Time Out (DTO) Detection Exclusion System (DXS) Noise filter Flexible touchkey/linear/rotary touch sensors configuration and combination Unlimited number sensors supported Each sensor can have its own state machine Active shield feature Compliant MISRA Compliant Cosmic, IAR, Raisonance, Keil, Altium and Atollic C compilers Description STMicroelectronics touchsensing libraries provide a complete robust free sourcecode solution to be used on STM8L, STM8TL5x, STM2Fxx, STM2Fxx and STM2Lxx microcontrollers. This solution allows designers familiar the use standard microcontrollers to create higherend human interfaces by replacing conventional electromechanical switches by capacitive sensors. The xxxxtouchlib is part the application firmware. It allows combining various capacitive sensing touchkeys, linear or rotary touch sensors traditional MCU features (communications, control LEDs, beeper or LCD) in the same application. Two capacitive acquisition principles, surface Charge Transfer (CT) and ProxSense TM, are and can be configured at compiling level. Both acquisition principles fer the same advanced processing algorithms to filter out noise and to compensate environmental parameters such as temperature, humidity, and power supply variation. Note: ProxSense is a trademark Azoteq (Pty) Ltd. Reference xxxxtouchlib Table. Device summary Part number STM8LTOUCHLIB STM8TLTOUCHLIB 2FTOUCHLIB 2FTOUCHLIB 2LTOUCHLIB February 2 DocID29 Rev /59 For further information contact your local STMicroelectronics sales fice.

2 Contents xxxxtouchlib Contents ProxSense (PXS) acquisition principle Surface charge transfer (CT) acquisition principle STMTouch Library architecture MCU resources Touchsensing availability STM8L STM8L features STM8L touchsensing STM8TL5x STM8TL5x features STM8TL5x touchsensing STM2Fxx STM2Fxx features STM2Fxx touchsensing STM2Fxx STM2Fxx features STM2Fxx touchsensing STM2Lxx STM2Lxx features STM2Lxx touchsensing Memory footprint STM8L STM8TL5x STM2Fxx STM2Fxx STM2Lxx Revision history /59 DocID29 Rev

3 xxxxtouchlib List tables List tables Table. Device summary Table 2. List peripherals used by the STMTouch driver Table. Available touchsensing for STM8L Table. Available touchsensing for STM8L5x / STM8L6x (table /2) Table 5. Available touchsensing for STM8L5x / STM8L6x (table 2/2) Table 6. Available touchsensing for STM8TL5x Table 7. Available touch sensing for STM2F Table 8. Available touch sensing for STM2F5 and STM2F Table 9. Available touch sensing for STM2Fx Table. Available touch sensing for STM2F7x Table. Available touch sensing for STM2Lxx 52K Table 2. Available touch sensing for STM2Lxx 8K Table. Available touch sensing for STM2Lxx 256K (table /2) Table. Available touch sensing for STM2Lxx 256K (table 2/2) Table 5. Available touch sensing for STM2L5x 2K to 28K Table 6. STM8L memory footprint stware acquisition mode Table 7. STM8L5x memory footprint hardware acquisition mode Table 8. STM8L5x memory footprint stware acquisition mode Table 9. STM8TL5x memory footprint Table 2. STM2Fxx memory footprint Table 2. STM2Fx memory footprint Table 22. STM2F7x memory footprint Table 2. STM2Lxx memory footprint, example Table 2. STM2Lxx memory footprint, example Table 25. Document revision history DocID29 Rev /59

4 List figures xxxxtouchlib List figures Figure. STMTouch driver architecture Figure 2. STMTouch driver architecture /59 DocID29 Rev

5 xxxxtouchlib ProxSense (PXS) acquisition principle ProxSense (PXS) acquisition principle This peripheral operates in Projected mode which is used to measure the charge transferred by a driven electrode to a second electrode. This acquisition principle is only on STM8TL5x devices. For more information see the STM8TL5x Reference Manual (RM2). 2 Surface charge transfer (CT) acquisition principle The surface charge transfer acquisition consists in charging the electrode capacitance (C X ) and transferring part the accumulated charge into a (C S ). This sequence is repeated until the voltage across C S reaches a given threshold. The number transfers required to reach the threshold depends on the size the electrode capacitance. The CT acquisition can be managed in three different ways: using the touch sensing controller (TSC) on STM2Fxx and STM2Fxx devices using the routing interface (RI) only for STM8L and STM2Lxx devices stware acquisition using the routing interface (RI) and two 6bits timers for STM8L and STM2Lxx devices hardware acquisition. Please see the Table 2 for more details about the peripherals used. DocID29 Rev 5/59 58

6 STMTouch Library architecture xxxxtouchlib STMTouch Library architecture Note: The STMTouch Library is a package composed different elements: the STMTouch driver directory contains the firmware layer to perform the touchsensing acquisition and the sensors processing. This driver contains all the acquisitions for all supported microcontrollers. This is the core the STMTouch Library the STMTouch examples directory contains a set firmware examples to show how to use the STMTouch driver the Standard Peripherals driver directory contains the firmware layer to access the standard peripherals the CMSIS driver directory contains the Cortex microcontroller stware interface standard (STM2 only) the Utilities drivers directory contains the drivers to access for example the LCD on the evaluation boards. There is one STMTouch Library per microcontroller family (STM8L STMTouch Library, STM8TL5x STMTouch Library, STM2Fxx STMTouch Library, STM2Fxx STMTouch Library, STM2Lxx STMTouch Library...). Figure and Figure 2 show the STMTouch driver layers. Figure. STMTouch driver architecture 6/59 DocID29 Rev

7 xxxxtouchlib STMTouch Library architecture Figure 2. STMTouch driver architecture 2 DocID29 Rev 7/59 58

8 8/59 DocID29 Rev MCU resources Table 2 shows the peripherals that are used by the STMTouch driver. Care must be taken when using them to avoid any unwanted behavior. Peripheral Function Table 2. List peripherals used by the STMTouch driver STM8L CT stware STM8L CT hardware Device / Acquisition principle STM8TL5x PXS STM2Fxx CT STM2Fxx CT STM2Lxx CT stware STM2Lxx CT hardware GPIOs Acquisition Yes Yes Yes Yes Yes Yes Yes 8bit timer (TIM) Time base for ECS and DTO Yes Yes Yes No No No No Systick Time base for ECS and DTO No No No Yes Yes Yes Yes Routing interface (RI) Acquisition Yes Yes No No No Yes Yes ProxSense (PXS) Acquisition No No Yes No No No No Touchsensing controller (TSC) Acquisition No No No Yes Yes No No 2 x 6bit timers Acquisition No Yes (TIM2 and TIM) No No No No Yes (TIM9 and TIM) MCU resources xxxxtouchlib

9 xxxxtouchlib Touchsensing availability 5 Touchsensing availability 5. STM8L 5.. STM8L features Proven and robust surface charge transfer acquisition principle Supports up to 2 capacitive sensing Up to 8 capacitive sensing can be acquired in parallel fering a very good response time Hardware and stware managements the charge transfer acquisition sequence Programmable charge transfer frequency (for hardware management only) Programmable I/O Programmable channel I/O Programmable max count value to avoid long acquisition when a channel is faulty Dedicated end acquisition flag interrupt capability One for up to capacitive sensing to reduce the system components Compatible proximity, touchkey, linear and rotary touch sensor implementation DocID29 Rev 9/59 58

10 Touchsensing availability xxxxtouchlib 5..2 STM8L touchsensing The tables below provide an overview the touch sensing for the STM8L devices. Note: Note2: usage: For n in an I/O group, one is used as and n are used as. The I/O group cannot be used if the number in less or equal to one. The following tables are not restrictive in term part numbers supported by the STMTouch driver. The STMTouch driver can be used on any new device that may become as part ST microcontrollers portfolio. Please contact your ST representative for support. For n in an I/O group, one is used as and n are used as. The I/O group cannot be used if the number in less or equal to one. /59 DocID29 Rev

11 DocID29 Rev /59 I/O group Group Group2 Table. Available touchsensing for STM8L STM8L Packages TSSOP2 / UFQFPN2 UFQFPN28 UFQFPN2 / 2 Part numbers Gx_IOy GPIO TSSOP STM8LF[2]U UFQFPN STM8LF[2]P STM8LG[2]U G_IO PB G_IO2 PB 8 G_IO PD G_IO PD 9 G2_IO PB channel G2_IO2 PB G2_IO PD2 G2_IO PD 2 STM8LK[UT] Maximum number 2 s 6 2 s 6 2 s xxxxtouchlib Touchsensing availability

12 2/59 DocID29 Rev I/O group Group Group 2 Group Group Table. Available touchsensing for STM8L5x / STM8L6x (table /2) STM8L5F STM8L5G STM8L5K Packages UFQFPN2 / TSSOP2 UFQFPN28 / WLCSP28 UFQFPN2 / 2 Part numbers Gx_IOy GPIO STM8L5F[2]U () (UFQFPN) STM8L5F[2]P () (TSSOP) STM8L5G[6]U () (UFQFPN) STM8L5G[6]Y (WLCSP) G_IO PA6 6 G_IO2 PA5 cannot be used 5 D channel 5 for 2 G_IO PA touch sensing D G_IO PA7 G2_IO PC7 G2_IO2 PC 7 2 cannot be used 25 C2 channel 29 for 2 G2_IO PC touch sensing 2 A2 28 G2_IO PE7 G_IO PC2 cannot be used 2 B2 cannot be used 27 G_IO2 PD7 for for 2 G_IO PD6 touch sensing touch sensing 2 G_IO PD5 cannot be used channel 22 G_IO2 PD for 2 C 2 2 G_IO PB7 7 touch sensing 9 E 2 STM8L52K[6][UT] 2 2 channel 2 2 Touchsensing availability xxxxtouchlib

13 DocID29 Rev /59 I/O group Group 5 Group 6 Group 7 Group 8 G5_IO PB F 2 9 G5_IO2 G5_IO PB5 PB D D2 8 7 G6_IO PB 2 5 E2 2 6 G6_IO2 PB2 9 2 F2 5 G6_IO PB 8 G G7_IO PB 7 2 E G7_IO2 PD cannot be used F 2 2 for G7_IO PD2 touch sensing E G7_IO PE G8_IO PD 9 G2 G8_IO2 PD 6 9 cannot be used 8 G channel for 2 G8_IO PE5 touch sensing G8_IO PE Maximum number Table. Available touchsensing for STM8L5x / STM8L6x (table /2) (continued) STM8L5F STM8L5G STM8L5K Packages UFQFPN2 / TSSOP2 UFQFPN28 / WLCSP28 UFQFPN2 / 2 Part numbers Gx_IOy GPIO STM8L5F[2]U () (UFQFPN) 2 s. The product has an hardware acceleration cell for touch sensing. STM8L5F[2]P () (TSSOP) STM8L5G[6]U () (UFQFPN) STM8L5G[6]Y (WLCSP) 7 s STM8L52K[6][UT] cannot be used for touch sensing 7 s xxxxtouchlib Touchsensing availability

14 /59 DocID29 Rev I/O group Table 5. Available touchsensing for STM8L5x / STM8L6x (table 2/2) STM8L5K STM8L5C medium/medium+/high density STM8L5R/M STM8L52C/R/M STM8L62R/M STM8L5C low density Packages UFQFPN2 / 2 UFQFPN8 / 8 / 6 / 8 8 Part numbers Gx_IOy GPIO STM8L5KU () STM8L5K[6][UT] STM8L5C[68][UT] STM8L52C[68][UT] (8 ) STM8L5R[68]T STM8L52R[68]T STM8L62R8T (6 ) STM8L5M8T STM8L52M8T STM8L62M8T (8 ) G_IO PA Group G_IO2 PA G_IO PA G_IO PA7 (2) (2) (2) 8 G2_IO PC Group 2 G2_IO2 PC 29 channel G2_IO PC G2_IO PE7 (2) (2) (2) 8 STM8L5CT () Touchsensing availability xxxxtouchlib

15 DocID29 Rev 5/59 I/O group Group Group Group 5 Table 5. Available touchsensing for STM8L5x / STM8L6x (table 2/2) (continued) STM8L5K STM8L5C medium/medium+/high density STM8L5R/M STM8L52C/R/M STM8L62R/M G_IO PC G_IO2 PD G_IO PD G_IO PD G_IO2 PD G_IO PB G5_IO PB G5_IO2 PB G5_IO PB STM8L5C low density Packages UFQFPN2 / 2 UFQFPN8 / 8 / 6 / 8 8 Part numbers Gx_IOy GPIO STM8L5KU () STM8L5K[6][UT] STM8L5C[68][UT] STM8L52C[68][UT] (8 ) STM8L5R[68]T STM8L52R[68]T STM8L62R8T (6 ) STM8L5M8T STM8L52M8T STM8L62M8T (8 ) STM8L5CT () channel 2 2 xxxxtouchlib Touchsensing availability

16 6/59 DocID29 Rev I/O group Table 5. Available touchsensing for STM8L5x / STM8L6x (table 2/2) (continued) STM8L5K STM8L5C medium/medium+/high density STM8L5R/M STM8L52C/R/M STM8L62R/M G6_IO PB Group 6 G6_IO2 G6_IO PB2 PB G7_IO PB Group 7 G7_IO2 PD G7_IO PD G7_IO PE (2) (2) (2) 7 STM8L5C low density Packages UFQFPN2 / 2 UFQFPN8 / 8 / 6 / 8 8 Part numbers Gx_IOy GPIO STM8L5KU () STM8L5K[6][UT] STM8L5C[68][UT] STM8L52C[68][UT] (8 ) STM8L5R[68]T STM8L52R[68]T STM8L62R8T (6 ) STM8L5M8T STM8L52M8T STM8L62M8T (8 ) STM8L5CT () 2 Touchsensing availability xxxxtouchlib

17 7/59 DocID29 Rev I/O group Group 8 G8_IO PD G8_IO2 PD 9 channel G8_IO PE G8_IO PE (2) (2) (2) 8 Maximum number Table 5. Available touchsensing for STM8L5x / STM8L6x (table 2/2) (continued) STM8L5K 8 s. The product has an hardware acceleration cell for touch sensing. 2. This IO does not belong to the analog IO group. STM8L5C medium/medium+/high density STM8L5R/M STM8L52C/R/M STM8L62R/M 6 8 s STM8L5C low density Packages UFQFPN2 / 2 UFQFPN8 / 8 / 6 / 8 8 Part numbers Gx_IOy GPIO STM8L5KU () STM8L5K[6][UT] STM8L5C[68][UT] STM8L52C[68][UT] (8 ) STM8L5R[68]T STM8L52R[68]T STM8L62R8T (6 ) STM8L5M8T STM8L52M8T STM8L62M8T (8 ) STM8L5CT () 2 8 s Touchsensing availability xxxxtouchlib

18 Touchsensing availability xxxxtouchlib 5.2 STM8TL5x 5.2. STM8TL5x features Up to capacitive sensing composed 5 transmitters and 2 receivers up to Rx acquired in parallel Fast acquisition a typical scan time 25 μs for Rx Configurable internal (CS) Electrode Parasitic Capacitance Compensation (EPCC) to ensure the best sensitivity in all user environments RF noise detection, allowing to reject corrupted samples External trigger to desynchronize the acquisition from known noise Can be configured to return to low power mode between each conversion Acquisition possible in Run, Wait and Activehalt modes STM8TL5x touchsensing The table below provides an overview the touch sensing for the STM8TL5x devices. Note: Note2: The following table is not restrictive in term part numbers supported by the STMTouch driver. The STMTouch driver can be used on any new device that may become as part ST microcontrollers portfolio. Please contact your ST representative for support. For n in an I/O group, one is used as and n are used as. The I/O group cannot be used if the number in less or equal to one. 8/59 DocID29 Rev

19 xxxxtouchlib Touchsensing availability Table 6. Available touchsensing for STM8TL5x STM8TL5x Packages TSSOP2 UFQFPN28 UFQFPN8 Part numbers STM8TL52FP STM8TL5FP STM8TL52GU STM8TL5GU STM8TL5CU PXS function GPIO Receiver A () Receiver B () RXa RXa RX2a RXa 9 RXa RX5a 5 Receivers / Transmitters Receivers / Transmitters 2 2 RX6a RX7a RX8a 29 RX9a RXb RXb 6 RX2b 8 RXb 2 RXb Receivers / Receivers / 22 RX5b Transmitters Transmitters 2 RX6b 26 RX7b 28 RX8b RX9b 2 Receivers / Transmitters Receivers / Transmitters DocID29 Rev 9/59 58

20 Touchsensing availability xxxxtouchlib Table 6. Available touchsensing for STM8TL5x (continued) STM8TL5x Packages TSSOP2 UFQFPN28 UFQFPN8 Part numbers STM8TL52FP STM8TL5FP STM8TL52GU STM8TL5GU STM8TL5CU PXS function GPIO Transmitte r TX PD TX PD TX2 PD2 2 (2) 2 5 TX PD 2 (2) 2 6 TX PD 8 (2) 8 22 (2) 22 9 TX5 PD5 9 (2) 9 2 (2) 2 STM8TL52FP: STM8TL52GU: TX6 PD6 2 (2) 2 2 Transmitters 2 (2) 2 2 Transmitters TX7 PD7 27 (2) 27 2 STM8TL5FP: STM8TL5GU: TX8 PB 28 (2) 28 5 Transmitters 9 Transmitters TX9 PB TX PB2 5 TX PB 6 TX2 PB 7 TX PB5 8 TX PB6 Maximum number STM8TL52FP: 2 a RX*TX matrix STM8TL5FP: 25 a 5RX*5TX matrix STM8TL52GU: 25 a 5RX*5TX matrix STM8TL5GU: 72 a 8RX*9TX matrix 5 Transmitters a 2RX*5TX matrix. The receivers can also be used as transmitters. This is used to define the square matrix to address the maximum number (please refer to product datasheet for further information). 2. On STM8TL52 devices, this GPIO is present but does not support the PXS alternate function. 2/59 DocID29 Rev

21 xxxxtouchlib Touchsensing availability 5. STM2Fxx 5.. STM2Fxx features Proven and robust surface charge transfer acquisition principle Supports up to 2 capacitive sensing Up to 8 capacitive sensing can be acquired in parallel fering a very good response time Spread spectrum feature to improve system robustness in noisy environments Full hardware management the charge transfer acquisition sequence Programmable charge transfer frequency Programmable I/O Programmable channel I/O Programmable max count value to avoid long acquisition when a channel is faulty Dedicated end acquisition and max count error flags interrupt capability One for up to capacitive sensing to reduce the system components Compatible proximity, touchkey, linear and rotary touch sensor implementation DocID29 Rev 2/59 58

22 Touchsensing availability xxxxtouchlib 5..2 STM2Fxx touchsensing Note : Note2: The tables below provide an overview the touch sensing for the STM2Fxx devices. The following tables are not restrictive in term part numbers supported by the STMTouch driver. The STMTouch driver can be used on any new device that may become as part ST microcontrollers portfolio. Please contact your ST representative for support. For n in an I/O group, one is used as and n are used as. The I/O group cannot be used if the number in less or equal to one. 22/59 DocID29 Rev

23 2/59 DocID29 Rev Table 7. Available touch sensing for STM2F2 STM2F2 Packages TSSOP2 UFQFPN28 2 / UFQFPN2 WLCSP6 8 / UFQFPN8 Flash memory size =6K, 6=2K I/O group Group Group 2 Group Group Group 5 Part numbers STM2F2F[6] STM2F2G[6] STM2F2K[6] STM2F2T[6] STM2F2C[6] Gx_IOy GPIO availabl e UFQFP N G_IO PA F6 G_IO2 PA D G_IO PA E 2 G_IO PA F5 G2_IO PA () C G2_IO2 PA5 () D 5 G2_IO PA E 6 G2_IO PA7 F 7 G_IO /2 Cannot be 2 G_IO2 PB used for F 2 8 touch 2/ G_IO PB sensing F2 9 G_IO PB2 6 C2 2 G_IO PA9 7 (2) 9 (2) 9 9 D G_IO2 PA 8 (2) 2 (2) 2 2 D2 G_IO PA 7 (2) 9 (2) 2 2 C 2 G_IO PA2 8 (2) 2 (2) A G5_IO PB B 9 Cannot be G5_IO2 PB used for A touch G5_IO PB6 27 sensing C 2 G5_IO PB7 28 A 2 Touchsensing availability xxxxtouchlib

24 2/59 DocID29 Rev Group 6 Group 7 Group 8 not Maximum number Table 7. Available touch sensing for STM2F2 (continued) STM2F2 Packages TSSOP2 UFQFPN28 2 / UFQFPN2 WLCSP6 8 / UFQFPN8 Flash memory size =6K, 6=2K I/O group Part numbers STM2F2F[6] STM2F2G[6] STM2F2K[6] STM2F2T[6] STM2F2C[6] Gx_IOy GPIO availabl e UFQFP N Cannot be Cannot be Cannot be Cannot be used for used for used for used for touch Touch Touch Touch sensing sensing sensing sensing Cannot be Cannot be Cannot be Cannot be used for used for used for used for Touch Touch Touch Touch sensing sensing sensing sensing Cannot be Cannot be Cannot be Cannot be used for used for used for used for Touch Touch Touch Touch sensing sensing sensing sensing Cannot be used for Touch sensing Cannot be used for Touch sensing Cannot be used for Touch sensing 9 s 5 s / 5 s 5 s 5 s. This GPIO fers a reduced touch sensing sensitivity. It is thus recommended to use it as I/O. 2. pair PA/PA2 can be remapped instead pair PA9/PA using SYS_CTRL register. Touchsensing availability xxxxtouchlib

25 25/59 DocID29 Rev Table 8. Available touch sensing for STM2F5 and STM2F72 STM2F5/STM2F72 Packages 2/UFQFPN2 8 6 Flash memory size I/O group Group Group 2 Group Group Part numbers Gx_IOy GPIO STM2F5K[68] UFQFPN =6K, 6=2K, 8=6K, B=28K, C=256K STM2F5C[68B] STM2F72C[8B] STM2F5R[68B] STM2F72R[8B] G_IO PA G_IO2 PA G_IO PA G_IO PA G2_IO PA () 2 29 G2_IO2 PA5 () 5 2 G2_IO PA G2_IO PA G_IO PC5 / G_IO2 PB / G_IO PB G_IO PB G_IO PA G_IO2 PA G_IO PA G_IO PA STM2F5VB STM2F52V[8B] Touchsensing availability xxxxtouchlib

26 26/59 DocID29 Rev Table 8. Available touch sensing for STM2F5 and STM2F72 (continued) STM2F5/STM2F72 Packages 2/UFQFPN2 8 6 Flash memory size I/O group Part numbers Gx_IOy GPIO STM2F5K[68] UFQFPN =6K, 6=2K, 8=6K, B=28K, C=256K STM2F5C[68B] STM2F72C[8B] Group 5 G5_IO PB G5_IO2 PB G5_IO PB G5_IO PB Group 6 G6_IO PB 22 8 Cannot be G6_IO2 PB2 used for 25 5 touch G6_IO PB sensing G6_IO PB G7_IO PE2 Cannot be Cannot be Cannot be G7_IO2 PE used for used for used for 2 Group 7 Touch Touch Touch G7_IO PE sensing sensing sensing G7_IO PE5 G8_IO PD2 59 Cannot be Cannot be Cannot be G8_IO2 PD used for used for used for 6 Group 8 Touch Touch Touch G8_IO PD 6 sensing sensing sensing G8_IO PD5 62 Maximum number 2 8 s / 5 s 7 6 s 8 6 s. This GPIO fers a reduced touch sensing sensitivity. It is thus recommended to use it as I/O. STM2F5R[68B] STM2F72R[8B] STM2F5VB STM2F52V[8B] Touchsensing availability xxxxtouchlib

27 xxxxtouchlib Touchsensing availability 5. STM2Fxx 5.. STM2Fxx features Proven and robust surface charge transfer acquisition principle Supports up to 2 capacitive sensing Up to 8 capacitive sensing can be acquired in parallel fering a very good response time Spread spectrum feature to improve system robustness in noisy environments Full hardware management the charge transfer acquisition sequence Programmable charge transfer frequency Programmable I/O Programmable channel I/O Programmable max count value to avoid long acquisition when a channel is faulty Dedicated end acquisition and max count error flags interrupt capability One for up to capacitive sensing to reduce the system components Compatible proximity, touchkey, linear and rotary touch sensor implementation DocID29 Rev 27/59 58

28 Touchsensing availability xxxxtouchlib 5..2 STM2Fxx touchsensing Note : Note2: The tables below provide an overview the touch sensing for the STM2Fxx devices. The following tables are not restrictive in term part numbers supported by the STMTouch driver. The STMTouch driver can be used on any new device that may become as part ST microcontrollers portfolio. Please contact your ST representative for support. For n in an I/O group, one is used as and n are used as. The I/O group cannot be used if the number in less or equal to one. 28/59 DocID29 Rev

29 DocID29 Rev 29/59 I/O group Group Group 2 Group Group Table 9. Available touch sensing for STM2Fx STM2Fx Packages Part numbers Gx_IOy GPIO G_IO PA 7 STM2FK[68] STM2F2K[68] STM2FK[68] STM2FK[68] STM2FC[68] STM2F2C[68BC] STM2FC[68BC] STM2FC[68] availabl e STM2FR[68] STM2F2R[68BC] STM2FR[68BC] STM2FR[68] G_IO2 PA G_IO PA G_IO PA 7 26 G2_IO PA () G2_IO2 PA5 () G2_IO PA G2_IO PA G_IO PC5 G_IO2 PB 5 Cannot be used for touch sensing G_IO PB G_IO PB G_IO PA9 9 G_IO2 PA 2 69 G_IO PA G_IO PA STM2F2V[BC] STM2FV[BC] availabl e xxxxtouchlib Touchsensing availability

30 /59 DocID29 Rev I/O group Group 5 Group 6 Group 7 Group 8 G5_IO PB 26 9 G5_IO2 PB G5_IO PB G5_IO PB G6_IO PB 22 G6_IO2 PB2 Cannot be used for 25 5 touch sensing G6_IO PB G6_IO PB G7_IO PE2 G7_IO2 PE Cannot be used for Cannot be used for Cannot be used for 2 touch sensing touch sensing touch sensing G7_IO PE G7_IO PE5 G8_IO PD2 G8_IO2 PD Cannot be used for Cannot be used for Cannot be used for 6 touch sensing touch sensing touch sensing G8_IO PD 6 G8_IO PD5 62 Maximum number Table 9. Available touch sensing for STM2Fx (continued) STM2Fx Packages Part numbers Gx_IOy GPIO STM2FK[68] STM2F2K[68] STM2FK[68] STM2FK[68] STM2FC[68] STM2F2C[68BC] STM2FC[68BC] STM2FC[68] s 7 6 s 8 6 s 2 8 s. This GPIO fers a reduced touch sensing sensitivity. It is thus recommended to use it as I/O. availabl e STM2FR[68] STM2F2R[68BC] STM2FR[68BC] STM2FR[68] STM2F2V[BC] STM2FV[BC] availabl e Touchsensing availability xxxxtouchlib

31 DocID29 Rev /59. Table. Available touch sensing for STM2F7x STM2F7x Packages 8 6 / UFBGA Flash memory size I/O group Group Group 2 Group 8=6K, B=28K, C=256K Part numbers STM2F7C[8BC] STM2F7R[8BC] STM2F7V[8BC] Gx_IOy GPIO BGA G_IO PA 2 L2 G_IO2 PA 5 2 M2 G_IO PA K G_IO PA 8 26 L G2_IO PA 2 29 M G2_IO2 PA5 () K G2_IO PA6 () 6 22 L G2_IO PA7 2 2 M G_IO PC 2 K5 G_IO2 PC5 channel 25 L5 2 G_IO PB M5 G_IO PB M6 xxxxtouchlib Touchsensing availability

32 2/59 DocID29 Rev Group Group 5 Group 6 Table. Available touch sensing for STM2F7x (continued) STM2F7x Packages 8 6 / UFBGA Flash memory size I/O group 8=6K, B=28K, C=256K Part numbers STM2F7C[8BC] STM2F7R[8BC] STM2F7V[8BC] Gx_IOy GPIO G_IO PA D G_IO2 PA 69 C2 G_IO PA 6 72 A G_IO PA A G5_IO PB A8 G5_IO2 PB 56 9 A7 G5_IO PB B5 G5_IO PB B G6_IO PB 26 5 K G6_IO2 PB K G6_IO PD K9 G6_IO PD9 56 K8 BGA Touchsensing availability xxxxtouchlib

33 /59 DocID29 Rev Group 7 Group 8 G7_IO PE2 B2 G7_IO2 PE Cannot be used for Cannot be used for 2 A G7_IO PE touch sensing touch sensing B G7_IO PE5 C2 G8_IO PD2 59 J G8_IO2 PD Cannot be used for Cannot be used for 6 H2 G8_IO PD touch sensing touch sensing 6 H G8_IO PD5 62 H Maximum number Table. Available touch sensing for STM2F7x (continued) STM2F7x Packages 8 6 / UFBGA Flash memory size I/O group 8=6K, B=28K, C=256K Part numbers STM2F7C[8BC] STM2F7R[8BC] STM2F7V[8BC] Gx_IOy GPIO 6 s 7 6 s 2 8 s. This GPIO fers a reduced touch sensing sensitivity. It is thus recommended to use it as I/O. BGA Touchsensing availability xxxxtouchlib

34 Touchsensing availability xxxxtouchlib 5.5 STM2Lxx 5.5. STM2Lxx features Proven and robust surface charge transfer acquisition principle Supports up to capacitive sensing Up to capacitive sensing can be acquired in parallel fering a very good response time Hardware and stware managements the charge transfer acquisition sequence Programmable charge transfer frequency (for hardware management only) Programmable I/O Programmable channel I/O Programmable max count value to avoid long acquisition when a channel is faulty Dedicated end acquisition flag interrupt capability One for up to capacitive sensing to reduce the system components Compatible proximity, touchkey, linear and rotary touch sensor implementation /59 DocID29 Rev

35 xxxxtouchlib Touchsensing availability STM2Lxx touchsensing Note: Note2: The tables below provide an overview the touch sensing for the STM2Lxx devices. The following tables are not restrictive in term part numbers supported by the STMTouch driver. The STMTouch driver can be used on any new device that may become as part ST microcontrollers portfolio. Please contact your ST representative for support. For n in an I/O group, one is used as and n are used as. The I/O group cannot be used if the number in less or equal to one. DocID29 Rev 5/59 58

36 6/59 DocID29 Rev I/O group Group Group 2 Group Table. Available touch sensing for STM2Lxx 52K STM2Lxx 52K Packages 6 / WLCSP UFBGA2 Part numbers Gx_IOy GPIO STM2L5RE STM2L52RE STM2L62RE STM2L5VE STM2L52VE STM2L62VE WLCSP BGA STM2L5QE STM2L52QE STM2L62QE G_IO PA 2 K9 L2 G_IO2 PA 5 2 L9 M2 5 G_IO PA J8 K 6 G_IO PA () 7 26 H7 L 7 G2_IO G2_IO2 PA6 PA channel 2 H6 K7 channel L J5 2 G2_IO PF5 2 2 (2) J9 55 G2_IO G2_IO5 PG () PG () H9 G G_IO G_IO2 PB () PB J6 K6 2 M5 M6 6 7 G_IO PB M6 L6 8 G_IO G_IO5 PF PF2 K6 J7 9 5 STM2L5ZE STM2L52ZE STM2L62ZE (2) 5 Touchsensing availability xxxxtouchlib

37 DocID29 Rev 7/59 I/O group Group Group 5 Group 6 Table. Available touch sensing for STM2Lxx 52K (continued) STM2Lxx 52K Packages 6 / WLCSP UFBGA2 Part numbers Gx_IOy GPIO STM2L5RE STM2L52RE STM2L62RE STM2L5VE STM2L52VE STM2L62VE WLCSP STM2L5QE STM2L52QE STM2L62QE G_IO PA F 2 D 2 G_IO2 G_IO PA9 PA 2 68 F D 69 F2 C2 2 G5_IO PA E 2 A 2 5 G5_IO2 G5_IO PA PA D A 77 B A9 9 G6_IO PB 56 9 A5 A7 G6_IO2 PB A6 C5 5 G6_IO PB C5 B5 6 G6_IO PB C7 B 7 BGA STM2L5ZE STM2L52ZE STM2L62ZE 2 2 xxxxtouchlib Touchsensing availability

38 8/59 DocID29 Rev I/O group Group 7 Group 8 Group 9 G7_IO PB2 Table. Available touch sensing for STM2Lxx 52K (continued) 5 J STM2Lxx 52K Packages 6 / WLCSP UFBGA2 Part numbers Gx_IOy GPIO STM2L5RE STM2L52RE STM2L62RE STM2L5VE STM2L52VE STM2L62VE WLCSP G7_IO2 G7_IO PB PB J L K2 K 7 75 G7_IO PB5 6 5 (2) 5 K2 K 76 G7_IO5 G7_IO6 PG2 () PG () G F G7_IO7 PG () F 89 G8_IO PC 8 5 F6 H 26 G8_IO2 PC 9 6 H9 J2 27 G8_IO PC2 7 G9 J 28 G8_IO PC 8 G8 K2 29 G9_IO PC 2 L7 K5 channel channel G9_IO2 PC5 25 M7 L G9_IO PF K7 5 G9_IO PF J8 5 BGA L2 STM2L5QE STM2L52QE STM2L62QE 7 STM2L5ZE STM2L52ZE STM2L62ZE 5 (2) Touchsensing availability xxxxtouchlib

39 DocID29 Rev 9/59 I/O group Group Group G_IO PC6 7 6 H E2 96 G_IO2 PC7 8 6 G E 97 G_IO PC G2 E 98 G_IO PC9 66 F D2 99 G_IO PF6 G 8 Cannot Cannot G_IO2 PF7 G 9 be used be used G_IO PF8 for for H 2 touch touch G_IO PF9 J6 2 sensing sensing G_IO5 PF 22 Maximum number Table. Available touch sensing for STM2Lxx 52K (continued) 2 s 2 s STM2Lxx 52K Packages 6 / WLCSP UFBGA2 Part numbers Gx_IOy GPIO STM2L5RE STM2L52RE STM2L62RE STM2L5VE STM2L52VE STM2L62VE WLCSP STM2L5QE STM2L52QE STM2L62QE s. This GPIO fers a reduced touch sensing sensitivity. It is thus recommended to use it as I/O. 2. Not all the are simultaneously on this group.. This GPIO can only be configured as I/O when using HW acquisition mode and as channel I/O when using SW acquisition mode. BGA STM2L5ZE STM2L52ZE STM2L62ZE 5 s xxxxtouchlib Touchsensing availability

40 /59 DocID29 Rev I/O group Group Group 2 Group Table 2. Available touch sensing for STM2Lxx 8K STM2Lxx 8K Packages 6 / WLCSP6 UFBGA2 Part numbers Gx_IOy GPIO STM2L5RD STM2L52RD STM2L62RD WLCSP STM2L5VD STM2L52VD STM2L62VD BGA STM2L5QD STM2L52QD STM2L62QD G_IO PA F6 2 L2 G_IO2 PA 5 E6 2 M2 5 G_IO PA2 6 H8 25 K 6 G_IO PA () 7 G7 26 L 7 G2_IO G2_IO2 PA6 PA G5 G channel 2 channel L J5 2 G2_IO PF5 2 2 (2) J9 55 G2_IO G2_IO5 PG () PG () H9 G G_IO G_IO2 PB () PB H F M5 M6 6 7 G_IO PB2 28 H 7 L6 5 8 G_IO G_IO5 PF PF2 K6 J7 9 5 STM2L5ZD STM2L52ZD STM2L62ZD (2) 5 Touchsensing availability xxxxtouchlib

41 DocID29 Rev /59 I/O group Group Group 5 Group 6 Table 2. Available touch sensing for STM2Lxx 8K (continued) STM2Lxx 8K Packages 6 / WLCSP6 UFBGA2 Part numbers Gx_IOy GPIO STM2L5RD STM2L52RD STM2L62RD WLCSP STM2L5VD STM2L52VD STM2L62VD STM2L5QD STM2L52QD STM2L62QD G_IO PA8 E D 2 G_IO2 PA9 2 D2 68 D G_IO PA D 69 C2 2 G5_IO PA 6 D A 2 5 G5_IO2 PA 9 B2 76 A 9 G5_IO PA5 5 C 77 A9 G6_IO PB 56 B 9 A7 G6_IO2 PB5 57 A5 9 C5 5 G6_IO PB6 58 B5 92 B5 6 G6_IO PB7 59 C5 9 B 7 BGA STM2L5ZD STM2L52ZD STM2L62ZD 2 2 xxxxtouchlib Touchsensing availability

42 2/59 DocID29 Rev I/O group Group 7 Group 8 Group 9 G7_IO PB2 G2 Table 2. Available touch sensing for STM2Lxx 8K (continued) 5 STM2Lxx 8K Packages 6 / WLCSP6 UFBGA2 Part numbers Gx_IOy GPIO STM2L5RD STM2L52RD STM2L62RD WLCSP STM2L5VD STM2L52VD STM2L62VD G7_IO2 G7_IO PB PB 5 G F K2 K 7 75 G7_IO PB5 6 F 5 (2) 5 K 76 G7_IO5 G7_IO6 PG2 () PG () G F G7_IO7 PG () F 89 G8_IO PC 8 E8 5 H 26 G8_IO2 PC 9 F8 6 J2 27 G8_IO PC2 D6 7 J 28 G8_IO PC () F7 8 K2 29 G9_IO PC 2 H6 K5 channel channel G9_IO2 PC5 25 H5 L G9_IO PF K7 5 G9_IO PF J8 5 BGA L2 STM2L5QD STM2L52QD STM2L62QD 7 STM2L5ZD STM2L52ZD STM2L62ZD 5 (2) Touchsensing availability xxxxtouchlib

43 /59 DocID29 Rev I/O group Group Group G_IO PC6 7 E 6 E2 96 G_IO2 PC7 8 E2 6 E 97 G_IO PC8 9 E 65 E 98 G_IO PC9 D 66 D2 99 G_IO PF6 G 8 Cannot Cannot G_IO2 PF7 G 9 be used be used G_IO PF8 for for H 2 touch touch G_IO PF9 J6 2 sensing sensing G_IO5 PF 22 Maximum number Table 2. Available touch sensing for STM2Lxx 8K (continued) 2 s STM2Lxx 8K Packages 6 / WLCSP6 UFBGA2 Part numbers Gx_IOy GPIO STM2L5RD STM2L52RD STM2L62RD WLCSP 2 s s. This GPIO fers a reduced touch sensing sensitivity. It is thus recommended to use it as I/O. 2. Not all the are simultaneously on this group.. This GPIO can only be configured as I/O when using HW acquisition mode and as channel I/O when using SW acquisition mode. STM2L5VD STM2L52VD STM2L62VD BGA STM2L5QD STM2L52QD STM2L62QD STM2L5ZD STM2L52ZD STM2L62ZD 5 s Touchsensing availability xxxxtouchlib

44 /59 DocID29 Rev I/O group Group Group 2 Group Group Table. Available touch sensing for STM2Lxx 256K (table /2) STM2Lxx 256K Packages 8 or UFQFPN8 WLCSP6 6 / WLCSP6 Part numbers STM2L52CC STM2L5UC Gx_IOy GPIO WLCSP WLCSP G_IO PA E F6 G_IO2 PA G5 5 E6 G_IO PA2 2 H6 6 H8 G_IO PA () J7 7 G7 G2_IO PA6 6 G2_IO2 PA7 7 channel J5 channel 2 G G2_IO PF5 2 2 G2_IO PG (2) G 22 G5 G2_IO5 PG (2) G_IO PB () 8 G_IO2 PB 9 2 H 2 27 F G_IO PB2 2 G 28 H G_IO PF J 26 H G_IO5 PF2 G_IO PA E 2 E G_IO2 PA9 C 2 D2 G_IO PA D2 D STM2L5RC STM2L52RC STM2L62RC 2 channel 2 2 Touchsensing availability xxxxtouchlib

45 5/59 DocID29 Rev I/O group Group 5 Group 6 Group 7 G5_IO PA 2 C2 2 6 D G5_IO2 G5_IO PA PA5 7 8 C A2 9 5 B2 C G6_IO PB D 56 B G6_IO2 PB5 A5 57 A5 G6_IO PB6 2 B5 58 B5 G6_IO PB7 C5 59 C5 G7_IO PB2 25 Table. Available touch sensing for STM2Lxx 256K (table /2) (continued) G7_IO PB 27 F 5 F2 G7_IO PB5 28 F2 6 F G7_IO5 PG2 (2) G2 STM2Lxx 256K Packages 8 or UFQFPN8 WLCSP6 6 / WLCSP6 Part numbers STM2L52CC STM2L5UC Gx_IOy GPIO WLCSP G2 G7_IO2 PB 26 G G G7_IO6 PG (2) G7_IO7 PG (2) WLCSP STM2L5RC STM2L52RC STM2L62RC 2 Touchsensing availability xxxxtouchlib

46 6/59 DocID29 Rev I/O group Group 8 Group 9 Group Group G8_IO PC E6 8 E8 G8_IO2 PC E5 9 F8 G8_IO PC2 G7 D6 G8_IO PC G6 F7 G9_IO PC F 2 H6 G9_IO2 PC5 J channel 25 H5 2 G9_IO PF G9_IO PF G_IO PC6 Cannot be used for touch sensing F 7 E G_IO2 PC7 E 8 E2 G_IO PC8 D 9 E G_IO PC9 E2 D G_IO PF6 Table. Available touch sensing for STM2Lxx 256K (table /2) (continued) G_IO2 PF7 Cannot be used G_IO PF8 for G_IO PF9 touch sensing STM2Lxx 256K Packages 8 or UFQFPN8 WLCSP6 6 / WLCSP6 Part numbers STM2L52CC STM2L5UC Gx_IOy GPIO WLCSP G_IO5 PF WLCSP STM2L5RC STM2L52RC STM2L62RC 2 channel Cannot be used for touch sensing Touchsensing availability xxxxtouchlib

47 7/59 DocID29 Rev I/O group Maximum number Table. Available touch sensing for STM2Lxx 256K (table /2) (continued) 6 7 s STM2Lxx 256K Packages 8 or UFQFPN8 WLCSP6 6 / WLCSP6 Part numbers STM2L52CC STM2L5UC Gx_IOy GPIO WLCSP 2 s STM2L5RC STM2L52RC STM2L62RC 2 s. This GPIO fers a reduced touch sensing sensitivity. It is thus recommended to use it as I/O. 2. This GPIO can only be configured as I/O when using HW acquisition mode and as channel I/O when using SW acquisition mode. WLCSP Touchsensing availability xxxxtouchlib

48 8/59 DocID29 Rev I/O group Group Group 2 Group Group Table. Available touch sensing for STM2Lxx 256K (table 2/2) STM2Lxx 256K Packages / UFBGA UFBGA2 Part numbers Gx_IOy GPIO BGA STM2L5VC STM2L52VC STM2L62VC BGA STM2L5QC STM2L52QC STM2L62QC G_IO PA 2 L2 L2 G_IO2 PA 2 M2 M2 5 G_IO PA2 25 K K 6 G_IO PA () 26 L L 7 G2_IO PA6 L G2_IO2 PA7 2 M channel J5 G2_IO PF5 2 J9 (2) 55 G2_IO PG () H9 56 G2_IO5 PG () G9 57 G_IO PB () 5 M5 G_IO2 PB 6 M6 2 M6 7 G_IO PB2 7 L6 L6 5 8 G_IO PF K6 9 G_IO5 PF2 J7 5 L M5 G_IO PA8 67 D 2 D 2 G_IO2 PA9 68 D D G_IO PA 69 C2 C STM2L5ZC STM2L52ZC STM2L62ZC (2) 5 2 Touchsensing availability xxxxtouchlib

49 9/59 DocID29 Rev I/O group Group 5 Group 6 Group 7 Group 8 Table. Available touch sensing for STM2Lxx 256K (table 2/2) (continued) STM2Lxx 256K Packages / UFBGA UFBGA2 Part numbers Gx_IOy GPIO BGA STM2L5VC STM2L52VC STM2L62VC G5_IO PA 72 A 2 A 2 5 G5_IO2 G5_IO PA PA A A9 A A9 9 G6_IO PB 9 A7 A7 G6_IO2 PB5 9 C5 C5 5 G6_IO PB6 92 B5 B5 6 G6_IO PB7 9 B B 7 G7_IO PB2 5 L2 L2 7 G7_IO2 PB 52 K2 K2 7 G7_IO PB 5 K K 75 G7_IO PB5 5 K K 5 (2) 76 G7_IO5 PG2 () G 87 G7_IO6 PG () F9 88 G7_IO7 PG () F 89 G8_IO PC 5 H H 26 G8_IO2 PC 6 J2 J2 27 G8_IO PC2 7 J J 28 G8_IO PC 8 K2 K2 () 29 () BGA STM2L5QC STM2L52QC STM2L62QC STM2L5ZC STM2L52ZC STM2L62ZC 2 5 (2) Touchsensing availability xxxxtouchlib

50 5/59 DocID29 Rev I/O group Group 9 Group Group G9_IO PC K5 K5 G9_IO2 PC5 L5 channel L5 5 2 G9_IO PF K7 5 G9_IO PF J8 5 G_IO PC6 6 E2 E2 96 G_IO2 PC7 6 E E 97 G_IO PC8 65 E E 98 G_IO PC9 66 D2 D2 99 G_IO PF6 G_IO2 PF7 Cannot be used G 9 G_IO PF8 for H 2 G_IO PF9 touch sensing J6 2 G_IO5 PF 22 Maximum number Table. Available touch sensing for STM2Lxx 256K (table 2/2) (continued) 2 s G STM2Lxx 256K Packages / UFBGA UFBGA2 Part numbers Gx_IOy GPIO BGA STM2L5VC STM2L52VC STM2L62VC s. This GPIO fers a reduced touch sensing sensitivity. It is thus recommended to use it as I/O. 2. Not all the are simultaneously on this group.. This GPIO can only be configured as I/O when using HW acquisition mode and as channel I/O when using SW acquisition mode. BGA STM2L5QC STM2L52QC STM2L62QC 8 STM2L5ZC STM2L52ZC STM2L62ZC 5 s Touchsensing availability xxxxtouchlib

51 5/59 DocID29 Rev I/O group Group Group 2 Group Group Group 5 Table 5. Available touch sensing for STM2L5x 2K to 28K STM2L5x 2K to 28K Packages 8 / VFQFPN8 6 / BGA6 / BGA Part numbers Gx_IOy GPIO STM2L5C6 STM2L5C8 STM2L5CB STM2L52C6 STM2L52C8 STM2L52CB BGA STM2L5R6 STM2L5R8 STM2L5RB STM2L52R6 STM2L52R8 STM2L52RB G_IO PA G2 2 L2 G_IO2 PA 5 H2 2 M2 G_IO PA2 2 6 F 25 K G_IO PA 7 G 26 L G2_IO PA6 6 channel 22 G channel L 2 2 G2_IO2 PA7 7 2 H 2 M G_IO PB 8 channel 26 F5 channel 5 M5 2 2 G_IO2 PB 9 27 G5 6 M6 G_IO PA D D G_IO2 PA9 2 C7 68 D G_IO PA C6 69 C2 G5_IO PA 2 6 A A G5_IO2 PA 7 9 A7 76 A G5_IO PA5 8 5 A6 77 A9 BGA STM2L5V8 STM2L5VB STM2L52V8 STM2L52VB 2 2 channel channel 2 2 Touchsensing availability xxxxtouchlib

52 52/59 DocID29 Rev I/O group Group 6 Group 7 Table 5. Available touch sensing for STM2L5x 2K to 28K (continued) STM2L5x 2K to 28K Packages 8 / VFQFPN8 6 / BGA6 / BGA Part numbers Gx_IOy GPIO STM2L5C6 STM2L5C8 STM2L5CB STM2L52C6 STM2L52C8 STM2L52CB STM2L5R6 STM2L5R8 STM2L5RB STM2L52R6 STM2L52R8 STM2L52RB G6_IO PB channel 56 A channel 9 A7 2 2 G6_IO2 PB5 57 C 9 C5 G7_IO PB2 25 H8 5 L2 G7_IO2 PB 26 G8 52 K2 G7_IO PB 27 5 F8 5 K G7_IO PB F7 5 K BGA BGA STM2L5V8 STM2L5VB STM2L52V8 STM2L52VB 2 channel Touchsensing availability xxxxtouchlib

53 5/59 DocID29 Rev I/O group Group 8 Group 9 Group G8_IO PC 8 E 5 H G8_IO2 PC 9 E2 /2 6 J2 / G8_IO PC2 F2 7 J G8_IO PC 8 K2 G9_IO PC Cannot be used 2 H5 channel K5 G9_IO2 PC5 for 2 touch sensing 25 H6 L5 G_IO PC6 7 F6 6 E2 G_IO2 PC7 8 E7 6 E G_IO PC8 9 E8 65 E G_IO PC9 D8 66 D2 Maximum number Table 5. Available touch sensing for STM2L5x 2K to 28K (continued) 7 s STM2L5x 2K to 28K Packages 8 / VFQFPN8 6 / BGA6 / BGA Part numbers Gx_IOy GPIO STM2L5C6 STM2L5C8 STM2L5CB STM2L52C6 STM2L52C8 STM2L52CB BGA STM2L5R6 STM2L5R8 STM2L5RB STM2L52R6 STM2L52R8 STM2L52RB 2/9 s BGA STM2L5V8 STM2L5VB STM2L52V8 STM2L52VB 2 2 s channel Touchsensing availability xxxxtouchlib

54 Memory footprint xxxxtouchlib 6 Memory footprint The STMTouch driver memory footprint depends on the following parameters: acquisition principle (CT or PXS) C compiler and options: memory model, size or speed optimization number capacitive sensing, acquisition banks, sensor type (touchkey, linear or rotary). 6. STM8L The Cosmic STM8 C compiler v..6 has been used the following command line options: +modsl pxp +compact + split pp Table 9 shows the memory footprint taken by the STMTouch driver for different configurations. Table 6. STM8L memory footprint stware acquisition mode () Channels Banks Sensors ROM (Kbytes) RAM (bytes) 2 TKeys ~5. ~6. The content this table is provided for information purposes only Table 7. STM8L5x memory footprint hardware acquisition mode () Channels Banks Sensors ROM (Kbytes) RAM (bytes) TKey ~5.2 ~ 2 TKeys ~5. ~ 6 2 TKeys + linear + rotary ~7. ~5. The content this table is provided for information purposes only Table 8. STM8L5x memory footprint stware acquisition mode () Channels Banks Sensors ROM (Kbytes) RAM (bytes) TKey ~.6 ~ 2 TKeys ~.8 ~ TKeys + linear + rotary ~6.9 ~. The content this table is provided for information purposes only 5/59 DocID29 Rev

55 xxxxtouchlib Memory footprint 6.2 STM8TL5x The Cosmic STM8 C compiler v..6 has been used the following command line options: +modsl pxp +compact + split pp Table 9 shows the memory footprint taken by the STMTouch driver for different configurations. Table 9. STM8TL5x memory footprint () Channels Banks Sensors ROM (Kbytes) RAM (bytes) touchkey ~. ~7 touchkeys ~. ~ 9 9 touchkeys ~.7 ~ linearsch 2 linears5ch 6 touchkeys 2 linears5ch ~6.2 ~68 ~7.8 ~57. The content this table is provided for information purposes only 6. STM2Fxx The IAR ANSI C/C++ compiler V6.. for ARM has been used the following command line options: optimization highbalanced Table 2 shows the memory footprint taken by the STMTouch driver for different configurations. Table 2. STM2Fxx memory footprint () Channels Banks Sensors ROM (Kbytes) RAM (bytes) touchkeys ~.9 ~ linearch ~.9 ~ touchkeys linearch rotarych ~7.7 ~5. The content this table is provided for information purposes only DocID29 Rev 55/59 58

56 Memory footprint xxxxtouchlib 6. STM2Fxx The IAR ANSI C/C++ compiler V6.. for ARM has been used the following command line options: optimization highbalanced Table 2 and Table 22 show the memory footprint taken by the STMTouch driver for different configurations. Table 2. STM2Fx memory footprint () Channels Banks Sensors ROM (Kbytes) RAM (bytes) TKeys ~.2 ~2. The content this table is provided for information purposes only Table 22. STM2F7x memory footprint () Channels Banks Sensors ROM (Kbytes) RAM (bytes) TKeys ~. ~ Linearch ~. ~. The content this table is provided for information purposes only 56/59 DocID29 Rev

57 xxxxtouchlib Memory footprint 6.5 STM2Lxx The IAR ANSI C/C++ compiler V6.. for ARM has been used the following command line options: optimization highbalanced Table 2 shows the memory footprint taken by the STMTouch driver using the hardware acquisition mode (using Timers) on STM2Lxx Highdensity devices: Table 2. STM2Lxx memory footprint, example () Channels Banks Sensors ROM (Kbytes) RAM (bytes) TKeys ~6.2 ~7 Linearch ~7.2 ~6 6 TKeys Linearch Rotarych ~9. ~6. The content this table is provided for information purposes only Table 2 shows the memory footprint taken by the STMTouch driver using the stware acquisition mode on STM2Lxx Mediumdensity devices: Table 2. STM2Lxx memory footprint, example 2 () Channels Banks Sensors ROM (Kbytes) RAM (bytes) TKeys ~5.2 ~ Linearch ~6.2 ~2 6 TKeys Linearch Rotarych ~8.7 ~69. The content this table is provided for information purposes only DocID29 Rev 57/59 58

58 Revision history xxxxtouchlib 7 Revision history Table 25. Document revision history Date Revision Changes 2Dec22 Initial release. Apr2 2 Sep2 Feb2 Added support for STM2Fxx and STM2Lxx products. Updated Section 2: Surface charge transfer (CT) acquisition principle. Replaced everywhere in the document the single ordering code (old ordering code: STMTOUCHLIB) multiple ordering codes (new ordering codes: xxxxtouchlib). Updated document title. Added Table : Device summary. Added STM8L in Section : Description. Updated Section 2: Surface charge transfer (CT) acquisition principle. Updated Section : STMTouch Library architecture. Updated Table 2: List peripherals used by the STMTouch driver. Added package row in Table : Available touchsensing for STM8L5x / STM8L6x (table /2). Added package row in Table 5: Available touchsensing for STM8L5x / STM8L6x (table 2/2). Updated Table 7: Available touch sensing for STM2F2. Added Section 5.: STM8L. Added Section 6.: STM8L. Fixed footnote issues in Table 9, Table and Table. Updated all channel tables STM8L, STM2L and STM2F products. Added STM2F2 channel table Table 7: Available touch sensing for STM2F2 Added STM2Lxx 52K channel table Table : Available touch sensing for STM2Lxx 52K 58/59 DocID29 Rev

59 xxxxtouchlib Please Read Carefully: Information in this document is provided solely in connection 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, out notice. All ST products are sold pursuant to ST s terms and conditions sale. Purchasers are solely responsible for the choice, selection and use the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use the ST products and services described herein. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part this document refers to any third party products or services it shall not be deemed a license grant by ST for the use such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever such third party products or services or any intellectual property contained therein. UNLESS OTHERWISE SET FORTH IN ST S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. ST PRODUCTS ARE NOT DESIGNED OR AUTHORIZED FOR USE IN: (A) SAFETY CRITICAL APPLICATIONS SUCH AS LIFE SUPPORTING, ACTIVE IMPLANTED DEVICES OR SYSTEMS WITH PRODUCT FUNCTIONAL SAFETY REQUIREMENTS; (B) AERONAUTIC APPLICATIONS; (C) AUTOMOTIVE APPLICATIONS OR ENVIRONMENTS, AND/OR (D) AEROSPACE APPLICATIONS OR ENVIRONMENTS. WHERE ST PRODUCTS ARE NOT DESIGNED FOR SUCH USE, THE PURCHASER SHALL USE PRODUCTS AT PURCHASER S SOLE RISK, EVEN IF ST HAS BEEN INFORMED IN WRITING OF SUCH USAGE, UNLESS A PRODUCT IS EXPRESSLY DESIGNATED BY ST AS BEING INTENDED FOR AUTOMOTIVE, AUTOMOTIVE SAFETY OR MEDICAL INDUSTRY DOMAINS ACCORDING TO ST PRODUCT DESIGN SPECIFICATIONS. PRODUCTS FORMALLY ESCC, QML OR JAN QUALIFIED ARE DEEMED SUITABLE FOR USE IN AEROSPACE BY THE CORRESPONDING GOVERNMENTAL AGENCY. Resale ST products provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability ST. ST and the ST logo are trademarks or registered trademarks ST in various countries. Information in this document supersedes and replaces all information previously supplied. The ST logo is a registered trademark STMicroelectronics. All other names are the property their respective owners. 2 STMicroelectronics All rights reserved STMicroelectronics group companies Australia Belgium Brazil Canada China Czech Republic Finland France Germany Hong Kong India Israel Italy Japan Malaysia Malta Morocco Philipes Singapore Spain Sweden Switzerland United Kingdom United States America DocID29 Rev 59/59 59

STM32 embedded target for MATLAB and Simulink release 3.1. Summary for STM32 embedded target for MATLAB and Simulink release 3.1:

STM32 embedded target for MATLAB and Simulink release 3.1. Summary for STM32 embedded target for MATLAB and Simulink release 3.1: Release note STM32 embedded target for MATLAB and Simulink release 3.1 Introduction This release note is related to STM32 embedded target for MATLAB and Simulink (STM32- MAT/TARGET). It is updated periodically

More information

AN2261 APPLICATION NOTE

AN2261 APPLICATION NOTE APPLICATION NOTE GPIO ports configuration in ST30 devices INTRODUCTION The General Purpose IO (GPIO) Ports of ST30 devices are programmable by software in several modes:, Output, Alternate Function,, Output

More information

ST33F1M, ST33F1M0, ST33F896, ST33F768, ST33F640, ST33F512

ST33F1M, ST33F1M0, ST33F896, ST33F768, ST33F640, ST33F512 ST33F1M, ST33F1M0, ST33F896, ST33F768, ST33F640, ST33F512 Secure MCU with 32-bit ARM SC300 CPU, SWP interface, NESCRYPT cryptoprocessor and high-density Flash memory Data brief Micromodule DFN8 package

More information

Description SPC564A-DISP. March 2014 DocID Rev 3 1/5

Description SPC564A-DISP. March 2014 DocID Rev 3 1/5 SPC564A-DISP: Discovery+ evaluation board Description Data brief - production data Features SPC564A70L7 32-bit 150 MHz e200z4 Power Architecture core, 2Mbyte on-chip in an LQFP176 package. Board Supply:

More information

ST21NFCB. Near field communication controller. Features. RF communications. Hardware features. Communication interfaces. Electrical characteristics

ST21NFCB. Near field communication controller. Features. RF communications. Hardware features. Communication interfaces. Electrical characteristics Near field communication controller Data brief Features NFC operating modes supported: Card emulation Reader / Writer Peer-to-peer communication Hardware features FBGA WFBGA 64-pin 36 Kbytes of EEPROM

More information

AN2667 Application note

AN2667 Application note Application note STM8A GPIO application examples Introduction This document is intended to provide two practical application examples of the GPIO peripheral use in the STM8A device. The examples are: Toggling

More information

LD A very low drop adjustable positive voltage regulator. Description. Features

LD A very low drop adjustable positive voltage regulator. Description. Features 7 A very low drop adjustable positive voltage regulator Description Datasheet - production data Features P ² PAK Output current limit Low-dropout voltage: typically 400 mv at 7 A output current Output

More information

AN4113 Application note

AN4113 Application note Application note Managing the Driver Enable signal for RS-485 and IO-Link communications with the STM32F05x USART Introduction RS-485 and IO-Link are half-duplex communication protocols that offer easy

More information

AN3279 Application Note

AN3279 Application Note Application Note Adjustable LED blinking speed using STM8S-DISCOVERY touch sensing key Application overview This application note provides a short description of how to use the touch sensing key to change

More information

AN2676 Application note

AN2676 Application note Application note STM8A reset application examples Introduction This document is one of a set of application notes giving examples of how to use the various blocks of the STM8A microcontroller family and

More information

AN4321 Application note

AN4321 Application note Application note Getting started with the SPC56L-Discovery Introduction SPC56L-Discovery evaluation kit is based on the 32-bit microcontrollers SPC56EL70L5. The SPC56L-Discovery is an evaluation board

More information

STEVAL-CCM002V1. TFT-LCD panel demonstration board based on the STM32 as LCD controller. Features. Description

STEVAL-CCM002V1. TFT-LCD panel demonstration board based on the STM32 as LCD controller. Features. Description TFT-LCD panel demonstration board based on the STM32 as LCD controller Data brief Features Displays images on a TFT-LCD using the STM32 as LCD controller Includes a slideshow of images to demonstrate static

More information

AN4274 Application note

AN4274 Application note Application note The serial communication driver between the ST7580 and the STM32Fx By Vincenzo Mormina Introduction This document describes the serial communication driver between the ST7580 and the STM32Fx.

More information

AN2672 Application note

AN2672 Application note Application note I²C application examples Introduction The I 2 C peripheral is very flexible, supporting standard interrupts in both 10-bit and 7-bit addressing modes. As a result, generated events are

More information

STEVAL-SPBT4ATV3. USB dongle for the Bluetooth class 1 SPBT2632C1A.AT2 module. Features. Description

STEVAL-SPBT4ATV3. USB dongle for the Bluetooth class 1 SPBT2632C1A.AT2 module. Features. Description USB dongle for the Bluetooth class 1 SPBT2632C1A.AT2 module Features Based on V3.0 Bluetooth class 1 module, SPBT2632C1A.AT2 USB interface and power supply Supported reprogrammability via USB interface

More information

AN3996 Application Note

AN3996 Application Note Application Note Adjustable LED blinking speed using STM8SVLDISCOVERY Application overview This application note provides a short description of the demonstration firmware Discover which is preprogrammed

More information

AN3980 Application note

AN3980 Application note Application note STM32 firmware library for dspin L6470 1 Introduction This application note describes the implementation of the STM32 firmware library for the dspin stepper motor control product (L6470).

More information

AN4440 Application note

AN4440 Application note Application note RFFE HVDAC control Pascal Paillet Introduction The purpose of this application note is to familiarize mobile phone designers with RFFE HVDAC control. Common tasks are explained and more

More information

Main components USB charging controller with integrated power switch

Main components USB charging controller with integrated power switch DN0019 Design note Smart dual-port USB charger with STCC2540 Designs from our labs describe tested circuit designs from ST labs which provide optimized solutions for specific applications. For more information

More information

EMIF03-SIM06F3. 3-line IPAD, EMI filter including ESD protection. Description. Features. Application. Complies with the following standards:

EMIF03-SIM06F3. 3-line IPAD, EMI filter including ESD protection. Description. Features. Application. Complies with the following standards: 3-line IPAD, EMI filter including ESD protection Description Datasheet production data The EMIF03-SIM06F3 chip is a highly integrated audio filter device designed to suppress EMI/RFI noise in all systems

More information

AN3964 Application note

AN3964 Application note Application note STM32L1x temperature sensor example Introduction This application note describes a method of implementing a simple application for temperature measurement using the STM32L-DISCOVERY and

More information

AN2061 APPLICATION NOTE

AN2061 APPLICATION NOTE APPLICATION NOTE EEPROM Emulation with ST10F2xx Description External EEPROMs are often used in automotive applications to store adaptative/evolutive data. On the other hand, the Microcontroller used in

More information

ST19WR08 Dual Contactless Smartcard MCU With RF UART, IART & 8 Kbytes EEPROM Features Contactless specific features

ST19WR08 Dual Contactless Smartcard MCU With RF UART, IART & 8 Kbytes EEPROM Features Contactless specific features Dual Contactless Smartcard MCU With RF UART, IART & 8 Kbytes EEPROM Data Brief Features Enhanced 8-bit CPU with extended addressing modes 112 KBytes user ROM with partitioning 2 KBytes user RAM with partitioning

More information

STEVAL-PCC010V1. ST802RT1A Ethernet PHY demonstration board with STM32F107 controller add-on board. Features. Description

STEVAL-PCC010V1. ST802RT1A Ethernet PHY demonstration board with STM32F107 controller add-on board. Features. Description ST802RT1A Ethernet PHY demonstration board with STM32F107 controller add-on board Data brief Features ST802RT1A Ethernet PHY demonstration board: ST802RT1A fast Ethernet physical layer transceiver On-board

More information

ST10F271B/E, ST10F272B/E Errata sheet

ST10F271B/E, ST10F272B/E Errata sheet Errata sheet BAG silicon version Introduction Note: This errata sheet describes all the functional and electrical problems known in the BAG silicon version of ST10F271B, ST10F271E, ST10F272B and ST10F272E

More information

UM0792 User manual. Demonstration firmware for the DMX-512 communication protocol transmitter based on the STM32F103Zx.

UM0792 User manual. Demonstration firmware for the DMX-512 communication protocol transmitter based on the STM32F103Zx. User manual Demonstration firmware for the DMX-512 communication protocol transmitter based on the STM32F103Zx Introduction This document describes how to use the demonstration firmware for the DMX-512

More information

STM32-MP3NL/DEC. STM32 audio engine MP3 decoder library. Description. Features

STM32-MP3NL/DEC. STM32 audio engine MP3 decoder library. Description. Features STM32 audio engine MP3 decoder library Data brief Features MPEG-1, 2 or 2.5 formats Layers 1, 2 and 3 Constant bit rate and variable bit rate Mono or stereo input streams PCM (Pulse Code Modulation) output

More information

AN4464 Application note

AN4464 Application note Application note Porting a Green Hills SW to SPC5Studio Introduction SPC5Studio provides a comprehensive framework to design, build and deploy embedded applications for SPC56 Power Architecture 32-bit

More information

UM0693 User manual. 1 Introduction. STM8L101-EVAL demonstration firmware

UM0693 User manual. 1 Introduction. STM8L101-EVAL demonstration firmware User manual STM8L101-EVAL demonstration firmware 1 Introduction Note: This document describes the demonstration firmware running on the STM8L101-EVAL evaluation board. You can use it to evaluate the capabilities

More information

AN626 Application note

AN626 Application note Application note Serial EEPROM product numbering This application note provides a detailed description of the part numbering scheme of Serial EEPROM products. The part numbering scheme consists of a maximum

More information

UM1719 User manual. The STPM3x evaluation software. Introduction

UM1719 User manual. The STPM3x evaluation software. Introduction User manual The STPM3x evaluation software Introduction The STPM3x evaluation software is a graphical user interface to read, configure and calibrate the STPM3x energy metering ICs, suitable for parallel

More information

STM32-SK/KEIL STR91X-SK/KEI, STR7-SK/KEIL

STM32-SK/KEIL STR91X-SK/KEI, STR7-SK/KEIL STM32 STR91X-SK/KEI, STR7 Keil starter kits for ST ARM core-based microcontrollers Data brief Features The ARM RealView Microcontroller Development Kit complete development software package with: µvision3

More information

STM3210B-SK/KEIL STR91X-SK/KEI, STR7-SK/KEIL

STM3210B-SK/KEIL STR91X-SK/KEI, STR7-SK/KEIL STM3210B STR91X-SK/KEI, STR7 Keil starter kits for ST ARM core-based microcontrollers Data brief Features The ARM RealView Microcontroller Development Kit complete development software package with: µvision3

More information

STM3220G-SK/KEI. Keil starter kit for STM32F2 series microcontrollers (STM32F207IG MCU) Features. Description

STM3220G-SK/KEI. Keil starter kit for STM32F2 series microcontrollers (STM32F207IG MCU) Features. Description Keil starter kit for STM32F2 series microcontrollers (STM32F207IG MCU) Data brief Features The Keil MDK-Lite development tools: µvision 4 IDE/Debugger for application programming and debugging ARM C/C++

More information

ST33F1M. Smartcard MCU with 32-bit ARM SecurCore SC300 CPU and 1.25 Mbytes high-density Flash memory. Features. Hardware features.

ST33F1M. Smartcard MCU with 32-bit ARM SecurCore SC300 CPU and 1.25 Mbytes high-density Flash memory. Features. Hardware features. Smartcard MCU with 32-bit ARM SecurCore SC300 CPU and 1.25 Mbytes high-density Flash memory Data brief Features ST33F1M major applications include: Mobile communications (GSM, 3G and CDMA) Java Card applications

More information

Description of STM8 LIN software package (STSW-STM8A-LIN) release 4.1. Table 1. Release information. STM8 LIN package

Description of STM8 LIN software package (STSW-STM8A-LIN) release 4.1. Table 1. Release information. STM8 LIN package Release note Description of STM8 LIN software package (STSW-STM8A-LIN) release 4.1 Introduction The STM8 LIN package implements the LIN 2.x (2.1 and 2.0) and LIN 1.3 protocols to drive USART/UART1 (named

More information

ECMF02-3F3. Common mode filter with ESD protection. Features. Description. Applications. Complies with the following standard:

ECMF02-3F3. Common mode filter with ESD protection. Features. Description. Applications. Complies with the following standard: Common mode filter with ESD protection Datasheet production data Figure 1. Pin configuration (bump side) 1 2 A B Flip Chip 6 bumps C Features Figure 2. Schematic (bump side) Very large differential bandwidth

More information

UM1677 User manual. Getting started with STM32F030 Value Line Discovery development tools. Introduction

UM1677 User manual. Getting started with STM32F030 Value Line Discovery development tools. Introduction User manual Getting started with STM32F030 Value Line Discovery development tools Introduction This document describes the software, firmware environment and development recommendations required to build

More information

AN2734 Application note S-Touch design procedure Introduction

AN2734 Application note S-Touch design procedure Introduction Application note S-Touch design procedure Introduction The purpose of this application note is to provide the system/hardware engineers enough ground knowledge to start the design of capacitive touch inferface

More information

STM32-SK/RAIS,STR91X-SK/RAI,STR7-SK/RAIS STM32-D/RAIS,STR9-D/RAIS,STR7-D/RAIS

STM32-SK/RAIS,STR91X-SK/RAI,STR7-SK/RAIS STM32-D/RAIS,STR9-D/RAIS,STR7-D/RAIS STM32-SK/RAIS,,STR7-SK/RAIS STM32-D/RAIS,STR9-D/RAIS,STR7-D/RAIS Raisonance REva starter kits for ST ARM core-based microcontrollers Data brief Features Raisonance software toolset with: GNU C compiler

More information

UM1572 User manual. STEVAL-IPE020V1: ST energy meter application based on the Android platform. Introduction

UM1572 User manual. STEVAL-IPE020V1: ST energy meter application based on the Android platform. Introduction User manual STEVAL-IPE020V1: ST energy meter application based on the Android platform Introduction The ST energy meter application is a user friendly Android based solution based on NFC technology that

More information

AN3354 Application note

AN3354 Application note Application note STM32F105/107 in-application programming using a USB host 1 Introduction An important requirement for most Flash-memory-based systems is the ability to update firmware installed in the

More information

AN4308 Application note

AN4308 Application note Application note Methods of STCC2540, STCC5011, STCC5021 control Introduction By Ondrej Plachy The STCC2540 and STCC5011/STCC5021 (STCCxxxx in text below) devices are combinations of a current limited

More information

STM8L-PRIMER STM32-PRIMER STMPRIMER

STM8L-PRIMER STM32-PRIMER STMPRIMER STM8L-PRIMER STM32-PRIMER STMPRIMER Raisonance STM32 and STM8 Primers for fun, easy evaluation and development with STM32 and STM8 Features Data brief The versatile EvoPrimer range includes: In-circuit

More information

STM8-SK/RAIS STM8-D/RAIS ST7-SK/RAIS ST7-D/RAIS

STM8-SK/RAIS STM8-D/RAIS ST7-SK/RAIS ST7-D/RAIS STM8-SK/RAIS STM8-D/RAIS ST7-SK/RAIS ST7-D/RAIS Raisonance s complete, low-cost starter kits for STM8 and ST7 Features Embedded RLink USB interface to host PC In-circuit debugging and programming Application

More information

STICE CF/Stice_Connect AD/Stice_Connect AS/Stice_Connect

STICE CF/Stice_Connect AD/Stice_Connect AS/Stice_Connect STICE CF/Stice_Connect AD/Stice_Connect AS/Stice_Connect Full-featured cost-effective emulation system for ST microcontrollers Data brief Features Emulation system Real-time emulation of STM8 MCUs (CPU

More information

This document describes the hardware architecture of the board, how to configure the jumpers and to enable specific functions.

This document describes the hardware architecture of the board, how to configure the jumpers and to enable specific functions. User manual SPC560B-DIS discovery board Introduction This document describes the hardware architecture of the board, how to configure the jumpers and to enable specific functions. November 2013 DocID025237

More information

AN2557 Application note

AN2557 Application note Application note STM32F10x in-application programming using the USART Introduction An important requirement for most Flash-memory-based systems is the ability to update firmware when installed in the end

More information

STA bit single chip baseband controller for GPS and telematic applications. Features

STA bit single chip baseband controller for GPS and telematic applications. Features 32-bit single chip baseband controller for GPS and telematic applications Data Brief Features Suitable for automotive applications ARM7TDMI 16/32 bit RISC CPU based host microcontroller. Complete embedded

More information

STM8 I 2 C optimized examples

STM8 I 2 C optimized examples Application note STM8 I 2 C optimized examples Introduction This document describes how to use the following I 2 C optimized examples Hardware configuration example of a common I 2 C bus Master firmware

More information

STM8L-PRIMER STM32-PRIMER STMPRIMER

STM8L-PRIMER STM32-PRIMER STMPRIMER STM8L-PRIMER STM32-PRIMER STMPRIMER Raisonance STM32 and STM8 Primers for fun, easy evaluation and development with STM32 and STM8 Data brief Features The versatile EvoPrimer range includes: In-circuit

More information

AN2825 Application Note

AN2825 Application Note Application Note S-Touch STMPE811 resistive touchscreen controller advanced features Introduction This application note provides details on the advanced features of the S-Touch STMPE811 touchscreen controllers.

More information

AN2143 Application note

AN2143 Application note AN2143 Application note Programming the ST10F27X embedded Flash using the ST10FLASHER tool Introduction This document summarizes the different steps needed to program the internal Flash memory of the ST10F27x

More information

STEVAL-IDW001V1. Wi-Fi daughterboard for STM32F0DISCOVERY. Description. Features

STEVAL-IDW001V1. Wi-Fi daughterboard for STM32F0DISCOVERY. Description. Features STEVAL-IDW00V Wi-Fi daughterboard for STMF0DISCOVERY Description Data brief Features Integrated SPWF0SA. Wi-Fi module Used as daughterboard for the STMF0DISCOVERY Can be used with the STEVAL-PCC0V UART

More information

STEVAL-VNH5019A. Motor driver evaluation board based on VNH5019A. Description. Features

STEVAL-VNH5019A. Motor driver evaluation board based on VNH5019A. Description. Features STEVAL-VNH5019A Motor driver evaluation board based on VNH5019A Description Data brief Features Type R DS(on) I out V CC(max) VNH5019A-E 18 mω typ (per leg) 30 A 41 V Handling up to 30 A of maximum motor

More information

EV-VNQ5E050AK VNQ5E050AK evaluation board

EV-VNQ5E050AK VNQ5E050AK evaluation board VNQ5E050AK evaluation board Data brief production data Features Parameter Symbol Value Unit Max supply voltage V CC 41 V Operating voltage range V CC 4.5 to 28 V Max On-State resistance R ON 50 mω Current

More information

AN3965 Application note

AN3965 Application note Application note STM32F40x/STM32F41x in-application programming using the USART 1 Introduction An important requirement for most Flash-memory-based systems is the ability to update firmware when installed

More information

AN1335 APPLICATION NOTE

AN1335 APPLICATION NOTE AN1335 APPLICATION NOTE Using the ST10F280 By André ROGER 1 - INTRODUCTION ST10F280 is a new member of ST10 family. This device has been specifically designed for application based on C167 and that now

More information

AN2673 Application note

AN2673 Application note Application note STM8A SPI application examples Introduction This application note is one of a set of application notes giving examples of how to use the various blocks of the STM8A microcontroller family

More information

STLC2500D. Bluetooth V2.1 "Lisbon" + EDR. Features. Description

STLC2500D. Bluetooth V2.1 Lisbon + EDR. Features. Description Bluetooth V2.1 "Lisbon" + EDR Data Brief Features Based on Ericsson Technology Licensing Baseband Core (EBC) Bluetooth specification compliance: V2.1 ( Lisbon ) + EDR HW support for packet types ACL, SCO,

More information

AN2855 Application note

AN2855 Application note Application note Configuration for single-click and double-click detection using the FC30 Introduction This document is intended to provide application information for the click and double-click detection

More information

ST19NP18-TPM-I2C Trusted Platform Module (TPM) with I²C Interface Features

ST19NP18-TPM-I2C Trusted Platform Module (TPM) with I²C Interface Features Trusted Platform Module (TPM) with I²C Interface Data brief Features Single-chip Trusted Platform Module (TPM) Embedded TPM 1.2 firmware I²C communication interface (Slave mode) Architecture based on ST19N

More information

STTS V memory module temperature sensor. Features

STTS V memory module temperature sensor. Features 2.3 V memory module temperature sensor Data brief Features is a 2.3 V memory module temperature sensor forward compatible with JEDEC standard TS3000 and backward compatible with STTS424 Operating temperature

More information

SOT23-6L ESDALCL6-2SC6

SOT23-6L ESDALCL6-2SC6 Very low capacitance and low leakage current ESD protection Features 2 data-line protection Datasheet production data Protects V BUS Very low capacitance: 2.5 pf typ. Very low leakage current: 10 na at

More information

AN2361 Application note

AN2361 Application note AN2361 Application note Interfacing with the STR91x software library using Configuration and Programming Software (CAPS) Introduction STR91x microcontrollers offer extremely flexible configuration of I/O

More information

AN2737 Application note Basic in-application programming example using the STM8 I 2 C and SPI peripherals Introduction

AN2737 Application note Basic in-application programming example using the STM8 I 2 C and SPI peripherals Introduction Application note Basic in-application programming example using the STM8 I 2 C and SPI peripherals Introduction This application note is one of a set of application notes giving examples of how to use

More information

EVAL6235PD. L6235 three-phase brushless DC motor driver demonstration board. Features. Description

EVAL6235PD. L6235 three-phase brushless DC motor driver demonstration board. Features. Description L6235 three-phase brushless DC motor driver demonstration board Features Operating supply voltage from 8 V to 52 V 5.6 A output peak current (2.8 A RMS ) Operating frequency up to 100 khz Non-dissipative

More information

UM0401 User manual. User manual for eight bit port expander STMPE801 demonstration board. Introduction

UM0401 User manual. User manual for eight bit port expander STMPE801 demonstration board. Introduction User manual User manual for eight bit port expander STMPE801 demonstration board Introduction This document explains the functioning of the demo board for the port expander Chip STMPE801 with a PC GUI

More information

AN2860 Application note

AN2860 Application note Application note EMC guidelines for STM8 microcontrollers Introduction To meet the demand for higher performance, complexity and cost reduction, the semiconductor industry develops microcontrollers with

More information

AN3154 Application note

AN3154 Application note Application note CAN protocol used in the STM32 bootloader Introduction This application note describes the CAN protocol used in the STM32 microcontroller bootloader. It details each supported command.

More information

AN2202 Application note

AN2202 Application note Application note STR73x microcontroller power management Introduction This application note provides an overview of the STR73x power management features and gives some guidelines for using the low power

More information

AN2470 Application note TS4871 low voltage audio power amplifier Evaluation board user guidelines Features Description

AN2470 Application note TS4871 low voltage audio power amplifier Evaluation board user guidelines Features Description Application note TS4871 low voltage audio power amplifier Evaluation board user guidelines Features TS4871 low voltage audio power amplifier with active low standby mode Operating range from V CC =2.2V

More information

AN3348 Application note

AN3348 Application note Application note Porting etpu code to etpu compiler build tools guides Introduction This guide would take you through the process of porting your application to the new etpu Compiler (EC). EC was designed

More information

OSPlus USB Extension. OSPlus USB 2.0 extension. Description. Features. Application. TCP/IP stack NexGenOS NexGenIP VFS. FAT Ext2 LVM Device layer

OSPlus USB Extension. OSPlus USB 2.0 extension. Description. Features. Application. TCP/IP stack NexGenOS NexGenIP VFS. FAT Ext2 LVM Device layer OSPlus USB 2.0 extension Data brief Application VFS FAT Ext2 LVM Device layer Device drivers TCP/IP stack NexGenOS NexGenIP NexGenRemote NexGenResolve NexGenBoot NexGenPPP USB stack OSPlus interface Class

More information

TN0189 Technical note

TN0189 Technical note Technical note STM8 bootloader frequently asked questions 1 Introduction All STM8A, STM8L, and STM8S devices with a Flash memory space greater than 16 Kbytes have a ROM bootloader: STM8AF51xx STM8AF61xx

More information

Obsolete Product(s) - Obsolete Product(s)

Obsolete Product(s) - Obsolete Product(s) 8 line low capacitance EMI filter and ESD protection Main product characteristics Where EMI filtering in ESD sensitive equipment is required: LCD and camera for mobile phones Computers and printers Communication

More information

UM1488 User manual. STPMC1 evaluation software. Introduction

UM1488 User manual. STPMC1 evaluation software. Introduction User manual STPMC1 evaluation software Introduction STPMC1 evaluation software is a graphical user interface to read, configure and calibrate an STPMC1 energy metering device, suitable for parallel and

More information

AN2781 Application note

AN2781 Application note Application note UART emulation software in STM8S and STM8A microcontrollers Introduction This application note describes how to emulate the UART behavior and functionality using routines in STM8S microcontrollers.

More information

TN0132 Technical note

TN0132 Technical note Technical note STM32 Serial Wire Viewer and ETM capabilities with EWARM 5.40 and MDK-ARM 3.70 Introduction This document presents Serial Wire Viewer (SWV) and Embedded Trace Macrocell (ETM) capabilities

More information

UM1750 User manual. STEVAL-IPE023V1: STPMxx programmer. Introduction

UM1750 User manual. STEVAL-IPE023V1: STPMxx programmer. Introduction User manual STEVAL-IPE023V1: STPMxx programmer Introduction This evaluation board is a tool for programming the STPMxxx energy meter ICs family. The board has been developed to provide an insulated USB

More information

EMIF02-MIC01F2 2-line IPAD, EMI filter including ESD protection Features Application Description Complies with the standards:

EMIF02-MIC01F2 2-line IPAD, EMI filter including ESD protection Features Application Description Complies with the standards: 2-line IPAD, EMI filter including ESD protection Features 2-line symetrical low-pass filter Lead-free package High-density capacitor High-efficiency EMI filtering Very small PCB footprint: 1.42 mm x 1.92

More information

AN3155 Application note

AN3155 Application note Application note USART protocol used in the STM32 bootloader Introduction This application note describes the USART protocol used in the STM32 microcontroller bootloader. It details each supported command.

More information

RN0046 Release note. 1 Introduction. SimpleMAC library for STM32W108xx kits. About this release note

RN0046 Release note. 1 Introduction. SimpleMAC library for STM32W108xx kits. About this release note Release note SimpleMAC library for STM32W108xx kits 1 Introduction About this release note This release note is related to the SimpleMAC library which supports all the available STM32W108xx kits. This

More information

AN2474 Application note

AN2474 Application note AN474 Application note TS4995.W fully differential audio power amplifier with selectable standby and 6db fixed gain - Evaluation board user guidelines Introduction This application note describes the DEMO

More information

EMIF02-SPK02F2. 2-line IPAD, EMI filter and ESD protection. Features. Application. Description. Complies with the following standards

EMIF02-SPK02F2. 2-line IPAD, EMI filter and ESD protection. Features. Application. Description. Complies with the following standards 2-line IPAD, EMI filter and ESD protection Datasheet production data Features Packaged in lead-free Flip Chip Very low resistance: 0.35 Ω High attenuation: -45 db at 900 MHz Very low PCB space consumption:

More information

STEVAL-IHM028V1. 2 kw 3-phase motor control demonstration board featuring the IGBT intelligent power module STGIPS20K60. Features.

STEVAL-IHM028V1. 2 kw 3-phase motor control demonstration board featuring the IGBT intelligent power module STGIPS20K60. Features. Features 2 kw 3-phase motor control demonstration board featuring the IGBT intelligent power module STGIPS20K60 Data brief Complete solution for a 2 kw power inverter HV supply mode: voltage 90 VAC to

More information

UM1792 User manual. STLUX385A development environment. Introduction. Reference documents

UM1792 User manual. STLUX385A development environment. Introduction. Reference documents User manual STLUX385A development environment Introduction This user manual provides complete information for SW developers about the complete STLUX385A development environment flow. The STLUX385A development

More information

AN3250 Application note

AN3250 Application note Application note M24LR64-R Multi-bank reference design description and settings 1 Introduction The M24LR64-R multi-bank reference design has been created to help users increase the memory density of their

More information

AN2792 Application note

AN2792 Application note Application note STM8A easy programmer 1 Introduction This application note describes the easy programmer which is a low cost solution allowing the content of the STM8A Flash program memory to be updated

More information

Obsolete Product(s) - Obsolete Product(s)

Obsolete Product(s) - Obsolete Product(s) 2-line IPAD, EMI filter and ESD protection for speaker Figure 1. Pin configuration (top view) and basic cell configuration Input SPK R in GND SPK L in 1 Pin 1 Micro QFN 6 leads 1.45 mm x 1.00 mm (bottom

More information

AN3265 Application note

AN3265 Application note Application note Handling hardware and software failures with the STM8S-DISCOVERY Application overview This application is based on the STM8S-DISCOVERY. It demonstrates how to use the STM8S window watchdog

More information

STM8-SK/RAIS STM8-D/RAIS ST7-SK/RAIS ST7-D/RAIS

STM8-SK/RAIS STM8-D/RAIS ST7-SK/RAIS ST7-D/RAIS STM8-SK/RAIS STM8-D/RAIS ST7-SK/RAIS ST7-D/RAIS Features Raisonance s complete, low-cost starter kits for STM8 and ST7 Embedded RLink USB interface to host PC In-circuit debugging and programming Application

More information

STM32L051x6 STM32L051x8

STM32L051x6 STM32L051x8 STM32L051x6 STM32L051x8 Access line ultra-low-power 32-bit MCU ARM-based Cortex-M0+, up to 64 KB Flash, 8 KB SRAM, 2 KB EEPROM, ADC Data brief Features Ultra-low-power platform 1.65 V to 3.6 V power supply

More information

AN2594 Application note

AN2594 Application note AN2594 Application note EEPROM emulation in STM32F101xx and STM32F103xx microcontrollers Introduction Many applications require EEPROM (electrically erasable programmable read-only memory) for non-volatile

More information

EMIF01-SMIC01F2 IPAD. Single line EMI filter including ESD protection. Main application. Description. Benefits. Pin configuration (Bump side view)

EMIF01-SMIC01F2 IPAD. Single line EMI filter including ESD protection. Main application. Description. Benefits. Pin configuration (Bump side view) IPAD Single line EMI filter including ESD protection Main application Single ended microphone in mobile phones and portable devices Description The is a highly integrated device designed to suppress EMI/RFI

More information

AN2430 Application note

AN2430 Application note Application note STR75x SystemMemory boot mode Introduction te: This application note describes the features of the SystemMemory boot mode developed for STR75x Flash microcontrollers providing all the

More information

AN2240 Application note

AN2240 Application note AN0 Application note Using the evaluation board for the TS7 low noise microphone preamplifier with V bias Introduction This application note describes the DEMO TS7 evaluation board, specifically designed

More information

AN4290 Application note

AN4290 Application note Application note dspin, cspin and easyspin family communication protocol By Enrico Poli Introduction The devices of the dspin, cspin and easyspin families provide advanced features and high programmability.

More information

AN4371 Application note

AN4371 Application note Application note SPC56ELxx ADC Built-in self-tests ADC working in CPU mode Introduction In automotive more and more often comes in foreground the question of safety. For this reason the ST s PowerPC microcontrollers

More information

UM1084 User manual. CR95HF development software user guide. Introduction. Reference documents

UM1084 User manual. CR95HF development software user guide. Introduction. Reference documents User manual CR95HF development software user guide Introduction The CR95HF development software is a PC software which allows to configure, evaluate, and communicate with ST CR95HF 13.56 MHz multiprotocol

More information