ATmega16 Atmel Corporation, ATmega16 Datasheet - Page 239

no-image

ATmega16

Manufacturer Part Number
ATmega16
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega16

Flash (kbytes)
16 Kbytes
Pin Count
44
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
32
Ext Interrupts
3
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Uart
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
No
Crypto Engine
No
Sram (kbytes)
1
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
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
3
Output Compare Channels
4
Input Capture Channels
1
Pwm Channels
4
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA16
Manufacturer:
ATMEL
Quantity:
1 000
Part Number:
ATMEGA16
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega16-16AC
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega16-16AI
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega16-16AI
Manufacturer:
ATMEL
Quantity:
28
Part Number:
ATmega16-16AI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega16-16AJ
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega16-16AU
Manufacturer:
ATMEL
Quantity:
537
Part Number:
ATmega16-16AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega16-16AUR
Manufacturer:
Encoders
Quantity:
101
Part Number:
ATmega16-16PC
Manufacturer:
ATM
Quantity:
100
Part Number:
ATmega16-16PI
Manufacturer:
RFMD
Quantity:
101
Part Number:
ATmega16-16PU
Manufacturer:
Atmel
Quantity:
140
Table 92. Boundary-scan Signals for the ADC (Continued)
Note:
2466T–AVR–07/10
Signal
Name
MUXEN_2
MUXEN_1
MUXEN_0
NEGSEL_2
NEGSEL_1
NEGSEL_0
PASSEN
PRECH
SCTEST
ST
VCCREN
Incorrect setting of the switches in
choices to the S&H circuitry on the negative input of the output comparator in
from either one ADC pin, Bandgap reference source, or Ground.
Direction as Seen
from the ADC
Input
Input
Input
Input
Input
Input
Input
Input
Input
Input
Input
If the ADC is not to be used during scan, the recommended input values from
be used. The user is recommended not to use the Differential Gain stages during scan. Switch-
cap based gain stages require fast operation and accurate timing which is difficult to obtain
when used in a scan chain. Details concerning operations of the differential gain stage is there-
fore not provided.
The AVR ADC is based on the analog circuitry shown in
mation algorithm implemented in the digital logic. When used in Boundary-scan, the problem is
usually to ensure that an applied analog voltage is measured within some limits. This can easily
be done without running a successive approximation algorithm: apply the lower limit on the digi-
tal DAC[9:0] lines, make sure the output from the comparator is low, then apply the upper limit
on the digital DAC[9:0] lines, and verify the output from the comparator to be high.
The ADC need not be used for pure connectivity testing, since all analog inputs are shared with
a digital port pin as well.
When using the ADC, remember the following:
The Port Pin for the ADC channel in use must be configured to be an input with pull-up
disabled to avoid signal contention.
In Normal mode, a dummy conversion (consisting of 10 comparisons) is performed when
enabling the ADC. The user is advised to wait at least 200 ns after enabling the ADC before
Description
Input Mux bit 2
Input Mux bit 1
Input Mux bit 0
Input Mux for negative input for
differential signal, bit 2
Input Mux for negative input for
differential signal, bit 1
Input Mux for negative input for
differential signal, bit 0
Enable pass-gate of gain stages.
Precharge output latch of
comparator. (Active low)
Switch-cap TEST enable. Output
from x10 gain stage send out to
Port Pin having ADC_4
Output of gain stages will settle
faster if this signal is high first two
ACLK periods after AMPEN goes
high.
Selects Vcc as the ACC reference
voltage.
Figure 123
will make signal contention and may damage the part. There are several input
Recommended
Input when Not
in Use
0
0
1
0
0
0
1
1
0
0
0
Figure
Figure 123
123. Make sure only one path is selected
Output Values when Recommended
Inputs are used, and CPU is not
Using the ADC
with a successive approxi-
ATmega16(L)
0
0
1
0
0
0
1
1
0
0
0
Table 92
should
239

Related parts for ATmega16