QST104 STMicroelectronics, QST104 Datasheet - Page 20

no-image

QST104

Manufacturer Part Number
QST104
Description
Capacitive touch sensor device 4 keys
Manufacturer
STMicroelectronics
Datasheet
Device operating modes
20/45
Table 10.
GET_DEVICE_INFO
Write
Read
GET_KEY_ERROR
Write
Read
GET_KEY_STATE
Write
Read
GET_PROTOCOL_VERSION
Write
Read
RESET_DEVICE
Write
Read
SET_DETECT_INTEGRATORS
Write
Read
SET_GPIO_STATE
Write
Read
I
2
0x85
0x15 MainVers SubVers
NbSCkey NbMCkey
‘Q’ ’S’ ‘T’ ‘1’ ‘0’ ‘4’
Checksum
0xC4
0x11 KeyError1
KeyError2 ... KeyError4
CheckSum
0xC1
0x03 AllKeyState
KeyError Checksum
0x80
0x07 MainVers SubVer
I2CSpeed Checksum
0xFD
ErrCode
0x03 0x04 0x00 DI EDI
PosRecaII CheckSum
ErrCode
0x08 0x02 GPOState1
GPOState2 Checksum
ErrCode
C commands
Supported commands (continued)
Returns the QST104 device version and ASCII-coded device
name. This command must be sent first to enable the
communication flow.
Returns the error information on each key.
Returns the state of all keys.
Returns the QST104 protocol version.
Restarts the device (options Read and Calibration) after
reading the ErrCode (see
Sets the detection, End Of Detection and Positive Recalibration
Integrators for all keys.
Controls the state of the general-purpose outputs.
MainVers: Device main version
SubVer: Device sub-version
NbSCkey: 0x04 single-channel keys
NbMCkey: 0x00 multi-channel keys
Q S T 1 0 4: ASCII-coded device name
KeyErrorN: KeyError byte description (see
AllKeyState: Touched/untouched state for all 4 keys. Refer to
Table 13:
KeyError: Refer to
MainVers: Protocol main version
SubVer: Protocol sub-version
I2CSpeed: 0x00 (100 kHz maximum)
DI: Detection Integrator
EDI: End of Detection Integrator
PosRecaII: Positive Recalibration Integrator
ErrCode: Standard Error code (see
GPOStateN: State of general-purpose outputs (see
ErrCode: Standard Error code (see
AllKeyState.
Table 12: KeyError byte description
Description
Table
1) 3)
11).
1) 3)
Table
Table
www.DataSheet4U.com
11)
11)
Table
1) 3)
12)
Table
QST104
16)

Related parts for QST104