93C46B
1997 Microchip Technology Inc.
Preliminary
DS21172D-page 3
2.0 PIN DESCRIPTION
2.1 Chip Select (CS)
A high level selects the de vice; a low le vel deselects the
device and forces it into standb y mode. Howev er , a programming cycle which is already in progress will be
completed, regardless of the Chip Select (CS) input
signal. If CS is brought low during a progr am cycle, the
device will go into standby mode as soon as the programming cycle is completed.
CS must be low for 250 ns minimum (T
CSL
) between
consecutive instructions. If CS is low, the internal control logic is held in a RESET status.
2.2 Serial Cloc
k (CLK)
The Serial Clock (CLK) is used to synchronize the communication between a master device and the 93C46B.
Opcodes, addresses, and data bits are clocked in on
the positive edge of CLK. Data bits are also clock ed out
on the positive edge of CLK.
CLK can be stopped anywhere in the transmission
sequence (at high or low level) and can be continued
anytime with respect to clock high time (T
CKH
) and
clock low time (T
CKL
). This gives the controlling master
freedom in preparing the opcode, address, and data.
CLK is a “Don't Care” if CS is low (device deselected).
If CS is high, but START condition has not been
detected, any number of clock cycles can be received
by the device, without changing its status (i.e., waiting
for a START condition).
CLK cycles are not required during the self-timed
WRITE (i.e., auto ERASE/WRITE) cycle.
After detecting a START condition, the specified number of clock cycles (respectively low to high transitions
of CLK) must be provided. These clock cycles are
required to clock in all required opcodes, addresses,
and data bits before an instruction is executed
(Table 2-1). CLK and DI then become don't care inputs
waiting for a new START condition to be detected.
2.3 Data In (DI)
Data In (DI) is used to clock in a START bit, opcode,
address, and data synchronously with the CLK input.
2.4 Data Out (DO)
Data Out (DO) is used in the READ mode to output data
synchronously with the CLK input (T
PD after the posi-
tive edge of CLK).
This pin also provides READ Y/B
USY status information
during ERASE and WRITE cycles. READY/B
USY status information is available on the DO pin if CS is
brought high after being low for minimum chip select
low time (T
CSL) and an ERASE or WRITE operation has
been initiated.
The status signal is not available on DO, if CS is held
low during the entire ERASE or WRITE cycle. In this
case, DO is in the HIGH-Z mode. If status is checked
after the ERASE/WRITE cycle, the data line will be high
to indicate the device is ready.
Note: CS must go low between consecutive
instructions.
TABLE 2-1 INSTRUCTION SET FOR 93C46B
Instruction SB Opcode Address Data In Data Out Req. CLK Cycles
ERASE
1 11 A5 A4 A3 A2 A1 A0 — (RDY/BSY) 9
ERAL
1 00 1 0 X X X X — (RDY/BSY) 9
EWDS
1 00 0 0 X X X X — HIGH-Z 9
EWEN
1 00 1 1 X X X X — HIGH-Z 9
READ
1 10 A5 A4 A3 A2 A1 A0 — D15 - D0 25
WRITE
1 01 A5 A4 A3 A2 A1 A0 D15 - D0 (RDY/BSY) 25
WRAL
1 00 0 1 X X X X D15 - D0 (RDY/BSY) 25