AT89LS52-16PC Atmel, AT89LS52-16PC Datasheet - Page 28

IC MCU 8K FLASH LV 16MHZ 40-DIP

AT89LS52-16PC

Manufacturer Part Number
AT89LS52-16PC
Description
IC MCU 8K FLASH LV 16MHZ 40-DIP
Manufacturer
Atmel
Series
89LSr
Datasheet

Specifications of AT89LS52-16PC

Core Processor
8051
Core Size
8-Bit
Speed
16MHz
Connectivity
UART/USART
Peripherals
WDT
Number Of I /o
32
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 4 V
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
40-DIP (0.600", 15.24mm)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Data Converters
-
Table 22-1.
Note:
After Reset signal is high, SCK should be low for at least 64 system clocks before it goes high to clock in the enable data
bytes. No pulsing of Reset signal is necessary. SCK should be no faster than 1/16 of the system clock at XTAL1.
For Page Read/Write, the data always starts from byte 0 to 255. After the command byte and upper address byte are
latched, each byte thereafter is treated as data until all 256 bytes are shifted in/out. Then the next instruction will be ready
to be decoded.
28
Instruction
Programming Enable
Chip Erase
Read Program Memory
(Byte Mode)
Write Program Memory
(Byte Mode)
Write Lock Bits
Read Lock Bits
Read Signature Bytes
Read Program Memory
(Page Mode)
Write Program Memory
(Page Mode)
1. B1 = 0, B2 = 0 ---> Mode 1, no lock protection
AT89LS52
B1 = 0, B2 = 1 ---> Mode 2, lock bit 1 activated
B1 = 1, B2 = 0 ---> Mode 3, lock bit 2 activated
B1 = 1, B1 = 1 ---> Mode 4, lock bit 3 activated
Serial Programming Instruction Set
(1)
Byte 1
1010 1100
1010 1100
0010 0000
0100 0000
1010 1100
0010 0100
0010 1000
0011 0000
0101 0000
Byte 2
0101 0011
100x xxxx
xxx
xxx
1110 00
xxxx xxxx
xxx
xxx
xxx
Instruction Format
}
Byte 3
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
Byte 0
Byte 0
Each of the lock bit modes needs to be activated sequentially
before Mode 4 can be executed.
xxx xxx0
Byte 4
xxxx xxxx
0110 1001
(Output on MISO)
xxxx xxxx
xxxx xxxx
xxx
Signature Byte
Byte 1... Byte 255
Byte 1... Byte 255
xx
Operation
Enable Serial Programming
while RST is high
Chip Erase Flash memory
array
Read data from Program
memory in the byte mode
Write data to Program
memory in the byte mode
Write Lock bits. See Note 1.
Read back current status of
the lock bits (a programmed
lock bit reads back as a “1”)
Read Signature Byte
Read data from Program
memory in the Page Mode
(256 bytes)
Write data to Program
memory in the Page Mode
(256 bytes)
2601C–MICRO–06/08

Related parts for AT89LS52-16PC