ATmega16 Atmel Corporation, ATmega16 Datasheet - Page 274

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
SPI Serial
Programming
Algorithm
2466T–AVR–07/10
Figure 136. SPI Serial Programming and Verify
Notes:
When programming the EEPROM, an auto-erase cycle is built into the self-timed programming
operation (in the serial mode ONLY) and there is no need to first execute the Chip Erase instruc-
tion. The Chip Erase operation turns the content of every memory location in both the Program
and EEPROM arrays into $FF.
Depending on CKSEL Fuses, a valid clock must be present. The minimum low and high periods
for the serial clock (SCK) input are defined as follows:
Low: > 2 CPU clock cycles for f
High: > 2 CPU clock cycles for f
When writing serial data to the ATmega16, data is clocked on the rising edge of SCK.
When reading data from the ATmega16, data is clocked on the falling edge of SCK. See
138
To program and verify the ATmega16 in the SPI Serial Programming mode, the following
sequence is recommended (See four byte instruction formats in
1. Power-up sequence:
2. Wait for at least 20 ms and enable SPI Serial Programming by sending the Programming
3. The SPI Serial Programming instructions will not work if the communication is out of syn-
Apply power between V
tems, the programmer can not guarantee that SCK is held low during power-up. In this
case, RESET must be given a positive pulse of at least two CPU clock cycles duration
after SCK has been set to “0”.
Enable serial instruction to pin MOSI.
chronization. When in sync. the second byte ($53), will echo back when issuing the third
byte of the Programming Enable instruction. Whether the echo is correct or not, all four
bytes of the instruction must be transmitted. If the $53 did not echo back, give RESET a
positive pulse and issue a new Programming Enable command.
for timing details.
1. If the device is clocked by the Internal Oscillator, it is no need to connect a clock source to the
2. V
XTAL1 pin.
CC
-0.3V < AVCC < V
MOSI
MISO
SCK
CC
and GND while RESET and SCK are set to “0”. In some sys-
ck
CC
ck
< 12 MHz, 3 CPU clock cycles for f
< 12 MHz, 3 CPU clock cycles for f
+0.3V, however, AVCC should always be within 2.7V - 5.5V
PB5
PB6
PB7
XTAL1
RESET
GND
(1)
AVCC
VCC
+2.7 - 5.5V
+2.7 - 5.5V
Figure 116 on page
ck
ck
(2)
ATmega16(L)
≥ 12 MHz
≥ 12 MHz
276):
Figure
274

Related parts for ATmega16