ATtiny167 Atmel Corporation, ATtiny167 Datasheet - Page 202

no-image

ATtiny167

Manufacturer Part Number
ATtiny167
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATtiny167

Flash (kbytes)
16 Kbytes
Pin Count
20
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
8
Hardware Qtouch Acquisition
No
Max I/o Pins
16
Ext Interrupts
16
Usb Speed
No
Usb Interface
No
Spi
2
Twi (i2c)
1
Uart
1
Lin
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
11
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)
512
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.8 to 5.5
Operating Voltage (vcc)
1.8 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
2
Output Compare Channels
3
Input Capture Channels
1
Pwm Channels
9
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATtiny167-15MZ
Manufacturer:
ATMEL
Quantity:
670
Part Number:
ATtiny167-A15MZ
Manufacturer:
ATMEL
Quantity:
480
Part Number:
ATtiny167-A15MZ
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny167-A15XD
Manufacturer:
BOSCH
Quantity:
40 000
Part Number:
ATtiny167-A15XZ
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny167-AXZ
Quantity:
17
17.8
17.8.1
17.8.2
17.8.3
202
ADC Conversion Result
ATtiny87/ATtiny167
Single Ended Conversion
Unipolar Differential Conversion
Bipolar Differential Conversion
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
conversion as there are three types of conversions: single ended conversion, unipolar differ-
ential conversion and bipolar differential conversion.
For single ended conversion, the result is:
where V
Table 17-4 on page 205
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:
where V
and V
206). The voltage on the positive pin must always be larger than the voltage on the negative
pin or otherwise the voltage difference is saturated to zero. The result is presented in
one-sided form, from 0x000 (0
As default the ADC converter operates in the unipolar input mode, but the bipolar input mode
can be selected by writing the BIN bit in the ADCSRB register to one. In the bipolar input mode
two-sided voltage differences are allowed and thus the voltage on the negative input pin can
also be larger than the voltage on the positive input pin. If differential channels and a bipolar
input mode are used, the result is:
where V
and V
from 0x200 (-512
REF
REF
IN
POS
POS
the selected voltage reference (see
the selected voltage reference. The result is presented in two’s complement form,
is the voltage on the selected input pin and V
is the voltage on the positive input pin, V
is the voltage on the positive input pin, V
d
) through 0x000 (+0
and
ADC
ADC
Table 17-5 on page
d
) to 0x3FF (+1023
=
=
(
------------------------------------------------------- - GAIN
(
---------------------------------------------------- - GAIN
ADC
V
V
POS
d
POS
) to 0x1FF (+511
=
V
V
V
V
V
--------------------------
REF
REF
NEG
Table 17-4 on page 205
NEG
IN
V
REF
d
) 1024
1024
206). 0x000 represents analog ground, and
) 512
). The GAIN is either 8x or 20x.
NEG
NEG
REF
d
). The GAIN is either 8x or 20x.
the voltage on the negative input pin,
the voltage on the negative input pin,
the selected voltage reference (see
and
Table 17-5 on page
8265B–AVR–09/10

Related parts for ATtiny167