STMPE321 functional overview STMPE321
4/40 Doc ID 15791 Rev 3
1.2 Pin assignment and function
Figure 2. QFN12 pin assignment (top view)
Table 2. Pin assignment and function
Pin number Pin name Description
1 GPIO_2 / touch 2 GPIO 2
2 GPIO_1 / touch 1 GPIO 1
3 GPIO_0 / touch 0 GPIO 0
4NC-
5SDAI
2
C data
6SCLI
2
C clock
7GNDGND
8 VCC Supply voltage
9 ARef Reference capacitor for touch sensor
10 NC -
11 INT INT output (open drain)
12 RST
RESET (active low)
This pin is internally pulled up to V
CC
!-








STMPE321 STMPE321 functional overview
Doc ID 15791 Rev 3 5/40
1.3 STMPE321 typical application
The STMPE321 is capable of supporting capacitive sensors of up to 3 channels.
Figure 3. Typical application diagram
34-0%
"ASEBAND#05
3
$!4
).4
!2
E
F
4
OUC
H
4
OUC
H
4
OUC
H
3ENSORPADSARETYPICALLY
MM
3ENSORPADS
Capacitance compensation STMPE321
6/40 Doc ID 15791 Rev 3
2 Capacitance compensation
The STMPE321 is capable to measuring up to 5.1pF in capacitance difference between the
reference point (Zref) and the individual channels. In the case where PCB connection
between the sensor pads and the device is too long, the "REFERENCE DELAY" register is
able to shift the reference by up to 5.1pF, allowing the TOUCH channels to measure added
capacitance 5.1pF with offset of 5.1pF, as shown in following diagram.
In the case where this is still not enough to compensate for the capacitance on sensor lines
(due to very long sensor trace), an external capacitor of up to 30 pF could be connected at
the A_Ref pin.
This would further shift up the dynamic range of the capacitance measurement.
Figure 4. Capacitance compensation
The sensed capacitance is accessible to the host through the IMPEDANCE registers.
!-6
)NCREASINGCAPACITANCE
P&
P&
P&
P&
P&
P&
2EFERENCEDELAYREGISTER
$YNAMICRANGEP&
2EFERENCEDELAYREGISTERP&
$YNAMICRANGEP&
2EFERENCEDELAYP&
!2EFP&
$YNAMICRANGEP&P&

STMPE321QTR

Mfr. #:
Manufacturer:
STMicroelectronics
Description:
IC CTLR TOUCH KEY 3CH 12-QFN
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet