Touchscreen Controller/Analog-to-Digital Converter
MCF52277 Reference Manual, Rev. 1
Freescale Semiconductor
22-15
01
1
1
1
AZX, X, AZY, Y,
…
After ASPE is set, the ADC starts the conversion of the AZX, X, AZY, and Y
coordinates sets. The result is written to pen sample FIFO. The measurement idle
time, as configured in ASP_TIM[MIDLECNT], is only inserted after the X
measurement. Between AZX and X and between AZY and Y, no measurement idle
time is inserted. After one round of measurement is complete, optional round idle
time may be inserted using ASP_TIM[RIDLECNT]. After that, the ASP automatically
starts another round of measurement. Between each round of conversion, there is an
option to insert one pen-down detection phase after the round idle phase using
ASP_CR[PENE]. Pen-up detection is active at this time as well.
01
0
0
0
No data is written
to the FIFO
The touchscreen is parked in the pen-detection state.
01
0
0
1
X,Y
After ASPE is set, the ADC starts the conversion of the X, Y coordinates pairs. The
result is written to the pen sample FIFO. Between the X and Y conversion, optional
measurement idle time may be inserted using ASP_TIM[MIDLECNT]. After the X and
Y conversions, no more conversions occur in the current round and pen-up detection
is active. To start another round of conversion, ASPE must be first cleared and set
again.
01
0
1
0
No data is written
to the FIFO
The touchscreen is parked in the pen-detection state.
01
0
1
1
AZX, X, AZY, Y
After ASPE is set, the ADC starts the conversion of the AZX, X, AZY, and Y
coordinates sets. The result is written to pen sample FIFO. Between the conversion
of AZX to X and AZY to Y, no measurement idle time is inserted. The measurement
idle is only inserted after X measurement. After the X and Y conversions, no more
conversions occur in the current round and pen-up detection is active. To start
another round of conversion, ASPE must be first cleared and set again.
Auxiliary Input Sample Mode
10
1
X
0
No data is written
to the FIFO
The touchscreen is parked in the pen-detection state.
10
1
X
1
U
n
,…,U
1
,
U
n
,…,U
1
,
…
After ASPE is set, the continuous conversion of the active auxiliary channel begins.
U
i
indicates the active auxiliary channel numbering from high to low. For example, if
the touchscreen controller is configured as a 4-wire interface, then ADC_IN[7:4] are
available for ADC conversion, by setting the corresponding bit in ASP_CR[APTN].
Between each conversion except the round that wraps to the highest numbered
auxiliary channel, optional measurement idle time can be inserted using
ASP_TIM[MIDLECNT]. At the end of each round of conversion, there is an option to
insert round idle time using ASP_TIM[RIDLECNT]. Between each round of
conversion, you may insert one pen-down detection phase after the round idle phase.
The pen detection circuit is active if ASP_SET[SW] is set. AZE has no effect when
only general-purpose channels are converted.
10
0
X
0
No data is written
to the FIFO
The touchscreen is parked in the pen-detection state.
Table 22-11. Touchscreen Controller Operating Modes (TSE = 1) (continued)
ASP_CR Field
Pen Sample FIFO
Data Format
Notes
MODE
AU
T
O
AZE
ASPE
Содержание MCF52277
Страница 1: ...MCF52277 Reference Manual Devices Supported MCF52274 MCF52277 Document Number MCF52277RM Rev 1 04 2008...
Страница 22: ...MCF52277 Reference Manual Rev 1 Freescale Semiconductor xxii...
Страница 32: ...MCF52277 Reference Manual Rev 0 xxxii Freescale Semiconductor...
Страница 60: ...Signal Descriptions MCF52277 Reference Manual Rev 1 2 16 Freescale Semiconductor...
Страница 112: ...Enhanced Multiply Accumulate Unit EMAC MCF52277 Reference Manual Rev 1 4 20 Freescale Semiconductor...
Страница 128: ...Static RAM SRAM MCF52277 Reference Manual Rev 1 6 6 Freescale Semiconductor...
Страница 140: ...Clock Module MCF52277 Reference Manual Rev 1 7 12 Freescale Semiconductor...
Страница 172: ...Chip Configuration Module CCM MCF52277 Reference Manual Rev 1 9 16 Freescale Semiconductor...
Страница 180: ...Serial Boot Facility SBF MCF52277 Reference Manual Rev 1 10 8 Freescale Semiconductor...
Страница 188: ...Reset Controller Module MCF52277 Reference Manual Rev 1 11 8 Freescale Semiconductor...
Страница 210: ...Crossbar Switch XBS MCF52277 Reference Manual Rev 1 13 8 Freescale Semiconductor...
Страница 480: ...Liquid Crystal Display Controller LCDC MCF52277 Reference Manual Rev 1 21 44 Freescale Semiconductor...
Страница 510: ...Touchscreen Controller Analog to Digital Converter MCF52277 Reference Manual Rev 1 22 30 Freescale Semiconductor...
Страница 542: ...FlexCAN MCF52277 Reference Manual Rev 1 23 32 Freescale Semiconductor...
Страница 568: ...Pulse Width Modulation PWM Module MCF52277 Reference Manual Rev 1 24 26 Freescale Semiconductor...
Страница 640: ...Programmable Interrupt Timers PIT0 PIT1 MCF52277 Reference Manual Rev 1 27 8 Freescale Semiconductor...
Страница 690: ...DMA Serial Peripheral Interface DSPI MCF52277 Reference Manual Rev 1 29 40 Freescale Semiconductor...
Страница 724: ...UART Modules MCF52277 Reference Manual Rev 1 30 34 Freescale Semiconductor...
Страница 740: ...I2 C Interface MCF52277 Reference Manual Rev 1 31 16 Freescale Semiconductor...
Страница 790: ...Debug Module MCF52277 Reference Manual Rev 1 32 50 Freescale Semiconductor...