5 Device Commands and Addressing

The AT93C56B/AT93C66B is accessed via a simple and versatile three-wire serial communication interface. Device operation is controlled by seven instructions issued by the Host processor. A valid instruction starts with a rising edge of CS and consists of a Start bit (SB), followed by the appropriate opcode and the desired memory address location.

Table 5-1. AT93C56B/AT93C66B Instruction Set
InstructionSBOpcodeAddressDataComments
X8(1)X16(1)X8X16
READ110A8‑A0A7‑A0Reads data stored in memory at specified address.
EWEN10011XXXXXXX11XXXXXXWrite Enable must precede all programming modes.
ERASE111A8‑A0A7‑A0Erases memory location AN‑A0.
WRITE101A8‑A0A7‑A0D7‑D0D15‑D0Writes memory location AN‑A0.
ERAL10010XXXXXXX10XXXXXXErases all memory locations. Valid only at VCC3. See Table 4-2.
WRAL10001XXXXXXX01XXXXXXD7‑D0D15‑D0Writes all memory locations. Valid only at VCC3. See Table 4-2.
EWDS10000XXXXXXX00XXXXXXDisables all programming instructions.
Note:
  1. The ‘X’ in the address field represents a “don’t care” bit and must be sent to the device.
Table 5-2. Organization Key for Timing Diagrams
I/OAT93C56B (2 Kbits)AT93C66B (4 Kbits)
x8x16x8x16
ANA8(1)A7(2)A8A7
DND7D15D7D15
Note:
  1. A8 is a “don’t care” value, but the extra clock is required.
  2. A7 is a “don’t care” value, but the extra clock is required.