qt60161b Quantum Research Group, qt60161b Datasheet - Page 14
qt60161b
Manufacturer Part Number
qt60161b
Description
16 Key Qmatrix Keypanel Sensor Ic
Manufacturer
Quantum Research Group
Datasheet
1.QT60161B.pdf
(36 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
qt60161b-ASG
Manufacturer:
FREESCALE
Quantity:
21 956
4.5 UART Interface
Refer to Figures 4-1 and 4-5.
UART communications requires only 2 wires, TX and RX to
communicate with a host device. All communications must be
lQ
{from sensor}
{from sensor}
{from sensor}
{from host}
{from host}
{from host}
{from host}
MOSI
SCK
SS
RX
TX
DRDY
MOSI
MISO
SCK
SS
from Host to sensor
7 6 5 4 3 2 1 0
Command Byte 1
S
from host to sensor
Host Command Byte 1
Command Byte 1
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
0
SS, SCK, MOSI originate from Host
Invalid Data
1
2
Table 4-1 Typical Tdr1 Response Delays (100µs sample ramp)
3
Calibrate command (all keys)
T cm
Setup - Put (affect 16 keys)
4
Setup - Put (affect 8 keys)
Setup - Put (affect 1 key)
Lock reference Level (L)
T cm
5
T cm
Get keys pushed (K)
All other commands
6
Get key errors (E)
Function Type
7
Figure 4-4 SPI Master/Slave Mode Timing
Figure 4-3 SPI Slave-Only Mode Timing
7 6 5 4 3 2 1 0
from host to sensor
Optional Byte 2
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
S
Optional Byte 2
from host to sensor
Invalid Data
0
©Quantum Research Group Ltd.
Optional Byte 2
Figure 4-5 UART Timing
1
2
T dr1
3
4
T dr1
5
Floating
6
7
14
initiated by the host. The baud rate is determined by Setup
^Q (page 25); the maximum baud rate with a 12MHz oscillator
is 57.6K. UART communications uses the following settings:
Response Data or Echo
Response Byte or Echo
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
from sensor to host
Null Dummy Data
T dr1
Response Byte or Echo
S
from sensor to host
0
SS, SCK, MOSI originate from sensor
T dr3
T dr2
500µs
500µs
450µs
350µs
350µs
10ms
20ms
65ms
65ms
1
2
3
www.qprox.com QT60161B / R1.03
4
T dr3
5
Burst Spacing
6
7
500µs
450µs
350µs
350µs
10ms
20ms
65ms
65ms
1ms
{N = command dependent}
{N = command dependent}
Nth Byte from sensor
7 6 5 4 3 2 1 0
{N = command dependent}
Nth Response Data
7 6 5 4 3 2 1 0
Null Dummy Data
S
T dr3
Nth Byte from sensor
0
1
500µs
450µs
350µs
350µs
10ms
20ms
65ms
65ms
2ms
2
3
4
5
6
7