Touchscreen Controller/Analog-to-Digital Converter
MCF52277 Reference Manual, Rev. 1
Freescale Semiconductor
22-17
22.5
Initialization/Application Information
After reset, the ASP module is in power-down mode. Configure the module according to the application
requirements. Then, enable the module by clearing ASP_CR[MDIS]. The suggested configuration for
various typical applications is defined in this section.
22.5.1
Touchscreen Mode 00
Touchscreen mode 00 provides the most flexibility. All control of the bias switches and reference/input
muxes is dependent on ASP_SET. Starting the conversion is also fully decided by asserting ASPE. With
this flexibility, you can freely define your own operation sequence. Although TSE is set in this mode, you
can also use this mode to implement complex general-purpose ADC conversion sequences. Because of this
flexibility, it is the only mode not suitable for basic operation and requires the heaviest load on the
processor. Therefore, it is highly recommended not to use this mode, unless other modes cannot achieve
the required operation.
illustrate a typical operation sequence when TSE = 1, CALA = 0,
MODE = 00 (AUTO, AZE, PENE, MIDLECNT, and RIDLECNT are not relevant to the operation).
Table 22-12. General ADC Operating Modes (TSE=0)
ASP_CR Field
Pen Sample FIFO
Data Format
Notes
AU
T
O
ASPE
0
0
No data is written
to the FIFO
When ASPE is cleared, there is no operation.
0
1
U
n
,…,U
1
When ASPE is set, the ASP starts one round of conversion. For each active auxiliary
channel an ADC conversion is initiated. The process repeats until the last active auxiliary
channel is complete. Between each conversion, optional measurement idle time can be
inserted using ASP_TIM[MIDLECNT].
If no auxiliary channel is active (ASP_CR[APTN] = 0x00), there is no operation.
1
0
No data is written
to the FIFO
When ASPE is cleared, there is no operation.
1
1
U
n
,…,U
1
,
U
n
,…,U
1
,
…
When ASPE is set, the ASP starts continuous conversion on active auxiliary channels.
The measurement sequence is started from highest numbered active channel to lowest
numbered active channel. The same sequence repeats until ASPE is cleared. For each
active auxiliary channel an ADC conversion is initiated. 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].
If no auxiliary channel is active (ASP_CR[APTN] = 0x00), there is no operation.
Содержание 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...