Atmel Evaluation Kit for AT32uC3A0512, 32-Bit AVR Microcontroller Atmel ATEVK1105 ATEVK1105 데이터 시트

제품 코드
ATEVK1105
다운로드
페이지 826
702
AT32UC3A
33.6
Functional Description
33.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 Sample and Hold Clock cycles as defined in the field SHTIM of the MR
register and 10 ADC Clock cycles. The ADC Clock frequency is selected in the PRESCAL field
of the MR register. 
The ADC clock range is between CLK_ADC/2, if PRESCAL is 0, and CLK_ADC/128, if PRES-
CAL is set to 63 (0x3F). PRESCAL must be programmed in order to provide an ADC clock
frequency according to the parameters given in the Product definition section.
33.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.
33.6.3
Conversion Resolution
The ADC supports 8-bit or 10-bit resolutions. The 8-bit selection is performed by setting the bit
LOWRES in the ADC Mode Register (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 bit LOWRES, the ADC
switches in the lowest resolution and the conversion results can be read in the eight lowest sig-
nificant bits of the data registers. The two highest bits of the DATA field in the corresponding
CDR register and of the LDATA field in the LCDR register read 0. 
Moreover, when a PDC channel is connected to the ADC, 10-bit resolution sets the transfer
request sizes to 16-bit. Setting the bit LOWRES automatically switches to 8-bit data transfers. In
this case, the destination buffers are optimized. 
32058K
AVR32-01/12