Pen ADC (PADC) Operation
MOTOROLA
Analog Signal Processor (ASP)
15-7
15.4.3 Auto-Zero Function
Due to the large amount of flicker noise in MOS devices that degrade ADC accuracy, an auto-zero
measurement method is introduced to store the flicker noise data during each set of measurements. This
data will be subtracted from the output sample, by the user’s software. It is recommended that the
auto-zero measurement always be enabled.
There are 2 options for the auto-zero point.
•
AZ_SEL = 1: this option includes the 200k resistors
•
AZ_SEL = 0: this option excludes the 200k resistors
15.4.4 Pen-Down Detection
The pen-down interrupt function is provided for idle mode configuration. In idle mode, PX1 is used as a
trigger pin for pen-down interrupt generation. PX1 is normally pulled-up to VDD by Rpd, while PY2 is
pulled-down to GND by SW6. When the pen is down, PX1 shorts to PY1 and then pulled to GND. A
falling edge is produced which triggers the interrupt circuit to generate a pen-down interrupt.
15.4.5 Pen-Up Detection (Method 1 – Compare Value)
Using this method, a pen up condition is detected by sample value comparison.
Because the sample value of pen up is always smaller than that of pen down; this property can be used to
detect pen up.
The value in the Compare Control Register is compared to every pen sample. If the sample is smaller than
the register value, an interrupt is generated. The user should set a compare value which lies between the
pen-up and minimum pen-down value. The compare value is panel-dependent and the user should
experiment to determine the optimum setting.
15.4.6 Pen-Up Detection (Method 2 – Detect Rising Edge)
Using this method, a pen up condition is detected by sampling the level on PX1 pin, its trigger determined
by level going high. The method is similar to the one used for pen down detection.
This method is available only in Auto XYU or Auto ZXYU mode. During the time slot for U, the switches
are automatically configured to be the same as for pen down detection (idle mode), for example only SW6
is on. PX1 is normally pulled-down by SW6 when the pen touched the screen. When the pen is up, PX1 is
released and pulled up by the external resistor Rpd. When the level goes high it is reflected by PUIS bit in
the interrupt status register.
15.4.7 Temperature Compensation
In general, the characteristics of the ADC changes with temperature. To keep the ADC stable, either a
compensation circuit or a compensation algorithm is required. Because a temperature compensation circuit
does not exist in the ASP module, software must be used for compensation.
Auto calibration mode provides the necessary switch settings to help software provide temperature
compensation.
Содержание 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 ...