English
Language : 

MC68HC908AT32 Datasheet, PDF (228/378 Pages) Freescale Semiconductor, Inc – Microcontrollers
Analog-to-Digital Converter (ADC-8)
21.6 I/O Signals
The ADC module has eight channels that are shared with I/O ports B. Refer to 29.6 ADC Characteristics
for voltages referenced below.
21.6.1 ADC Analog Power Pin (VDDAREF)/ADC Voltage Reference Pin (VREFH)
The ADC analog portion uses VDDAREF as its power pin. Connect the AVDD/VDDAREF pin to the same
voltage potential as VDD. External filtering may be necessary to ensure clean VDDAREF for good results.
VREFH is the high reference voltage for all analog-to-digital conversions. Connect the VREFH pin to a
voltage potential between 1.5 volts and VDDAREF/AVDD depending on the desired upper conversion
boundary.
NOTE
Route VDDAREF carefully for maximum noise immunity and place bypass
capacitors as close as possible to the package.
21.6.2 ADC Analog Ground Pin (AVSS)/ADC Voltage Reference Low Pin (VREFL)
The ADC analog portion uses AVSS as its ground pin. Connect the AVSS pin to the same voltage potential
as VSS.
VREFL is the lower reference supply for the ADC.
21.6.3 ADC Voltage In (ADCVIN)
ADCVIN is the input voltage signal from one of the eight ADC channels to the ADC module.
21.7 I/O Registers
These I/O registers control and monitor ADC operation:
• ADC status and control register (ADSCR)
• ADC data register (ADR)
• ADC clock register (ADICLK)
21.7.1 ADC Status and Control Register
The following paragraphs describe the function of the ADC status and control register.
Address:
Read:
Write:
Reset:
$0038
Bit 7
COCO
R
0
R
6
5
AIEN
ADCO
0
0
= Reserved
4
ADCH4
1
3
ADCH3
1
2
ADCH2
1
1
ADCH1
1
Figure 21-2. ADC Status and Control Register (ADSCR)
Bit 0
ADCH0
1
MC68HC908AT32 Data Sheet, Rev. 3.1
228
Freescale Semiconductor