Electronic Components Datasheet Search
  English  ▼

Delete All
ON OFF
ALLDATASHEET.COM

X  

Preview PDF Download HTML

AT89S52-24SC Datasheet(PDF) 27 Page - ATMEL Corporation

Part No. AT89S52-24SC
Description  8-bit Microcontroller with 8K Bytes In-System Programmable Flash
Download  39 Pages
Scroll/Zoom Zoom In 100% Zoom Out
Maker  ATMEL [ATMEL Corporation]
Homepage  http://www.atmel.com
Logo 

AT89S52-24SC Datasheet(HTML) 27 Page - ATMEL Corporation

Zoom Inzoom in Zoom Outzoom out
 27 / 39 page
background image
27
1919C–MICRO–3/05
AT89S52
Note:
1. B1 = 0, B2 = 0 ---> Mode 1, no lock protection
B1 = 0, B2 = 1 ---> Mode 2, lock bit 1 activated
B1 = 1, B2 = 0 ---> Mode 3, lock bit 2 activated
B1 = 1, B2 = 1 ---> Mode 4, lock bit 3 activated
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.
Table 24-1.
Serial Programming Instruction Set
Instruction
Instruction
Format
Operation
Byte 1
Byte 2
Byte 3
Byte 4
Programming Enable
1010 1100
0101 0011
xxxx xxxx
xxxx xxxx
0110 1001
(Output on
MISO)
Enable Serial Programming
while RST is high
Chip Erase
1010 1100
100x xxxx
xxxx xxxx
xxxx xxxx
Chip Erase Flash memory
array
Read Program Memory
(Byte Mode)
0010 0000
xxx
Read data from Program
memory in the byte mode
Write Program Memory
(Byte Mode)
0100 0000
xxx
Write data to Program
memory in the byte mode
Write Lock Bits
(1)
1010 1100
1110 00
xxxx xxxx
xxxx xxxx
Write Lock bits. See Note (1).
Read Lock Bits
0010 0100
xxxx xxxx
xxxx xxxx
xxx
xx
Read back current status of
the lock bits (a programmed
lock bit reads back as a “1”)
Read Signature Bytes
0010 1000
xxx
xxx xxx0
Signature Byte
Read Signature Byte
Read Program Memory
(Page Mode)
0011 0000
xxx
Byte 0
Byte 1...
Byte 255
Read data from Program
memory in the Page Mode
(256 bytes)
Write Program Memory
(Page Mode)
0101 0000
xxx
Byte 0
Byte 1...
Byte 255
Write data to Program
memory in the Page Mode
(256 bytes)
} Eachofthelockbitmodesneedstobeactivatedsequentially
before Mode 4 can be executed.


Html Pages

1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  31  32  33  34  35  36  37  38  39 


Datasheet Download




Link URL




Privacy Policy
ALLDATASHEET.COM
Does ALLDATASHEET help your business so far?  [ DONATE ]  

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   Contact us   |   Privacy Policy   |   Alldatasheet API   |   Link Exchange   |   Manufacturer List
All Rights Reserved© Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn