mc68hc908qz16 Freescale Semiconductor, Inc, mc68hc908qz16 Datasheet - Page 57

no-image

mc68hc908qz16

Manufacturer Part Number
mc68hc908qz16
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
3.8.3 ADC Clock Register
The ADC clock register (ADCLK) selects the clock frequency for the ADC.
ADIV2–ADIV0 — ADC Clock Prescaler Bits
ADICLK — ADC Input Clock Select Bit
The ADC requires a clock rate of approximately 1 MHz for correct operation. If the selected clock source
is not fast enough, the ADC will generate incorrect conversions. See
MODE1 and MODE0 — Modes of Result Justification Bits
Freescale Semiconductor
ADIV2–ADIV0 form a 3-bit field which selects the divide ratio used by the ADC to generate the internal
ADC clock.
approximately 1 MHz.
ADICLK selects either the bus clock or the oscillator output clock (CGMXCLK) as the input clock
source to generate the internal ADC clock. Reset selects CGMXCLK as the ADC clock source.
MODE1 and MODE0 select among four modes of operation. The manner in which the ADC conversion
results will be placed in the ADC data registers is controlled by these modes of operation. Reset returns
right-justified mode.
1 = Internal bus clock
0 = Oscillator output clock (CGMXCLK)
00 = 8-bit truncation mode
01 = Right justified mode
10 = Left justified mode
11 = Left justified signed data mode
Address:
Table 3-2
f
ADIC
Reset:
Read:
Write:
=
ADIV2
$003F
Bit 7
1. X = Don’t care
f
CGMXCLK
0
shows the available clock configurations. The ADC clock should be set to
ADIV2
0
0
0
0
1
MC68HC908GZ16 • MC68HC908GZ8 Data Sheet, Rev. 4
Figure 3-9. ADC Clock Register (ADCLK)
= Unimplemented
ADIV1
ADIV[2:0]
6
0
Table 3-2. ADC Clock Divide Ratio
or bus frequency
ADIV1
X
0
0
1
1
(1)
ADIV0
5
0
ADIV0
X
0
1
0
1
(1)
ADICLK
R
4
0
≅ 1 MHz
ADC input clock ÷ 1
ADC input clock ÷ 2
ADC input clock ÷ 4
ADC input clock ÷ 8
ADC input clock ÷ 16
= Reserved
MODE1
3
0
ADC Clock Rate
MODE0
21.10 5.0-Volt ADC
2
1
R
1
0
Bit 0
0
0
Characteristics.
I/O Registers
57

Related parts for mc68hc908qz16