AT25010N-10SC- Atmel, AT25010N-10SC- Datasheet - Page 7

no-image

AT25010N-10SC-

Manufacturer Part Number
AT25010N-10SC-
Description
Ic Eeprom 4.55.5v 8pin Soic
Manufacturer
Atmel
Datasheet
Functional Description
The AT25010/020/040 is designed to interface directly with
the synchronous serial peripheral interface (SPI) of the
6805 and 68HC11 series of microcontrollers.
The AT25010/020/040 utilizes an 8-bit instruction register.
The list of instructions and their operation codes are con-
tained in Table 1. All instructions, addresses, and data are
transferred with the MSB first and start with a high-to-low
CS transition.
Table 1. Instruction Set for the AT25010/020/040
Note:
WRITE ENABLE (WREN): The device will power up in
the write disable state when V
ming instructions must therefore be preceded by a Write
Enable instruction. The WP pin must be held high during a
WREN instruction.
WRITE DISABLE (WRDI): To protect the device against
inadvertent writes, the Write Disable instruction disables all
programming modes. The WRDI instruction is independent
of the status of the WP pin.
READ STATUS REGISTER (RDSR): The Read Status
Register instruction provides access to the status register.
The READY/BUSY and Write Enable status of the device
can be determined by the RDSR instruction. Similarly, the
Block Write Protection bits indicate the extent of protection
employed. These bits are set by using the WRSR instruc-
tion.
Table 2. Status Register Format
Instruction
Name
WREN
WRDI
RDSR
WRSR
READ
WRITE
Bit 7
X
“A” represents MSB address bit A8.
Bit 6
X
Instruction
Format
0000 X110
0000 X100
0000 X101
0000 X001
0000 A011
0000 A010
Bit 5
X
Bit 4
X
Operation
Set Write Enable Latch
Reset Write Enable Latch
Read Data from Memory Array
Read Status Register
Write Status Register
Write Data to Memory Array
Bit 3
BP1
CC
is applied. All program-
Bit 2
BP0
Bit 1
WEN
Bit 0
RDY
Table 3. Read Status Register Bit Definition
WRITE STATUS REGISTER (WRSR):
instruction allows the user to select one of four levels of
protection. The AT25010/020/040 is divided into four array
segments. Top quarter (1/4), Top half (1/2), or all of the
memory segments can be protected. Any of the data within
any selected segment will therefore be READ only. The
block write protection levels and corresponding status reg-
ister control bits are shown in Table 4.
The two bits, BP1 and BP0 are nonvolatile cells that have
the same properties and functions as the regular memory
cells (e.g. WREN, t
Table 4. Block Write Protect Bits
R E A D
AT25010/020/040 via the SO (Serial Output) pin requires
the following sequence. After the CS line is pulled low to
select a device, the READ op-code (including A8) is trans-
mitted via the SI line followed by the byte address to be
read (A7-A0). Upon completion, any data on the SI line will
be ignored. The data (D7-D0) at the specified address is
then shifted out onto the SO line. If only one byte is to be
read, the CS line should be driven high after the data
comes out. The READ sequence can be continued since
the byte address is automatically incremented and data will
continue to be shifted out. When the highest address is
reached, the address counter will roll over to the lowest
address allowing the entire memory to be read in one con-
tinuous READ cycle.
Bit
Bit 0 (RDY)
Bit 1 (WEN)
Bit 2 (BP0)
Bit 3 (BP1)
Bits 4-7 are 0s when device is not in an internal write cycle.
Bits 0-7 are 1s during an internal write cycle.
Level
1 (1/4)
2 (1/2)
3 (All)
0
S E Q U E N C E
BP1
Register Bits
0
0
1
1
Status
WC
Definition
Bit 0 = 0 (RDY) indicates the device is READY.
Bit 0 = 1 indicates the write cycle is in progress.
Bit 1 = 0 indicates the device is not WRITE
ENABLED. Bit 1 = 1 indicates the device is
WRITE ENABLED.
See Table 4.
See Table 4.
BP0
0
1
0
1
, RDSR).
AT25010
( R E A D ) :
60-7F
40-7F
00-7F
None
Array Addresses Protected
AT25020
C0-FF
80-FF
00-FF
None
R e a d i n g
The WRSR
AT25040
180-1FF
100-1FF
000-1FF
None
t h e
7

Related parts for AT25010N-10SC-