Document
STMPE812
S-Touch® enhanced 4-wire resistive touchscreen controller with PWM
Features
■ 4 GPIOs (8 mA drive, 12 mA sink at 3.3 V)
■ 1 additional, general purpose 12-bit ADC
■ Operating voltage 1.65 - 3.6 V
t(s) ■ Integrated 4-wire touchscreen controller, pendown/real-time mode, fully-autonomous
uc ■ 1 PWM controller d ■ Auto-hibernation and low power ro – Typ 0.5 µA in Hibernation mode P – Typ 100 µA in Active mode te ■ Interrupt output pin (optional) le ■ Reset input pin (optional) so ■ Wake-up feature on each port configured as b GPIO input - O ■ I2C interface ) ■ 8 kV HBM, 1 kV CDM ESD protection on t(s X+/X-/Y+/Yc ■ 2 kV HBM, 250 V CDM ESD protection on all du other pins Pro Applications te ■ Portable media players le ■ Game consoles Obso ■ Mobile and smart phones
Flip-chip CSP12 (2.17 x 1.67 mm)
Description
The STMPE812 is a 4-wire resistive touchscreen controller with 4-bit port expander integrated. The touchscreen controller is designed to be fully autonomous, requiring only minimal CPU intervention for sampling, filtering and preprocessing operations.
Table 1. Device summary Order code
STMPE812BJR
Package Flip-chip CSP12 (2.17 x 1.67 mm)
February 2011
Doc ID 17732 Rev 3
Packaging Tape and reel
1/51
www.st.com
51
Contents
Contents
STMPE812
1
STMPE812 functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.1 Pin configuration and functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.2 Typical application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2
I2C interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.1 I2C features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.2 Data input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
t(s) 2.3 Read operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 c 2.4 Write operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
rodu 3
Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
te P 4
Charge pump . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
sole 5
Power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
- Ob 6
STMPE812 registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
t(s) 6.1 Auto-increment/non auto-increment address . . . . . . . . . . . . . . . . . . . . . . 16
uc 7
System and identification registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Prod 8
Interrupt system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
lete 9
ADC controller . . . . . . . . . . ..