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
Need help?
Do you have a question about the STMPE821 and is the answer not in the manual?
Questions and answers