Interrupt Generation
MOTOROLA
Analog Signal Processor (ASP)
15-3
15.3 Interrupt Generation
The following interrupts are provided:
•
Pen Touch (pen down) Interrupt (IRQ number = 46)
It is generated upon a pen down event, can be programmed for level trigger or edge trigger.
•
Pen Data Compare Interrupt (IRQ number = 9)
Every pen sample is compared with a desired value. If it is greater than (or less than, programmable)
the desired value, an interrupt will be generated.
•
Pen-up Interrupt (IRQ number = 5)
In Auto XYU or ZXYU mode, with PUIE bit set, whenever a pen-up event is detected, an interrupt
signal is generated and sent to the interrupt controller.
•
Pen FIFO Data Ready Interrupt (IRQ number = 33)
It is generated whenever there is at least 1 valid data in the FIFO.
•
Pen FIFO Full Interrupt (IRQ number = 33)
15.4 Pen ADC (PADC) Operation
The Pen ADC, which has 9-bit accuracy, supports interfacing with a touch panel (X and Y-channel) and a
low voltage auxiliary input (U-channel). The sampling sequence as well as the sample rate is user
selectable and is up to 9.6 kHz for U-channel input, and 1.2 kHz for XYU + Auto Zero input.
There are 8 switches for the touch panel X and Y input signals, 2 switches for U-channel signal. In manual
mode, the switches are turned off/on per the input command from the Switch Control and Input Select
Logic block. In auto mode, they are controlled by a state machine, which is able to automatically generate
proper switch settings to select the target input signal for the PADC.
Sample data is stored into the Pen Sample FIFO, which is in 16-bit unsigned integer format. The FIFO is
circular buffer design, so if the data is not read fast enough, the FIFO will overflow and old data will be
overwritten. When an overflow occurs, the POV status bit is set in the Interrupt/Error Status Register.
Table 15-2. Simplified ASP Signal Path Parameters
Parameter
Description
Typical Value
R
p1
, R
p2
, R
u1
, R
u2
Pen ADC input resister
200 kOhm
C
d
Noise decoupling cap
0.01 uF
R
pd
Pen-down detect resister
100 kOhm
R
ref
Analog reference resister
40 kOhm
QVDD
ASP power supply
1.8 V
GND
ASP circuit ground
0 V
Содержание DragonBall MC9328MX1
Страница 68: ...1 12 MC9328MX1 Reference Manual MOTOROLA Introduction ...
Страница 86: ...2 18 MC9328MX1 Reference Manual MOTOROLA Signal Descriptions and Pin Assignments ...
Страница 116: ...3 30 MC9328MX1 Reference Manual MOTOROLA Memory Map ...
Страница 126: ...4 10 MC9328MX1 Reference Manual MOTOROLA ARM920T Processor ...
Страница 160: ...8 8 MC9328MX1 Reference Manual MOTOROLA System Control ...
Страница 272: ...13 32 MC9328MX1 Reference Manual MOTOROLA DMA Controller ...
Страница 281: ...Programming Model MOTOROLA Watchdog Timer Module 14 9 ...
Страница 282: ...14 10 MC9328MX1 Reference Manual MOTOROLA Watchdog Timer Module ...
Страница 300: ...15 18 MC9328MX1 Reference Manual MOTOROLA Analog Signal Processor ASP ...
Страница 438: ...18 16 MC9328MX1 Reference Manual MOTOROLA Serial Peripheral Interface Modules SPI 1 and SPI 2 ...
Страница 478: ...19 40 MC9328MX1 Reference Manual MOTOROLA LCD Controller ...
Страница 542: ...20 64 MC9328MX1 Reference Manual MOTOROLA Multimedia Card Secure Digital Host Controller Module MMC SD ...
Страница 574: ...21 32 MC9328MX1 Reference Manual MOTOROLA Memory Stick Host Controller MSHC Module ...
Страница 598: ...23 16 MC9328MX1 Reference Manual MOTOROLA Real Time Clock RTC ...
Страница 670: ...24 72 MC9328MX1 Reference Manual MOTOROLA SDRAM Memory Controller ...
Страница 726: ...25 56 MC9328MX1 Reference Manual MOTOROLA SmartCard Interface Module SIM ...
Страница 736: ...26 10 MC9328MX1 Reference Manual MOTOROLA General Purpose Timers ...
Страница 854: ...29 18 MC9328MX1 Reference Manual MOTOROLA I2C Module ...
Страница 900: ...30 46 MC9328MX1 Reference Manual MOTOROLA Synchronous Serial Interface SSI ...
Страница 942: ...32 26 MC9328MX1 Reference Manual MOTOROLA GPIO Module and I O Multiplexer IOMUX ...