beautypg.com

Adc – analog to digital converter, 1 features, Adc – analog to digital converter” on – Rainbow Electronics ATmega64M1 User Manual

Page 225

background image

225

8209A–AVR–08/09

ATmega16M1/32M1/64M1

22. ADC – Analog to Digital Converter

22.1

Features

10-bit Resolution

0.5 LSB Integral Non-linearity

± 2 LSB Absolute Accuracy

8- 250 µs Conversion Time

Up to 120 kSPS at Maximum Resolution

11 Multiplexed Single Ended Input Channels

3 Differential input channels with accurate (5%) programmable gain 5, 10, 20 and 40

Optional Left Adjustment for ADC Result Readout

0 - V

CC

ADC Input Voltage Range

Selectable 2.56 V ADC Reference Voltage

Free Running or Single Conversion Mode

ADC Start Conversion by Auto Triggering on Interrupt Sources

Interrupt on ADC Conversion Complete

Sleep Mode Noise Canceler

Temperature Sensor

LiN Address Sense (ISRC Voltage Measurement)

Vcc Voltage Measurement

The ATmega16M1/32M1/64M1 features a 10-bit successive approximation ADC. The ADC is
connected to an 15-channel Analog Multiplexer which allows eleven single-ended input. The sin-
gle-ended voltage inputs refer to 0V (GND).

The device also supports 3 differential voltage input amplifiers which are equipped with a pro-
grammable gain stage, providing amplification steps of 14dB (5x), 20 dB (10x), 26 dB (20x), or
32dB (40x) on the differential input voltage before the A/D conversion. On the amplified chan-
nels, 8-bit resolution can be expected.

The ADC contains a Sample and Hold circuit which ensures that the input voltage to the ADC is
held at a constant level during conversion. A block diagram of the ADC is shown in

Figure 22-1

.

The ADC has a separate analog supply voltage pin, AV

CC

. AV

CC

must not differ more than ±

0.3V from V

CC

. See the paragraph

“ADC Noise Canceler” on page 232

on how to connect this

pin.

Internal reference voltages of nominally 2.56V or AV

CC

are provided On-chip. The voltage refer-

ence may be externally decoupled at the AREF pin by a capacitor for better noise performance.