12.07.2015 Views

ATmega32A Datasheet - Sunrom Technologies

ATmega32A Datasheet - Sunrom Technologies

ATmega32A Datasheet - Sunrom Technologies

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>ATmega32A</strong>Figure 22-9.ADC Power ConnectionsGNDVCCPA0 (ADC0)PA1 (ADC1)PA2 (ADC2)PA3 (ADC3)PA4 (ADC4)PA5 (ADC5)PA6 (ADC6)PA7 (ADC7)AREFGNDAVCC100nF 10μHAnalog Ground PlanePC722.7.3 Offset Compensation SchemesThe gain stage has a built-in offset cancellation circuitry that nulls the offset of differential measurementsas much as possible. The remaining offset in the analog path can be measureddirectly by selecting the same channel for both differential inputs. This offset residue can be thensubtracted in software from the measurement results. Using this kind of software based offsetcorrection, offset on any channel can be reduced below one LSB.22.7.4 ADC Accuracy DefinitionsAn n-bit single-ended ADC converts a voltage linearly between GND and V REF in 2 n steps(LSBs). The lowest code is read as 0, and the highest code is read as 2 n -1.Several parameters describe the deviation from the ideal behavior:• Offset: The deviation of the first transition (0x000 to 0x001) compared to the ideal transition(at 0.5 LSB). Ideal value: 0 LSB.8155C–AVR–02/11219

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!