6 Device Commands and Addressing

The AT25010B/AT25020B/AT25040B is designed to interface directly with the synchronous Serial Peripheral Interface (SPI). The AT25010B/AT25020B/AT25040B utilizes an 8‑bit instruction register. The list of instructions and their operation codes are contained in Table 6-1. All instructions, addresses and data are transferred with the MSb first and start with a high‑to‑low CS transition.

Table 6-1. Instruction Set for the AT25010B/AT25020B/AT25040B
Instruction NameInstruction FormatOperates OnOperation Description
WREN0000 X110STATUS RegisterSet Write Enable Latch (WEL)
WRDI0000 X100STATUS RegisterReset Write Enable Latch (WEL)
RDSR0000 X101STATUS RegisterRead STATUS Register
WRSR0000 X001STATUS RegisterWrite STATUS Register
READ0000 A011Memory ArrayRead from Memory Array
WRITE0000 A010Memory ArrayWrite to Memory Array
Note:
  1. “A” represents the MSb address bit (A8) for the AT25040B and a “don't care” bit for the AT25020B and AT25010B.