ATMEGA162-16PJ Atmel, ATMEGA162-16PJ Datasheet - Page 236

IC MCU AVR 16K 5V 16MHZ 40-DIP

ATMEGA162-16PJ

Manufacturer Part Number
ATMEGA162-16PJ
Description
IC MCU AVR 16K 5V 16MHZ 40-DIP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA162-16PJ

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
EBI/EMI, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
35
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
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
40-DIP (0.600", 15.24mm)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Data Converters
-
Parallel
Programming
Enter Programming
Mode
Considerations for
Efficient Programming
236
ATmega162/V
Table 104. Command Byte Bit Coding
Table 105. No. of Words in a Page and no. of Pages in the Flash
Table 106. No. of Words in a Page and no. of Pages in the EEPROM
The following algorithm puts the device in Parallel Programming mode:
1. Apply 4.5 - 5.5V between V
2. Set RESET to “0” and toggle XTAL1 at least six times.
3. Set the Prog_enable pins listed in
4. Apply 11.5 - 12.5V to RESET. Any activity on Prog_enable pins within 100 ns after +12V
The loaded command and address are retained in the device during programming. For efficient
programming, the following should be considered.
8K words (16K bytes)
EEPROM Size
ns.
has been applied to RESET, will cause the device to fail entering Programming mode.
The command needs only be loaded once when writing or reading multiple memory
locations.
Skip writing the data value 0xFF, that is the contents of the entire EEPROM (unless the
EESAVE Fuse is programmed) and Flash after a Chip Erase.
Address high byte needs only be loaded before programming or reading a new 256-word
window in Flash or 256 byte EEPROM. This consideration also applies to Signature bytes
reading.
512 bytes
Command Byte
Flash Size
1000 0000
0100 0000
0010 0000
0001 0000
0001 0001
0000 1000
0000 0100
0000 0010
0000 0011
Page Size
4 bytes
Page Size
64 words
Command Executed
Chip Erase
Write Fuse Bits
Write Lock Bits
Write Flash
Write EEPROM
Read Signature Bytes and Calibration byte
Read Fuse and Lock Bits
Read Flash
Read EEPROM
CC
PCWORD
EEA[1:0]
and GND, and wait at least 100 µs.
PCWORD
Table 102 on page 235
PC[5:0]
No. of pages
No. of Pages
128
128
to “0000” and wait at least 100
PCPAGE
EEA[8:2]
PCPAGE
PC[12:6]
EEAMSB
PCMSB
8
12
2513K–AVR–07/09

Related parts for ATMEGA162-16PJ