ATtiny25 Automotive Atmel Corporation, ATtiny25 Automotive Datasheet - Page 121

no-image

ATtiny25 Automotive

Manufacturer Part Number
ATtiny25 Automotive
Description
Manufacturer
Atmel Corporation

Specifications of ATtiny25 Automotive

Flash (kbytes)
2 Kbytes
Pin Count
8
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
4
Hardware Qtouch Acquisition
No
Max I/o Pins
6
Ext Interrupts
6
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
4
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
0.12
Eeprom (bytes)
128
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 125
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
2
Output Compare Channels
5
Pwm Channels
6
32khz Rtc
No
Calibrated Rc Oscillator
Yes
18.7
18.7.1
18.7.2
7598H–AVR–07/09
ADC Conversion Result
Single Ended Conversion
Unipolar Differential Conversion
Figure 18-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 18-3 on page 123
0x3FF represents the selected voltage reference minus one LSB. The result is presented in
one-sided form, from 0x3FF to 0x000.
If differential channels and an unipolar input mode are used, the result is
ADC
ADC
• 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
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.
=
=
IN
V
---------------------------- -
---------------------------------------------------------- -
V
IN
is the voltage on the selected input pin and V
POS
V
REF
1024
V
V
Output Code
NEG
REF
0x000
0x3FF
and
1024
0
Table 18-4 on page
1 LSB
GAIN
124). 0x000 represents analog ground, and
REF
the selected voltage reference (see
V
REF
ATtiny25/45/85
Input Voltage
121

Related parts for ATtiny25 Automotive