ATMEGA48PA-PN Atmel, ATMEGA48PA-PN Datasheet - Page 306

no-image

ATMEGA48PA-PN

Manufacturer Part Number
ATMEGA48PA-PN
Description
MCU AVR 4KB FLASH 20MHZ 28PDIP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheet

Specifications of ATMEGA48PA-PN

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
4KB (2K x 16)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 6x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
27.7.8
27.7.9
27.7.10
8161D–AVR–10/09
Programming the Fuse Low Bits
Programming the Fuse High Bits
Programming the Extended Fuse Bits
The algorithm for programming the Fuse Low bits is as follows (refer to
on page 302
1. A: Load Command “0100 0000”.
2. C: Load Data Low Byte. Bit n = “0” programs and bit n = “1” erases the Fuse bit.
3. Give WR a negative pulse and wait for RDY/BSY to go high.
The algorithm for programming the Fuse High bits is as follows (refer to
Flash” on page 302
1. A: Load Command “0100 0000”.
2. C: Load Data Low Byte. Bit n = “0” programs and bit n = “1” erases the Fuse bit.
3. Set BS1 to “1” and BS2 to “0”. This selects high data byte.
4. Give WR a negative pulse and wait for RDY/BSY to go high.
5. Set BS1 to “0”. This selects low data byte.
The algorithm for programming the Extended Fuse bits is as follows (refer to
Flash” on page 302
1. 1. A: Load Command “0100 0000”.
2. 2. C: Load Data Low Byte. Bit n = “0” programs and bit n = “1” erases the Fuse bit.
3. 3. Set BS1 to “0” and BS2 to “1”. This selects extended data byte.
4. 4. Give WR a negative pulse and wait for RDY/BSY to go high.
5. 5. Set BS2 to “0”. This selects low data byte.
Figure 27-5. Programming the FUSES Waveforms
RESET +12V
RDY/BSY
PAGEL
XTAL1
DATA
XA1
XA0
BS1
BS2
WR
OE
for details on Command and Data loading):
0x40
A
for details on Command and Data loading):
for details on Command and Data loading):
DATA
C
Write Fuse Low byte
XX
ATmega48PA/88PA/168PA/328P
0x40
A
DATA
C
Write Fuse high byte
XX
0x40
A
”Programming the Flash”
DATA
C
Write Extended Fuse byte
”Programming the
”Programming the
XX
306

Related parts for ATMEGA48PA-PN