ATtiny88 Automotive Atmel Corporation, ATtiny88 Automotive Datasheet - Page 176

no-image

ATtiny88 Automotive

Manufacturer Part Number
ATtiny88 Automotive
Description
Manufacturer
Atmel Corporation

Specifications of ATtiny88 Automotive

Flash (kbytes)
8 Kbytes
Pin Count
32
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
12
Hardware Qtouch Acquisition
No
Max I/o Pins
28
Ext Interrupts
28
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
0.5
Eeprom (bytes)
64
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
Yes
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
4
Input Capture Channels
1
Pwm Channels
2
32khz Rtc
No
Calibrated Rc Oscillator
Yes
17.11 ADC Conversion Result
17.12 Temperature Measurement
176
ATtiny88 Automotive
After the conversion is complete (ADIF is high), the conversion result can be found in the ADC
Result Registers (ADCL, ADCH).
For single ended conversion, the result is
where V
Table 17-3 on page 177
0x3FF represents the selected reference voltage minus one LSB.
The temperature measurement is based on an on-chip temperature sensor that is coupled to a
single-ended ADC8 channel. Selecting the ADC8 channel by writing the MUX3..0 bits in ADMUX
register to “1000” enables the temperature sensor. The internal 1.1V voltage reference must
also be selected for the ADC voltage reference source in the temperature sensor measurement.
When the temperature sensor is enabled, the ADC converter can be used in single conversion
mode to measure the voltage over the temperature sensor.
The measured voltage has a linear relationship to the temperature as described in
The sensitivity is approximately 1 LSB / C and the accuracy depends on the method of user
calibration. Typically, the measurement accuracy after a single temperature calibration is ±
assuming calibration at room temperature. Better accuracies are achieved by using two
temperature points for calibration.
Table 17-2.
The values described in
temperature sensor output voltage varies from one chip to another. To be capable of achieving
more accurate results the temperature measurement can be calibrated in the application soft-
ware. The sofware calibration can be done using the formula:
where ADCH and ADCL are the ADC data registers, k is the fixed slope coefficient and T
temperature sensor offset. Typically, k is very close to 1.0 and in single-point calibration the
coefficient may be omitted. Where higher accuracy is required the slope coefficient should be
evaluated based on measurements at two temperatures.
Temperature
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.
T = k * [(ADCH << 8) | ADCL] + T
IN
is the voltage on the selected input pin and V
Temperature vs. Sensor Output Voltage (Typical Case)
Table 17-2
and
Table 17-4 on page
230 LSB
-40 C
ADC
are typical values. However, due to process variation the
=
OS
V
---------------------------- -
IN
V
REF
177). 0x000 represents analog ground, and
1024
REF
300 LSB
+25 C
the selected voltage reference (see
370 LSB
+125 C
9157B–AVR–01/10
Table 17-2
OS
10
is the
C,

Related parts for ATtiny88 Automotive