ATMEGA168-20PU Atmel, ATMEGA168-20PU Datasheet - Page 298

IC AVR MCU 16K 20MHZ 28DIP

ATMEGA168-20PU

Manufacturer Part Number
ATMEGA168-20PU
Description
IC AVR MCU 16K 20MHZ 28DIP
Manufacturer
Atmel
Series
AVR® ATmegar

Specifications of ATMEGA168-20PU

Core Processor
AVR
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
23
Program Memory Size
16KB (8K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 6x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-DIP (0.300", 7.62mm)
Processor Series
ATMEGA16x
Core
AVR8
Data Bus Width
8 bit
Data Ram Size
1 KB
Interface Type
2-Wire, SPI, USART, Serial
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
23
Number Of Timers
3
Operating Supply Voltage
2.7 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
EWAVR, EWAVR-BL
Development Tools By Supplier
ATAVRDRAGON, ATSTK500, ATSTK600, ATAVRISP2, ATAVRONEKIT
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 6 Channel
A/d Inputs
6-Channel, 10-Bit
Cpu Speed
20 MIPS
Eeprom Memory
512 Bytes
Input Output
23
Interface
I2C/SPI/UART/USART
Memory Type
Flash
Number Of Bits
8
Package Type
28-pin PDIP
Programmable Memory
16K Bytes
Timers
2-8-bit, 1-16-bit
Voltage, Range
4.5-5.5 V
Controller Family/series
AVR MEGA
No. Of I/o's
23
Eeprom Memory Size
512Byte
Ram Memory Size
1KB
Rohs Compliant
Yes
For Use With
ATSTK600-TQFP32 - STK600 SOCKET/ADAPTER 32-TQFPATSTK600 - DEV KIT FOR AVR/AVR32770-1007 - ISP 4PORT ATMEL AVR MCU SPI/JTAGATAVRDRAGON - KIT DRAGON 32KB FLASH MEM AVRATAVRISP2 - PROGRAMMER AVR IN SYSTEMATJTAGICE2 - AVR ON-CHIP D-BUG SYSTEM
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA168-20PU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Table 25-17. Serial Programming Instruction Set (Continued)
25.9.2
298
Instruction
Load EEPROM Memory
Page (page access)
Write EEPROM Memory
Page (page access)
Read Lock bits
Write Lock bits
Read Signature Byte
Write Fuse bits
Write Fuse High bits
Write Extended Fuse Bits
Read Fuse bits
Read Fuse High bits
Read Extended Fuse Bits
Read Calibration Byte
Poll RDY/BSY
ATmega48/88/168
SPI Serial Programming Characteristics
Note:
For characteristics of the SPI module see “SPI Timing Characteristics” on page 304.
1100 0001
1100 0010
0101 1000
1010 1100
0011 0000
1010 1100
1010 1100
1010 1100
0101 0000
0101 1000
0101 0000
0011 1000
1111 0000
Byte 1
a = address high bits, b = address low bits, H = 0 - Low byte, 1 - High Byte, o = data out, i = data
in, x = don’t care
0000 0000
00xx xxaa
0000 0000
111x xxxx
000x xxxx
1010 0000
1010 1000
1010 0100
0000 0000
0000 1000
0000 1000
000x xxxx
0000 0000
Byte 2
Instruction Format
0000 00bb
bbbb bb00
xxxx xxxx
xxxx xxxx
xxxx xxbb
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
0000 0000
xxxx xxxx
Byte 3
iiii iiii
xxxx xxxx
xxoo oooo
11ii iiii
oooo oooo
iiii iiii
iiii iiii
xxxx xxii
oooo oooo
oooo oooo
oooo oooo
oooo oooo
xxxx xxxo
Byte4
Operation
Load data i to EEPROM memory page
buffer. After data is loaded, program
EEPROM page.
Write EEPROM page at address a:b.
Read Lock bits. “0” = programmed, “1”
= unprogrammed. See
page 280
Write Lock bits. Set bits = “0” to
program Lock bits. See
page 280
Read Signature Byte o at address b.
Set bits = “0” to program, “1” to
unprogram. See Table XXX on page
XXX for details.
Set bits = “0” to program, “1” to
unprogram. See
244
Set bits = “0” to program, “1” to
unprogram. See
281
Read Fuse bits. “0” = programmed, “1”
= unprogrammed. See Table XXX on
page XXX for details.
Read Fuse High bits. “0” = pro-
grammed, “1” = unprogrammed. See
Table 21-1 on page 244
Read Extended Fuse bits. “0” = pro-
grammed, “1” = unprogrammed. See
Table 25-4 on page 281
Read Calibration Byte
If o = “1”, a programming operation is
still busy. Wait until this bit returns to
“0” before applying another command.
for details.
for details.
for details.
for details.
Table 25-4 on page
Table 21-1 on page
Table 25-1 on
Table 25-1 on
for details.
for details.
2545E–AVR–02/05

Related parts for ATMEGA168-20PU