The MK712 Touch Screen Controller IC provides
all the screen drive, A to D converter and control
circuits to easily interface to 4-wire analog resistive
touch screens.
The IC continually monitors the screen waiting
for a touch. In this mode, the supply current is
typically 0.5µA. When the screen is touched, the
IC performs analog to digital conversions to
determine the location of the touch, stores the X
and Y locations in the registers, and issues an
interrupt. This process is repeated up to 197 times
per second until no further screen touches are
detected, at which time the low current mode is
resumed.
Block Diagram
8
D0-D7
3
A0-A2
CS
RD
WR
CLKIN
(14.318 MHz)
INT
TOUCH
REGISTERS
STATUS LOW
STATUS HIGH
X-LOW
X-HIGH
Y-LOW
Y-HIGH
CONTROL
RATE
12 Bit A/D,
Screen Driver
and
Controller
0
1
2
3
4
5
6
7
• Fully integrated, lowest power solution
• Low standby current of 0.5µA (typical) at 5.0V
• Active current while converting less than 10 mA
• Resolves 350 dots/inch on 10.5” display
• Maximum speed of 197 points/second
• Ratiometric conversion may eliminate screen
calibration
• Automatically wakes up and goes back to standby
• 3.3V or 5V supply
• 12 bit A/D converter
• Simplifies the writing of software for touch screens
• Extended temperature range available
• Capacitors are the only external components
required
• Touch screen is directly driven - no external
transistors are required
1NC-No Connect
2INTOInterrupt. Goes high to signal an interrupt. Cleared on next read.
3TOUCHOTouch signal. Goes low when screen is touched. Goes high when not touched.
4VDDPConnect to +5V or +3.3V.*
5VDDPConnect to +5V or +3.3V.*
6XHTSConnect to X-high on touch screen. (Right side)
7XLTSConnect to X-low on touch screen. (Left side)
8YHTSConnect to Y-high on touch screen. (Top)
9YLTSConnect to Y-low on touch screen. (Bottom)
10GNDPConnect to ground.
11GNDPConnect to ground.
12WRIWrite enable. Active low.
13RDIRead enable. Active low.
14CSIChip select. Active low.
15A2IRegister address 2.
16A1IRegister address 1.
17A0IRegister address 0.
18CLKINIClock input. Typically 14.3 MHz. Best if driven by a MicroClock clock synthesizer.
19D7I/OData bit 7.
20D6I/OData bit 6.
21GNDPConnect to ground.
22VDDPConnect to +5V or +3.3V.*
23D5I/OData bit 5.
24D4I/OData bit 4.
25D3I/OData bit 3.
26D2I/OData bit 2.
27D1I/OData bit 1.
28D0I/OData bit 0.
Key: I = Input, O = Output, I/O = Input and Output, P = Power, TS = Touch Screen pin..
*Note: All VDD’s must be connected to the same voltage.
Interrupts
Interrupts are controlled by register 6 (see Register Description). The INT pin (pin 2) goes high to
signal an interrupt. Interrupts are then cleared by reading any register. However, if the MK712 is in the
process of generating an interrupt during a read cycle, then the interrupt is not cleared and INT will stay
high. This internal process may take 100ns, and so to guarantee that the interrupt is cleared, two
successive read cycles may be necessary.
The MK712 register set is designed to be compatible with the Gazelle pen digitizer registers allowing a
software driver for the Gazelle digitizer to be used with the MicroClock MK712. The eight 8-bit registers
are defined below:
STATUS LOW (0 READ)
71 03 25 46
Always zero
1 = touch
Always zero
1 = conversion complete,
cleared on Y-HIGH read
NOTE: When the screen is touched bits 4 and 5,
register 0, and bits 2 and 3 of register 1 are all set to one.
STATUS HIGH (1 READ)
71 03 25 46
Always zero
1 = touch
Always zero
X-LOW (2 READ)
71 03 25 46
Low order bits of X co-ordinate
X-HIGH (3 READ)
71 03 25 46
High order bits of X co-ordinate
Always zero
Y-LOW (4 READ)
71 03 25 46
Low order bits of Y co-ordinate
Y-HIGH (5 READ)
71 03 25 46
High order bits of Y co-ordinate
Always zero
CONTROL (6 R/W)
71 03 25 46
1 = enable interrupts
1 = interrupt on conversion
complete ( if bit 0 = 1)
1 = interrupt on change in
touch status (if bit 0 = 1)
1 = interrupt on change in
touch status (if bit 0 = 1)
1 = enable periodic conversions at
rate indicated by RATE register
1 = read one point. Cleared when
conversion complete. Only functions
when bit 4 = 0
0 = powerdown (PD). Conversions,
interrupts and TOUCH output disabled
1 = powerdown (PD). Conversions,
interrupts and TOUCH output
disabled.
NOTE: Bits 2 or 3 and bits 6 or 7 are logically OR’d. For
example writing bit 2 or bit 3 to a one will enable interrupts
on change in touch status.
RATE (7 R/W)
71 03 25 46
Count controls frequency of
conversion when periodic
conversions are enabled. See
table on page 5.
P.P.S. = Points Per Second. With a 14.318 MHz clock.
Calculating Points Per Second
The formula for determining P.P.S. is:
fin
P.P.S. =
35716 + (4096 x COUNT)
Where fin is the frequency
of the CLKIN input.
Power-On Reset
On application of power, an internal reset is generated that clears all bits in registers 0, 1, and 6. Register 7 is
set to 32 giving a rate of 86 PPS. Note that clearing register 6 puts the IC into the power down condition.
Initializing the MK712
The interrupt on the MK712 can only be cleared by reading a register or by writing register 6 to the
power down condition. After a fault condition, initialize the MK712 by writing register 6 to zero and
then writing register 6 to the desired value. This will always clear pending interrupts.