參數(shù)資料
型號: T89C51AC2-SLSIM
廠商: Atmel
文件頁數(shù): 46/121頁
文件大?。?/td> 0K
描述: IC 8051 MCU FLASH 32K 44PLCC
標(biāo)準(zhǔn)包裝: 27
系列: 89C
核心處理器: 8051
芯體尺寸: 8-位
速度: 40MHz
連通性: UART/USART
外圍設(shè)備: POR,PWM,WDT
輸入/輸出數(shù): 34
程序存儲器容量: 32KB(32K x 8)
程序存儲器類型: 閃存
EEPROM 大?。?/td> 2K x 8
RAM 容量: 1.25K x 8
電壓 - 電源 (Vcc/Vdd): 3 V ~ 5.5 V
數(shù)據(jù)轉(zhuǎn)換器: A/D 8x10b
振蕩器型: 外部
工作溫度: -40°C ~ 85°C
封裝/外殼: 44-LCC(J 形引線)
包裝: 管件
30
A/T89C51AC2
4127H–8051–02/08
EEPROM Data
Memory
The 2 KB on-chip EEPROM memory block is located at addresses 0000h to 07FFh of
the XRAM/XRAM memory space and is selected by setting control bits in the EECON
register. A read in the EEPROM memory is done with a MOVX instruction.
A physical write in the EEPROM memory is done in two steps: write data in the column
latches and transfer of all data latches into an EEPROM memory row (programming).
The number of data written on the page may vary from 1 up to 128 Bytes (the page
size). When programming, only the data written in the column latch is programmed and
a ninth bit is used to obtain this feature. This provides the capability to program the
whole memory by Bytes, by page or by a number of Bytes in a page. Indeed, each ninth
bit is set when the writing the corresponding byte in a row and all these ninth bits are
reset after the writing of the complete EEPROM row.
Write Data in the Column
Latches
Data is written by byte to the column latches as for an external RAM memory. Out of the
11 address bits of the data pointer, the 4 MSBs are used for page selection (row) and 7
are used for byte selection. Between two EEPROM programming sessions, all the
addresses in the column latches must stay on the same page, meaning that the 4 MSB
must no be changed.
The following procedure is used to write to the column latches:
Save and disable interrupt.
Set bit EEE of EECON register
Load DPTR with the address to write
Store A register with the data to be written
Execute a MOVX @DPTR, A
If needed loop the three last instructions until the end of a 128 Bytes page
Restore interrupt.
Note:
The last page address used when loading the column latch is the one used to select the
page programming address.
Programming
The EEPROM programming consists of the following actions:
writing one or more Bytes of one page in the column latches. Normally, all Bytes
must belong to the same page; if not, the last page address will be latched and the
others discarded.
launching programming by writing the control sequence (50h followed by A0h) to the
EECON register.
EEBUSY flag in EECON is then set by hardware to indicate that programming is in
progress and that the EEPROM segment is not available for reading.
The end of programming is indicated by a hardware clear of the EEBUSY flag.
Note:
The sequence 5xh and Axh must be executed without instructions between then other-
wise the programming is aborted.
Read Data
The following procedure is used to read the data stored in the EEPROM memory:
Save and disable interrupt
Set bit EEE of EECON register
Load DPTR with the address to read
Execute a MOVX A, @DPTR
Restore interrupt
相關(guān)PDF資料
PDF描述
T89C51CC01UA-7CTIM IC 8051 MCU FLASH 32K 64BGA
T89C51CC02UA-TDSIM IC 8051 MCU FLASH 16K 24-SOIC
TC520ACOE713 IC SERIAL INTERFACE ADT 16SOIC
TC530COI713 IC DATA ACQ SUBSYSTEM 28SOIC
TDA3653B/N2,112 IC VERT DEFLECT 9-SIL
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
T89C51AC2-SLSI-M 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit MCU with 32K bytes Flash, 10 bits A/D and EEPROM
T89C51AC2-SLTC-M 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit MCU with 32K bytes Flash, 10 bits A/D and EEPROM
T89C51AC2-SLTE-M 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit MCU with 32K bytes Flash, 10 bits A/D and EEPROM
T89C51AC2-SLTI-M 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit MCU with 32K bytes Flash, 10 bits A/D and EEPROM
T89C51CC01 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:Enhanced 8-bit Microcontroller with CAN Controller and Flash Memory