AT89C51AC3 Atmel Corporation, AT89C51AC3 Datasheet - Page 21

no-image

AT89C51AC3

Manufacturer Part Number
AT89C51AC3
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89C51AC3

Flash (kbytes)
64 Kbytes
Max. Operating Frequency
60 MHz
Cpu
8051-12C
Max I/o Pins
32
Spi
1
Uart
1
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
62.5
Sram (kbytes)
2.25
Eeprom (bytes)
2048
Self Program Memory
API
Operating Voltage (vcc)
3.0 to 5.5
Timers
4
Isp
UART
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89C51AC3-RDTIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51AC3-RDTUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51AC3-RLTIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51AC3-RLTUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51AC3-RLTUM
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
AT89C51AC3-S3SUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51AC3-SLSIM
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
API Commands
Read/Program Flash
and EEPROM Data
Memory
Read Configuration
and Manufacturer
Information
4386B–8051–03/08
Several types of APIs are available:
All routines to access EEPROM Data are managed directly from the application without using
bootloader resources.
To read the Flash memory the bootloader is not involved.
For more details on these routines see the AT89C51AC3 datasheet sections “Program/Code
Memory” and “EEPROM Data Memory”
Two routines are available to program the Flash:
Note:
Read/Program Flash and EEPROM Data memory
Read Configuration and Manufacturer Information
Program Configuration Information
Erase Flash
Start bootloader
The application program load the column latches of the Flash then call the
__api_wr_code_byte or __api_wr_code_page see datasheet in section “Program/Code
Memory
Parameter settings
instruction: LCALL FFF0h.
Parameter settings
No special resources are used by the bootloader during this operation
__api_wr_code_byte
__api_wr_code_page
__api_rd_manufacturer
__api_wr_code_page
__api_rd_device_id1
__api_wr_code_byte
”.
__api_rd_HSB
__api_rd_BSB
__api_rd_SBV
__api_rd_SSB
__api_rd_EB
API_name
API_name
AT89C51AC3 UART Bootloader
0Bh
R1
02h
09h
R1
07h
07h
07h
07h
00h
00h
to program in
the first Byte
Address of
Address in
memory to
the Flash
DPTR0
memory
DPTR0
0000h
0001h
0002h
0000h
0006h
0000h
0001h
Flash
write
XRAM of the
first data to
Address in
program
DPTR1
DPTR1
x
x
x
x
x
x
x
-
Number of Byte
manufacturer id
Value to write
to program
return HSB
return BSB
return SBV
return SSB
return EB
return id1
return
Acc
Acc
21

Related parts for AT89C51AC3