Introduces the interface method of AT93CXX serial EEPROM with AT89CX051 microcontrollers
The note describes a set of software routines that enable AT89CX051 microcontrollers to read, write and erase AT93CXX serial EEPROMs. It covers all seven device functions and supports both eight‑bit and sixteen‑bit accesses.
Both 3‑wire and 4‑wire wiring configurations are supported. In the 3‑wire mode the EEPROM DI and DO pins share a single microcontroller I/O pin, saving a pin. The ORG pin selects data width, and the software can be downloaded from Atmel’s website.
| Supported EEPROM functions | read, write, write all, erase, erase all, erase/write enable, erase/write disable |
|---|---|
| Data bus width | 8‑bit and 16‑bit |
| Wiring configurations | 3‑wire and 4‑wire |
The EEPROM DI and DO pins are both connected to the same microcontroller I/O pin, saving a pin.
The software can be downloaded from Atmel’s Web Site.