
CMOS SERIAL E
2
PROM
S-29X91A Series
Seiko Instruments Inc.
7
2.
Write (PROGRAM ,WRAL, ERAL)
The write instructions (PROGRAM, WRAL, ERAL) 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 5 ms. In the S-
29X94A 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 repetitous 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.
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.
Figure 6 WRITE Timing (S-29391A)
*
On the S-29191A, A
7
and A
6
are optional.
On the S-29291A, A
7
is optional.
t
CDS
X
11
32
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*
X
0
X
X
1
Standby
CS
VERIFY