English
Language : 

QT60240-ATG Datasheet, PDF (10/26 Pages) List of Unclassifed Manufacturers – 16 AND 24 KEY QMATRIX TOUCH SENSOR ICs
3 Interfaces
3.1 Introduction
The QT60xx0 can be configured to communicate either over
an I2C bus or a shift register type Serial Peripheral Interface
(SPI).
The pins A0, A1 are used to configure the type of interface
and the I2C address if this mode is used. The modes and I 2C
addresses are available as shown in Table 3.1 below.
Table 3.1 Interface Details
A1
A0
Interface
Vss
Vss
Shift Register
Vss
Vdd
I2C Address 7
Vdd
Vss
I2C Address 17
Vdd
Vdd
I2C Address 117
3.2 Shift Register Output Mode
When the option jumpers are both set at Vss, the device
disables the I2C interface and instead generates output
suitable for driving a shift register.
The shift register data is output at pin 27 (SDA). The clock is
output at pin 28 (SCL). The data is clocked on the
positive-going transition of SCL. Data is transferred from the
shift registers to the latched outputs on the positive-going
transition of LATCH. An example shift register connection is
shown in Figure 3.1.
The shift register data is output over the duration of a matrix
scan, as each key is being processed, and it is latched at the
end of the scan. The overall communication time depends on
the matrix scan time.
Table 3.2 Shift Register
Parameter
SCL low pulse width
SCL high pulse width
LATCH pulse width
SDA data to SCL clock hold time
Legend
tSCL
tSCH
tLATCH
tSDA-SCL
Units
500ns min
125us min
500ns min
75us min
Figure 3.2, page 11 shows a full shift register cycle with keys
3, 10 and 15 activated. Key Scan represents the time when
the chip is measuring signal from each key. SCL, SDA and
LATCH represent their respective signals from the chip. SCL
is an active low clock output. SDA is the data output; high if
the key is in detect and low if it is not. LATCH pulses low
when the data transfer is complete.
Data output proceeds as soon as the key has been
processed. Most keys do not get processed during the key
scan. If so, these keys are processed and the data is output
after the complete key scan.
The internal settings of the device in Shift Register mode are
the default factory settings found in Table 6.2. This means the
device will operate with a Burst Length of 48 on all keys, and
a Sleep time of 125ms for example. These settings cannot be
changed in this mode.
In Shift Register mode, the CHANGE pin is inactive and
should be left open.
3.3 I2C Port
These devices use I2C communications, in slave mode only.
The QT60160/QT60240 will only respond to the correct
address match. I2C operating parameters are as follows:
Max Data Transfer:
Address:
100KHz
7-bit
The match address is selected via pins A0 and A1. Table 3.1
shows the address selections.
The QT60160/QT60240 allows multiple byte transmissions to
provide a more efficient communication. This is particularly
useful to retrieve several information bytes at once. Every
time the host retrieves data from the QT60160/QT60240, an
internal address pointer is incremented.
Therefore, the host only needs to write the initial address
pointer of interest (the lowest address), followed by read
cycles for as many bytes as required.
Figure 3.1 Shift Register Output
QT60160/60240
SDA
27
28
SCL
Latch
9
74HC595
Q0
DS
Q2
Q3
SH_CP Q4
ST_CP Q5
Q6
Q7
/Q7
Outputs, keys 16 to 23
74HC595
Q0
DS
Q2
Q3
SH_CP Q4
ST_CP Q5
Q6
Q7
/Q7
Outputs, keys 8 to 15
74HC595
Q0
DS
Q2
Q3
SH_CP Q4
ST_CP Q5
Q6
Q7
/Q7
Outputs, keys 0 to 7
lQ
10
QT60240-ISG R8.06/0906