Atmel ARM-Based Evaluation Kit AT91SAM9N12-EK AT91SAM9N12-EK Data Sheet

Product codes
AT91SAM9N12-EK
Page of 1104
865
SAM9N12/SAM9CN11/SAM9CN12 [DATASHEET]
11063K–ATARM–05-Nov-13
42.6
Functional Description
42.6.1 Analog-to-digital 
Conversion
The ADC uses the ADC Clock to perform conversions. Converting a single analog value to a 10-bit digital data requires
Tracking Clock cycles as defined in the field TRACKTIM of the 
frequency is selected in the PRESCAL field of the Mode Register (ADC_MR). The tracking phase starts during the
conversion of the previous channel. If the tracking time is longer than the conversion time, the tracking phase is extended
to the end of the previous conversion.
The ADC clock range is between MCK/2, if PRESCAL is 0, and MCK/512, if PRESCAL is set to 255 (0xFF). PRESCAL
must be programmed in order to provide an ADC clock frequency according to the parameters given in the product
Electrical Characteristics section.
Figure 42-2.  Sequence of ADC conversions
42.6.2 Conversion 
Reference
The conversion is performed on a full range between 0V and the reference voltage pin ADVREF. Analog inputs between
these voltages convert to values based on a linear conversion.
42.6.3 Conversion 
Resolution
The ADC supports 8-bit or 10-bit resolutions. The 8-bit selection is performed by setting the LOWRES bit in the ADC
Mode Register (ADC_MR). By default, after a reset, the resolution is the highest and the DATA field in the data registers
is fully used. By setting the LOWRES bit, the ADC switches to the lowest resolution and the conversion results can be
read in the lowest significant bits of the data registers. The two highest bits of the DATA field in the corresponding
ADC_CDR register and of the LDATA field in the ADC_LCDR register read 0. 
ADCClock
LCDR
ADC_ON
ADC_SEL
DRDY
ADC_Start
CH0
CH1
CH0
CH2
CH1
Start Up Time
(and tracking of CH0)
Conversion of CH0
Conversion of CH1
Tracking of CH1
Tracking of CH2
ADC_eoc
Trigger event
(Hard or Soft)
An
a
log cell IO
s