7
Atmel AT93C56B/66B [DATASHEET]
Atmel-8735B-SEEPROM-AT93C56B-66B-Datasheet_042013
5. Functional Description
The AT93C56B/66B is accessed via a simple and versatile 3-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 (Logic 1), followed by the appropriate opcode, and the desired memory address location.
Read: The Read instruction contains the address code for the memory location to be read. After the instruction and
address are decoded, data from the selected memory location is available at the Serial Output pin, DO. Output data
changes are synchronized with the rising edges of the Serial Clock pin, SK. It should be noted that a dummy bit (Logic 0)
precedes the 8-bit or 16-bit data output string. The AT93C56B/66B supports sequential Read operations. The device will
automatically increment the internal address pointer and clock out the next memory location as long as Chip Select (CS)
is held high. In this case, the dummy bit (Logic 0) will not be clocked out between memory locations, thus allowing for a
continuous stream of data to be read.
Erase/Write Enable (EWEN): To ensure data integrity, the part automatically goes into the Erase/Write Disable
(EWDS) state when power is first applied. An Erase/Write Enable (EWEN) instruction must be executed first before any
programming instructions can be carried out.
Note: Once in the EWEN state, programming remains enabled until an EWDS instruction is executed, or VCC power is
removed from the part.
Erase: The Erase instruction programs all bits in the specified memory location to the Logic 1 state. The self-timed erase
cycle starts once the Erase instruction and address are decoded. The DO pin outputs the Ready/Busy status of the part
if CS is brought high after being kept low for a minimum of tCS. A Logic 1 at the DO pin indicates that the selected
memory location has been erased, and the part is ready for another instruction.
Write: The Write instruction contains the 8-bits or 16-bits of data to be written into the specified memory location. The
self-timed programming cycle, tWP, starts after the last bit of data is received at Serial Data Input pin DI. The DO pin
outputs the Ready/Busy status of the part if CS is brought high after being kept low for a minimum of tCS. A
Logic 0 at DO indicates that programming is still in progress. A Logic 1 indicates that the memory location at the specified
address has been written with the data pattern contained in the instruction, and the part is ready for further instructions. A
Ready/Busy status cannot be obtained if CS is brought high after the end of the self-timed programming cycle, tWP.
Erase All (ERAL): The Erase All (ERAL) instruction programs every bit in the Memory Array to the Logic 1 state and is
primarily used for testing purposes. The DO pin outputs the ready/busy status of the part if CS is brought high after being
kept low for a minimum of tCS. The ERAL instruction is valid only at VCC3 (Section 4.2, “DC Characteristics” on page 4).
Write All (WRAL): The Write All (WRAL) instruction programs all memory locations with the data patterns specified in
the instruction. The DO pin outputs the Ready/Busy status of the part if CS is brought high after being kept low for a
minimum of tCS. The WRAL instruction is valid only at VCC3 (Section 4.2).
Erase/Write Disable (EWDS): To protect against accidental data disturbance, the Erase/Write Disable (EWDS)
instruction disables all programming modes and should be executed after all programming operations. The operation of
the Read instruction is independent of both the EWEN and EWDS instructions and can be executed at any time.