
REV. 0
AD7843
–15–
been enabled (see Table III), when the touch screen connected
to the AD7843 is touched via a pen or finger, the
PENIRQ
output
will go low initiating an interrupt to a microprocessor which may
then instruct a control word to be written to the AD7843 to
initiate a conversion. This output can also be enabled between
conversions during power-down (see Table III) allowing power-
up to be initiated only when the screen is touched. The result of
the first touch screen coordinate conversion after power-up will
be valid assuming any external reference is settled to the 12- or
8-bit level as required.
EXTERNAL
PULL-UP
TOUCH
SCREEN
100k
X+
Y
–
Y+
PENIRQ
ENABLE
+V
CC
PENIRQ
ON
+V
CC
Figure 13.
PENIRQ
Functional Block Diagram
Figure 14 assumes the
PENIRQ
function has been enabled in
the last write or the part has just been powered up so
PENIRQ
is enabled by default. Once the screen is touched, the
PENIRQ
output will go low a time t
PEN
later. This delay is approximately
5
μ
s, assuming a 10 nF touch screen capacitance, and will vary
with the touch screen resistance actually used. Once the START
bit is detected, the pen interrupt function is disabled and the
PENIRQ
will not respond to screen touches. The
PENIRQ
CS
DCLK
1
16
DIN
t
PEN
8
1
A2
A1
A0
MODESER/
1
0
S
NO RESPONSE TO TOUCH
(START)
PENIRQ
INTERRUPT
PROCESSOR
SCREEN
TOUCHED
HERE
PD1 = 1, PD0 = 0,
PENIRQ
ENABLED AGAIN
13
Figure 14.
PENIRQ
Timing Diagram
output will remain low until the fourth falling edge of DCLK
after the START bit has been clocked in, at which point it will
return high as soon as possible, regardless of the touch screen
capacitance. This does not mean the pen interrupt function is
now enabled again as the power-down bits have not yet been
loaded to the control register. So regardless of whether
PENIRQ
is to be enabled again or not the
PENIRQ
output will always
idle high normally. Assuming the
PENIRQ
is enabled again as
shown in Figure 14, once the conversion is complete, the
PENIRQ
output will respond to a screen touch again. The fact
that
PENIRQ
returns high almost immediately after the fourth
falling edge of DCLK, means the user will avoid any spurious
interrupts on the microprocessor or DSP which could occur if
the interrupt request line on the micro/DSP was unmasked
during or toward the end of conversion with the
PENIRQ
pin
still low. Once the next START bit is detected by the AD7843
the
PENIRQ
function is disabled again.
If the control register write operation will overlap with the data
read, a START bit will always be detected prior to the end of
conversion, meaning that even if the
PENIRQ
function has been
enabled in the Control Register it will be disabled by the START
bit again before the end of the conversion is reached, so the
PENIRQ
function effectively cannot be used in this mode.
However, as conversions are occurring continuously, the
PENIRQ
function is not necessary and, therefore, redundant.
GROUNDING AND LAYOUT
For information on grounding and layout considerations for the
AD7843 refer to the “Layout and Grounding Recommendations
for Touch Screen Digitizers” Technical Note.