
CMOS SERIAL E
2
PROM
S-29590A / 29690A
7
2. Write (PROGRAM)
The PROGRAM instruction automatically begins writing to the non-volatile memory when CS goes low at the
completion of the specified clock input.
The write operation is completed in 10 ms (t
PR
Max.), and the typical write period is less than 4 ms. In the S-29590A /
690A series, it is easy to VERIFY the completion of the write operation in order to minimize the write cycle by setting CS to
high and checking the DO pin, which is low during the write operation and high after its completion. This VERIFY
procedure can be executed over and over again. There are two methods to detect a change in the DO output. One is to
detect a change from low to high setting CS to high, and the other is to detect a change from low to high as a result of
repetitious operations of returning the CS to low after setting CS to high and checking the DO output.
Because all SK and DI inputs are ignored during the write operation, any input of instruction will also be disregarded.
When DO outputs high after completion of the write operation or if it is in the high-impedence state (Hi-Z), the input of
instructions is available. Even if the DO pin remains high, it will enter the high-impedence state upon the recognition of a
high of DI (start-bit) attached to the rising edge of an SK pulse. (see Figure 3).
DI input should be low during the VERIFY procedure.
2.1 PROGRAM
This instruction writes 16-bit data to a specified address.
After changing CS to high, input a start-bit, op-code (PROGRAM), address, and 16-bit data. If there is a data overflow
of more than 16 bits, only the last 16-bits of the data is considered valid. Changing CS to low will start the PROGRAM
operation. It is not necessary to make the data "1" before initiating the PROGRAM operation.
A9
A10
32
X
t
CDS
11
t
PR
busy
ready
D15
Hi-Z
t
SV
16
Hi-Z
17
10
9
8
7
6
5
3
2
1
SK
DI
DO
A0
D0
4
t
HZ1
0
A5
A6
A7
A8
0
1
ready
CS
VERIFY
*On the S-29590A, A
10
is optional.
Figure 5
Write Timing (S-29690A)