QST108 STMicroelectronics, QST108 Datasheet - Page 21

no-image

QST108

Manufacturer Part Number
QST108
Description
Capacitive Touch Sensor Device 8 Keys With Individual Key State Outputs Or I2c Interface
Manufacturer
STMicroelectronics
Datasheet
QST108
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’ ‘8’
Checksum
0xC4
0x11 KeyError1
KeyError2 ... KeyError8
CheckSum
0xC1
0x03 AllKeyState
KeyError Checksum
0x80
0x07 MainVers SubVer
I2CSpeed Checksum
0xFD
ErrCode
0x03 0x04 0x00 DI EDI
PosRecaII CheckSum
ErrCode
0x08 0x01 GPOState
Checksum
ErrCode
C commands
Supported commands (continued)
Returns the QST108 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 QST108 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: 0x08 single-channel keys
NbMCkey: 0x00 multi-channel keys
Q S T 1 0 8: ASCII-coded device name
KeyErrorN: KeyError byte description (see
AllKeyState: Touched/untouched state for all 8 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
GPOState: State of general-purpose outputs (see
ErrCode: Standard Error code (see
AllKeyState.
Table 12: KeyError byte description
Description
Table
1) 3)
11).
Device operating modes
1) 3)
Table
Table
11)
11)
Table
1) 3)
12)
Table
21/47
16)

Related parts for QST108