Datasheet

1110
32117D–AVR-01/12
AT32UC3C
Figure 36-5. Using FRM and Converting at Full Speed
36.6.5 ADC Clock Configuration (CKDIV)
The clock frequency range for the ADC is [1.5 MHz - 32 KHz]. Since the ADC interface uses the
system clock up to the PB maximum frequency, a clock downscale must be done if a higher fre-
quency system clock is used. This scaling may also be done in order to slow down the ADC
conversions or increase the S/H time, without affecting the system clock. The downscale is done
by writing the maximum counter value in the Counter Value (CNT) field of the CKDIV register,
with a possible division factor from 1 to 512 giving the following transfer function:
T(CkADC)= T(CkPB)
· ((CNT + 1) · 2). The divider is enabled as soon as the ADC is enabled by
setting the ADCEN bit in the CFG register.
Figure 36-6. Clock Generator Block Diagram
In addition when CKDIV is written, the internal counter is reset to avoid rollover phenomena: DO
NOT WRITE CKDIV WHEN PERFORMING CONVERSIONS.
F(CkPB) should at least be 4 times greater than F(CkADC) to make the ADC controller work
properly.
36.6.6 ADC Multiplexers Settle Time
By default, channel multiplexers settle time is set to half a PB clock period. If operating with a
high PB clock frequency, then MUX settle time can be increased to achieve a 1.5 PB clock peri-
ods settle time by writing a one in the MUXSET field in the CFG register. For more information,
please refer to the ADC electrical characteristics.
CKDIV :
DIVIDE BY CNT
CkPB ADCIFA
[115 KHz - PB max
frequency]
CkADC
[32 KHz - 2 MHz]
/2