AT89C5131A-RDTIM Atmel, AT89C5131A-RDTIM Datasheet - Page 41
![no-image](/images/manufacturer_photos/0/0/78/atmel_sml.jpg)
AT89C5131A-RDTIM
Manufacturer Part Number
AT89C5131A-RDTIM
Description
C5131A 32K FLASH USB VQFP64 IND, 5V
Manufacturer
Atmel
Datasheet
1.AT89C5131A-RDTIM.pdf
(176 pages)
- Current page: 41 of 176
- Download datasheet (3Mb)
EEPROM Data Memory
Description
Write Data in the Column
Latches
Programming
Read Data
40
AT89C5131
The 1-Kbyte on-chip EEPROM memory block is located at addresses 0000h to 03FFh of
the ERAM 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 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 mem-
ory 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.
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 not be changed.
The following procedure is used to write to the column latches:
•
•
•
•
•
The EEPROM programming consists on the following actions:
•
•
•
•
The following procedure is used to read the data stored in the EEPROM memory:
•
•
•
•
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
Writing one or more bytes of one page in the column latches. Normally, all bytes
must belong to the same page; if not, the first page address will be latched and the
others discarded.
Launching programming by writing the control sequence (54h followed by A4h) 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.
Set bit EEE of EECON register
Stretch the MOVX to accommodate the slow access time of the column latch (Set
bit M0 of AUXR register)
Load DPTR with the address to read
Execute a MOVX A, @DPTR
4136C–USB–04/05
Related parts for AT89C5131A-RDTIM
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![AT89C5131A-L](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![AT89C5131A-M](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![AT89C5131A-PUTUM](/photos/12/13/121309/313-32-qfn_tmb.jpg)
Part Number:
Description:
IC 8051 MCU FLASH 32K USB 32QFN
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-S3SUM](/photos/12/13/121324/453-52-plcc_tmb.jpg)
Part Number:
Description:
IC 8051 MCU FLASH 32K USB 52PLCC
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-PLTUL](/photos/7/34/73471/48-vqfn-6_543-5130_01-4_tmb.jpg)
Part Number:
Description:
IC MCU 32KB 3-3.6V USB 48-VQFN
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-TIRUL](/photos/6/82/68295/453-28-soic_tmb.jpg)
Part Number:
Description:
MCU 8051 32K FLASH USB 28-SOIC
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-RDTUM](/photos/6/81/68127/313-64-vqfp_tmb.jpg)
Part Number:
Description:
IC 8051 MCU FLASH 32K USB 64VQFP
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-RDTUL](/photos/6/81/68127/313-64-vqfp_tmb.jpg)
Part Number:
Description:
MCU 8051 32K FLASH USB 64-VQFP
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-TISUL](/photos/6/82/68295/453-28-soic_tmb.jpg)
Part Number:
Description:
MCU 8051 32K FLASH USB 28-SOIC
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-S3SUL](/photos/12/13/121324/453-52-plcc_tmb.jpg)
Part Number:
Description:
MCU 8051 32K FLASH USB 52-PLCC
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-PLTIL](/photos/7/34/73471/48-vqfn-6_543-5130_01-4_tmb.jpg)
Part Number:
Description:
IC 8051 MCU FLASH 32K USB 48QFN
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-RDTIL](/photos/6/81/68127/313-64-vqfp_tmb.jpg)
Part Number:
Description:
IC 8051 MCU FLASH 32K USB 64VQFP
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-PUTIM](/photos/12/13/121309/313-32-qfn_tmb.jpg)
Part Number:
Description:
IC 8051 MCU FLASH 32K USB 32QFN
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-S3SIM](/photos/12/13/121324/453-52-plcc_tmb.jpg)
Part Number:
Description:
IC 8051 MCU FLASH 32K USB 52PLCC
Manufacturer:
Atmel
Datasheet: