ATTINY25-20SUR Atmel, ATTINY25-20SUR Datasheet - Page 136

no-image

ATTINY25-20SUR

Manufacturer Part Number
ATTINY25-20SUR
Description
MCU AVR 2KB FLASH 20MHZ 8SOIC
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheet

Specifications of ATTINY25-20SUR

Core Processor
AVR
Core Size
8-Bit
Speed
20MHz
Connectivity
USI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
6
Program Memory Size
2KB (1K x 16)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 4x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
17.11 ADC Conversion Result
17.11.1
136
ATtiny25/45/85
Single Ended Conversion
Figure 17-12. Differential Non-linearity (DNL)
After the conversion is complete (ADIF is high), the conversion result can be found in the ADC
Result Registers (ADCL, ADCH). The form of the conversion result depends on the type of the
conversio as there are three types of conversions: single ended conversion, unipolar differential
conversion and bipolar differential conversion.
For single ended conversion, the result is
where V
Table 17-3 on page 138
0x3FF represents the selected voltage reference minus one LSB. The result is presented in one-
sided form, from 0x3FF to 0x000.
• Differential Non-linearity (DNL): The maximum deviation of the actual code width (the interval
• Quantization Error: Due to the quantization of the input voltage into a finite number of codes,
• Absolute Accuracy: The maximum deviation of an actual (unadjusted) transition compared to
between two adjacent transitions) from the ideal code width (1 LSB). Ideal value: 0 LSB.
a range of input voltages (1 LSB wide) will code to the same value. Always ± 0.5 LSB.
an ideal transition for any code. This is the compound effect of offset, gain error, differential
error, non-linearity, and quantization error. Ideal value: ± 0.5 LSB.
Output Code
IN
is the voltage on the selected input pin and V
0x000
0x3FF
0
and
1 LSB
Table 17-4 on page
ADC
=
V
--------------------------
IN
V
REF
1024
139). 0x000 represents analog ground, and
REF
the selected voltage reference (see
V
REF
Input Voltage
2586M–AVR–07/10

Related parts for ATTINY25-20SUR