ST STMPE821 User Manual

ST STMPE821 User Manual

Stm32-based capacitive touch demonstration kit

Advertisement

Quick Links

January 2010
Downloaded from
Elcodis.com
electronic components distributor
STM32-based STMPE821 capacitive touch demonstration kit
Introduction
This user manual describes how to use the STM32-based capacitive touch demonstration
kit to demonstrate the functionality and performance of the STMPE821, an 8-channel
capacitive touch key controller.
The STMPE821 is a GPIO (general-purpose input/output) port expander with a built-in
capacitive touch key controller. This device is capable of interfacing with a main digital
ASIC/controller through the 2-line communication protocol I
In this demonstration, the STM32 microcontroller is used as the main digital controller to
interface the STMPE821 device. The system utilizes the capacitive touch key controller,
GPIO controller and PWM controller features of the STMPE821 device to demonstrate the
application.
The STMPE821 device controls 3 different touch keys using an integrated capacitive touch
controller. Touch events are indicated on the LEDs using the GPIO controller and the
corresponding PWM frequency is generated on a separate LED using the PWM controller.
The demonstration requires two boards, connected using a 10-pin connector:
STEVAL-PCC009V3 S-Touch family interface board based on the STM32
STEVAL-ICB002V1 capacitive touch demonstration board based on the STMPE821
Power to the STM32-based interface board is provided by a USB mini B-type connector, and
power to the capacitive touch board is supplied by the STM32 interface board via the 10-pin
connector.
Doc ID 16826 Rev 1
UM0868
User manual
2
C.
www.st.com
1/17

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STMPE821 and is the answer not in the manual?

Questions and answers

Summary of Contents for ST STMPE821

  • Page 1 In this demonstration, the STM32 microcontroller is used as the main digital controller to interface the STMPE821 device. The system utilizes the capacitive touch key controller, GPIO controller and PWM controller features of the STMPE821 device to demonstrate the application.
  • Page 2: Table Of Contents

    Contents UM0868 Contents Getting started ..........5 System requirements .
  • Page 3 UM0868 List of tables List of tables Table 1. Header overlapping for board mapping ........8 Table 2.
  • Page 4 STM32-based STMPE821 capacitive touch demonstration kit..... . . 5 Figure 2. STEVAL-ICB002V1: STMPE821 capacitive touch board ......6 Figure 3.
  • Page 5: Getting Started

    Getting started System requirements Only USB power from a PC is required to power up the demonstration board. Package contents The STMPE821 demonstration kit includes the following items: ● Hardware: – STEVAL-PCC009V3: S-Touch family interface board based on the STM32 –...
  • Page 6: Hardware Installation

    Getting started UM0868 Hardware installation The capacitive touch STEVAL-ICB002V1 board is shown in Figure 2 below. Figure 2. STEVAL-ICB002V1: STMPE821 capacitive touch board The STM32-based STEVAL-PCC009V3 interface board is shown in Figure 3 below. Figure 3. STEVAL-PCC009V3: STM32-based interface board 6/17...
  • Page 7: Power Supply

    J3 and J4: support connectors to be connected to J4 and J7, respectively, of the interface board (STEVAL-PCC009V3) ● STEVAL-PCC009V3 S-Touch family interface board: – J2: 10-pin connector available as the interface for the STMPE821 board. It has the same electrical connections as those shown in Figure 4 above –...
  • Page 8: Running The Demonstration

    Running the demonstration UM0868 Running the demonstration To run the demonstration perform the following steps: Mount the STMPE821 capacitive touch board (STEVAL-ICB002V1) on the S-Touch family interface board (STEVAL-PCC009V3). When mounting the boards, the connectors should mate perfectly as shown in Table Table 1.
  • Page 9: Working In Dfu Mode

    Working in DFU mode The required DFU setup (DFuSe) is available for download from the STMicroelectronics web site at http://www.st.com/mcu/familiesdocs-110.html, under section “Software-PC”. After installing the setup, plug in the board. When the PC prompts for a driver, follow the path: Program Files\STMicroclectronics\DFUSe\Driver, and select the driver The user manual for the DFU GUI is available at the same link.
  • Page 10: Appendix A Schematic Diagrams And Bill Of Material

    Schematic diagrams and bill of material UM0868 Appendix A Schematic diagrams and bill of material Schematic diagrams Figure 6. S-Touch family interface board schematics (STEVAL-PCC009V3) 10/17 Doc ID 16826 Rev 1 Downloaded from Elcodis.com electronic components distributor...
  • Page 11: Figure 7. Capacitive Touch Board Schematics (Steval-Icb002V1)

    UM0868 Schematic diagrams and bill of material Figure 7. Capacitive touch board schematics (STEVAL-ICB002V1) Doc ID 16826 Rev 1 11/17 Downloaded from Elcodis.com electronic components distributor...
  • Page 12: Table 3. Bill Of Material For The S-Touch Family Interface Board (Steval-Pcc009V3)

    ESDALC6V1M3 SOT883 STMicroelectronics ESDALC6V1M3 STMicroelectronics LD1117D33TR SO-8 STMicroelectronics LD1117D33TR STMicroelectronics ST2349QTR (not U5,U10 QFN16 STMicroelectronics ST2349QTR (not mounted) STMicroelectronics mounted) ST devices STM32F103VBT6 LQFP100 STMicroelectronics STM32F103VBT6 STMicroelectronics USBLC6-2P6 SOT-666 STMicroelectronics USBLC6-2P6 STMicroelectronics U3,U4,U6,U7,U8 ESDALC6V1M6 µQFN16 STMicroelectronics ESDALC6V1M6 STMicroelectronics 11.35 x 4.5 mm...
  • Page 13 Table 3. Bill of material for the S-Touch family interface board (STEVAL-PCC009V3) (continued) Manufacturer order code / Category Ref. Des. Component description Package Manufacturer Supplier orderable part number C1,C2 10 pF SMD0805 N.A. C3,C11,C12,C13, C14,C15,C16,C22 100 nF SMD0805 N.A. ,C25,C26,C27 C4,C5 22 pF SMD0805...
  • Page 14 Table 3. Bill of material for the S-Touch family interface board (STEVAL-PCC009V3) (continued) Manufacturer order code / Category Ref. Des. Component description Package Manufacturer Supplier orderable part number R1,R7,R20,R23, 100 kΩ SMD0805 Yageo 311-100KARTR-ND Digi-Key R2,R3,R4,R6,R8, Stackpole SMD0805 RMCF1/100RTR-ND Digi-Key Electronics Stackpole R5,R19...
  • Page 15: Table 4. Bill Of Material For The Capacitive Touch Board (Steval-Icb002V1)

    Bill of material for the capacitive touch board (STEVAL-ICB002V1) Manufacturer order Component Category Ref. des. Package Manufacturer code / orderable part Supplier description number ST devices STMPE821 QFN16 STMicroelectronics STMPE821QTR STMicroelectronics Header 5x2 (interface 5x2 (2.54 mm Protectron P9105-10-121 Protectron...
  • Page 16: Revision History

    Revision history UM0868 Revision history Table 5. Document revision history Date Revision Changes 21-Jan-2010 Initial release. 16/17 Doc ID 16826 Rev 1 Downloaded from Elcodis.com electronic components distributor...
  • Page 17 No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein.

Table of Contents