|
AK4183_06 Datasheet, PDF (14/17 Pages) – | |||
|
◁ |
ASAHI KASEI
[AK4183]
 Pen Interrupt
The AK4183 has a pen-interrupt function to detect the pen touch on the touch panel. This function will use as the interrupt of the
microprocessor. Pen interrupt function is enabled at power-down state. YN driver is on and this pin is connected to GND at the
power down state. And XP pin is pulled up via an internal resister (Ri), typically 10Kâ¦. If the touch plate is touched by pen or
stylus, the current flows via <VCC>-<Ri>-<XP>-<the plates>-<YN>-<GND>. The resistance of the plate is generally 1K⦠or less,
PENIQRN pin is force to âLâ level. If the pen is released, PENIRQN returns âHâ level because two plates are disconnected, and the
current does not flow via two plates.
The transition of PENIRQN is related to PD0 bit. PD0 bit is updated as shown below. (Please see âpower-down controlâ for the
detail. Once the control command with PD0= â1â is sent the pen-interrupt function is disabled.
The clock number under the write and the read operation refer to Figure 13 and Figure 14.
I.
The period from start condition to SCL7â
The level transition of PENIRQN pin is determined by PD0 bit of the previous command. When the previous command
with PD0= â0â the pen-interrupt function will be enabled. PENIRQN pin is low when the panel is touch, PENIRQN pin is
âHâ when the panel is untouched. When the previous command with PD0= â1â is sent PENIRQN pin is low regardless of
pen-touch
II. The period SCL7â to SCL8â on the write operation
The level of PENIRQN pin is always low regardless of PD0 bit and the state of panel (touched/untouched)
III. The period from SCL8â to SCL18â on the write operation
The level transition of PENIRQN pin is determined by PD0 bit of the previous command. When the previous command
with PD0= â0â the pen-interrupt function will be enabled. PENIRQN pin is low when the panel is touch, PENIRQN pin is
âHâ when the panel is untouched. When the previous command with PD0= â1â is sent PENIRQN pin is low regardless of
pen-touch
IV. The period from SCL18â on the write operation to SCL7â on the read operation
The level of PENIRQN pin is determined by the A2 bit and PD0 bit of the present command. PENIRQN pin is always low
regardless pen-touch when command with A2 = â1â or PD0 = â1â is set. PENIRQN is determined by the pen-touch
(touched/untouched) when command with A2= â1â and PD0= â1â is sent.
V. The period from SCL7â to SCL21â on the write operation
The AD input will sample the hold and the conversion will be done during this period. PENIRQN is always low.
VI. The period after SCL21â on the read operation
The level transition of PENIRQN pin is determined by PD0 bit of the present command. When the present command with
PD0= â0â is sent the pen-interrupt function will be enabled. PENIRQN pin is low when the panel is touched. PENIRQN
pin is âHâ when the panel is untouched. When the present command with PD0= â1â are sent PENIRQN pin is low
regardless of pen-touch.
It is recommended that the processor will mask the pseudo interrupt while the control command is issued or AD data is sent to
processor.
VCC
EN1
VCC
Ri =
10kâ¦
VCC
EN2
Driver OFF
Driver ON
PENIRQN
To uP
PEN Interrupt
XP
YN
Figure 15 Pen interrupt function block
MS0500-E-00
14
2006/04
|
▷ |