CAT25320
www.onsemi.com
7
Byte Write
Once the WEL bit is set, the user may execute a write
sequence, by sending a WRITE instruction, a 16bit address
and data as shown in Figure 5. Only 12 significant address
bits are used by the CAT25320. The rest are don’t care bits,
as shown in Table 11. Internal programming will start after
the low to high CS
transition. During an internal write cycle,
all commands, except for RDSR (Read Status Register) will
be ignored. The RDY
bit will indicate if the internal write
cycle is in progress (RDY
high), or the device is ready to
accept commands (RDY
low).
Page Write
After sending the first data byte to the CAT25320, the host
may continue sending data, up to a total of 32 bytes,
according to timing shown in Figure 6. After each data byte,
the lower order address bits are automatically incremented,
while the higher order address bits (page address) remain
unchanged. If during this process the end of page is
exceeded, then loading will “roll over” to the first byte in the
page, thus possibly overwriting previously loaded data.
Following completion of the write cycle, the CAT25320 is
automatically returned to the write disable state.
Table 11. BYTE ADDRESS
Device Address Significant Bits Address Don’t Care Bits # Address Clock Pulses
CAT25320 A11 A0 A15 A12 16
Figure 5. Byte WRITE Timing
SCK
SI
SO
0000 01 0
D7 D6 D5 D4 D3 D2 D1 D0
012345678
OPCODE
DATA IN
HIGH IMPEDANCE
BYTE ADDRESS*
21 22 23 24 25 26 27 28 29 30 31
Dashed Line = mode (1, 1)
CS
A
0
A
N
0
* Please check the Byte Address Table (Table 11)
Figure 6. Page WRITE Timing
SCK
SI
SO
0000 0 10
BYTE ADDRESS*
Data
Byte 1
012345678 212223
2431
3239
Data Byte N
OPCODE
7..1 0
24+(N1)x81 .. 24+(N1)x8
24+Nx81
DATA IN
HIGH IMPEDANCE
Dashed Line = mode (1, 1)
CS
A
N
A
0
Data
Byte 3
Data
Byte 2
0
* Please check the Byte Address Table (Table 11)
CAT25320
www.onsemi.com
8
Write Status Register
The Status Register is written by sending a WRSR
instruction according to timing shown in Figure 7. Only bits
2, 3 and 7 can be written using the WRSR command.
Write Protection
The Write Protect (WP) pin can be used to protect the
Block Protect bits BP0 and BP1 against being inadvertently
altered. When WP
is low and the WPEN bit is set to “1”,
write operations to the Status Register are inhibited. WP
going low while CS is still low will interrupt a write to the
status register. If the internal write cycle has already been
initiated, WP
going low will have no effect on any write
operation to the Status Register. The WP
pin function is
blocked when the WPEN bit is set to “0”. The WP
input
timing is shown in Figure 8.
Figure 7. WRSR Timing
0123 45678 10911121314
SCK
SI
MSB
HIGH IMPEDANCE
DATA IN
15
SO
7 6 5 4 3 2 10
0000000 1
OPCODE
Dashed Line = mode (1, 1)
CS
Figure 8. WP Timing
SCK
WP
Dashed Line = mode (1, 1)
WP
CS
t
WPH
t
WPS
CAT25320
www.onsemi.com
9
READ OPERATIONS
Read from Memory Array
To read from memory, the host sends a READ instruction
followed by a 16bit address (see Table 11 for the number
of significant address bits).
After receiving the last address bit, the CAT25320 will
respond by shifting out data on the SO pin (as shown in
Figure 9). Sequentially stored data can be read out by simply
continuing to run the clock. The internal address pointer is
automatically incremented to the next higher address as data
is shifted out. After reaching the highest memory address,
the address counter “rolls over” to the lowest memory
address, and the read cycle can be continued indefinitely.
The read operation is terminated by taking CS
high.
Read Status Register
To read the status register, the host simply sends a RDSR
command. After receiving the last bit of the command, the
CAT25320 will shift out the contents of the status register on
the SO pin (Figure 10). The status register may be read at any
time, including during an internal write cycle. While the
internal write cycle is in progress, the RDSR command will
output the full content of the status register (New product,
Rev. F) or the RDY (Ready) bit only (i.e., data out = FFh) for
previous product revision C (Mature product). For easy
detection of the internal write cycle completion, both during
writing to the memory array and to the status register, we
recommend sampling the RDY bit only through the polling
routine. After detecting the RDY bit “0”, the next RDSR
instruction will always output the expected content of the
status register.
Figure 9. READ Timing
SCK
SI
SO
BYTE ADDRESS*
0123456789
7
6 5 4 3 2 1 0
DATA OUT
MSB
HIGH IMPEDANCE
OPCODE
2120 22 23 24 25 26 27 28 29 30
00 00 0 11
Dashed Line = mode (1, 1)
A
0
A
N
CS
* Please check the Byte Address Table (Table 11)
0
10
Figure 10. RDSR Timing
012345678 10911121314
SCK
SI
DATA OUT
MSB
HIGH IMPEDANCE
OPCODE
SO
7 6
5
4 3 2 1 0
00000 1 01
Dashed Line = mode (1, 1)
CS

CAT25320VI-G

Mfr. #:
Manufacturer:
ON Semiconductor
Description:
EEPROM (4Kx8) 32K 1.8-5.5V
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union