STMPE321 Capacitive touch module registers
Doc ID 15791 Rev 3 25/40
FEATURE_SELECT Feature select
Address: 0x20
Type: R/W
Reset: 0x04
Description: Controls AFS (advanced filtering system and second level filtering feature)
ETC_WAIT Wait time setting
Address: 0x21
Type: R/W
Reset: 0x27
Description: Sets the wait time between the calibration and the last button touch
76543 2 1 0
RESERVED AFS[1:0] Filter EN
[7:3] RESERVED
[2:1] AFS[1:0]:
“00’: reserved
“01’ AFS mode 1 (only 1 strongest key)
‘10’: AFS mode 2 (all keys that are above threshold)
‘11’: AFS mode 3 (the 2 strongest keys)
[0] Filter EN:
Write '1' to enable filter
76543 2 1 0
ETC_WAIT[7:0]
[7:0] ETC_WAIT[7:0]:
ETC wait time = ETC_Wait[7:0] *64 + sensor clock period
A "non-touch" condition must persist for this wait time, before an ETC operation is carried out
Range: 5 mS - 20 s
Capacitive touch module registers STMPE321
26/40 Doc ID 15791 Rev 3
CAL_INTERVAL Calibration interval
Address: 0x22
Type: R/W
Reset: 0x30
Description: Calibration interval
INTEGRATION TIME Integration time
Address: 0x23
Type: R/W
Reset: 0x0F
Description: Integration time
76543 2 1 0
CAL_INTERVAL
[7:0] CALIBRATION INTERVAL:
Interval between calibration = calibration interval [7:0] * sensor clock period * 50
Range: 4 ms - 16 s
76543 2 1 0
INTEGRATION_TIME[7:0]
[7:0] Integration time in AFS mode
Total period of integration = sensor clock period * integration time [7:0]
78 µs - 320 ms
STMPE321 Capacitive touch module registers
Doc ID 15791 Rev 3 27/40
CTRL Control
Address: 0x25
Type: R/W
Reset: 0x00
Description: Control
76543 2 1 0
RESERVED F2A HDC_U HDC_C HOLD
[7:4] RESERVED
[3] F2A:
Write '1' to force device to remain in ACTIVE state at all times
[2] HDC_U:
Write '1' to perform unconditional host driven calibration
Cleared to '0' when calibration is completed
Only applicable HOLD is '1'
[1] HDC_C:
Write '1' to perform conditional host driven calibration
Calibration is performed if and only if no touch is detected
Cleared to '0' when calibration is completed
Only applicable HOLD is '1'
[0] HOLD:
'0' to enable ETC
'1' to disable ETC

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