AT89C51RC2 Atmel Corporation, AT89C51RC2 Datasheet - Page 105

no-image

AT89C51RC2

Manufacturer Part Number
AT89C51RC2
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89C51RC2

Flash (kbytes)
32 Kbytes
Max. Operating Frequency
60 MHz
Cpu
8051-12C
Max I/o Pins
32
Spi
1
Uart
1
Sram (kbytes)
1.25
Self Program Memory
API
Operating Voltage (vcc)
2.7 to 5.5
Timers
4
Isp
UART
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89C51RC2-1M
Manufacturer:
ALTERA
0
Part Number:
AT89C51RC2-3CSUM
Manufacturer:
ATMEL
Quantity:
15 569
Part Number:
AT89C51RC2-CM
Manufacturer:
ATMEL
Quantity:
8 831
Part Number:
AT89C51RC2-CM
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
AT89C51RC2-IM
Manufacturer:
ATMEL
Quantity:
719
Part Number:
AT89C51RC2-IM
Manufacturer:
ATMEL
Quantity:
8 000
Part Number:
AT89C51RC2-IM
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
AT89C51RC2-RLRIL
Manufacturer:
Atmel
Quantity:
1 495
Part Number:
AT89C51RC2-RLRIL
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51RC2-RLRIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51RC2-RLRUL
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51RC2-RLTIL
Manufacturer:
ATMEL
Quantity:
5 000
Part Number:
AT89C51RC2-RLTUM
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
API Call Description
Table 74. API Call Summary
4180E–8051–10/06
READ DEVICE ID1
READ DEVICE ID2
READ DEVICE ID3
READ MANUF ID
PROGRAM DATA
PROGRAM DATA
PROGRAM SSB
PROGRAM BSB
PROGRAM SBV
ERASE BLOCK
READ SSB
READ BSB
READ SBV
Command
PAGE
BYTE
R1
00h
00h
00h
00h
01h
02h
05h
06h
06h
07h
07h
07h
09h
Vaue to write
Number of
New BSB
New SBV
program
byte to
value
value
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
A
Several Application Program Interface (API) calls are available for use by an application
program to permit selective erasing and programming of Flash pages. All calls are made
through a common interface, PGM_MTP. The programming functions are selected by
setting up the microcontroller’s registers before making a call to PGM_MTP at FFF0h.
Results are returned in the registers.
When several Bytes have to be programmed, it is highly recommended to use the Atmel
API “PROGRAM DATA PAGE” call. Indeed, this API call writes up to 128 Bytes in a sin-
gle command.
All routines for software access are provided in the C Flash driver available at Atmel’s
web site.
The API calls description and arguments are shown in Table 74.
to program in
the first byte
DPH = 00h
DPH = 20h
DPH = 40h
DPH = 00h
DPH = 00h
DPH = 00h
DPH = 00h
Address of
DPL = 00h
DPL = 01h
DPL = 10h
Address of
DPL = 11h
the Flash
program
DPTR0
memory
byte to
0000h
0001h
0002h
0003h
0000h
0001h
0000h
0001h
0002h
XRAM of the
first data to
Address in
program
DPTR1
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
00h
00h
ACC = Manufacturer
ACC = Device Id 1
ACC = Device Id 2
ACC = Device Id 3
ACC = SSB value
Returned Value
ACC = 0: DONE
ACC = 0: DONE
ACC = DPH
ACC = SSB
ACC = BSB
ACC = SBV
none
none
Id
is 128, valid values of DPL are 00h, or, 80h.
limited such as the Flash write remains in a
AT89C51RB2/RC2
single 128 bytes page. Hence, when ACC
Program up one data byte in the on-chip
Remark: number of bytes to program is
Program up to 128 bytes in user Flash.
Program software boot vector
Read Software Security Byte
Read Manufacturer identifier
Read Software Boot Vector
Program boot status byte
Read Device identifier 1
Read Device identifier 2
Read Device identifier 3
Read Boot Status Byte
Command Effect
Set SSB level 1
Set SSB level 2
Set SSB level 0
Set SSB level 1
flash memory.
Erase block 0
Erase block 1
Erase block 2
105

Related parts for AT89C51RC2