Instruction
Description Op-Code
x8 Org
Address
(ORG = 0)
(1, 2)
Data
x16 Org
Address
(ORG = 1)
(1, 3)
Data
READ Read Data from Memory 10 A8-A0 Q7-Q0 A7-A0 Q15-Q0
WRITE Write Data to Memory 01 A8-A0 D7-D0 A7-A0 D15-D0
EWEN Erase/Write Enable 00 11XXX XXXX 11XX XXXX
EWDS Erase/Write Disable 00 00XXX XXXX 00XX XXXX
ERASE Erase Byte or Word 11 A8-A0 A7-A0
ERAL Erase All Memory 00 10XXX XXXX 10XX XXXX
WRAL
Write All Memory
with same Data
00 01XXX XXXX D7-D0 01XX XXXX D15-D0
Notes: 1. X = don’t care bit.
2. Address bit A8 is not decoded by the ST93C56, ST93C56C.
3. Address bit A7 is not decoded by the ST93C56, ST93C56C.
Table 6. InstructionSet
INSTRUCTIONS
The ST93C56 has seveninstructions,asshownin
Table 6. The op-codes ofthe instructionsare made
up of 2 bits.Theop-codeisfollowedbyanaddress
for the byte/wordwhichis eightbitslongforthex16
organization or nine bits long for the x8 organization.Eachinstructionisprecededbytherising edge
of the signal applied on the Chip Select (S) input
(assumingthat the clock C is low). The datainput
D is thensampled upon the following rising edges
of the clock C untill a ’1’ is sampled and decoded
by the ST93C56 as a Start bit.
The ST93C56 is fabricated in CMOS technology
and is therefore able to run from zero Hz (static
inputsignals)up to themaximumratings(specified
in Table 5).
Read
The Read instruction (READ) outputs serial data
on the Data Output (Q). When a READ instruction
is received, the instruction and address are decodedandthe datafromthememoryis transferred
intoanoutputshiftregister.Adummy’0’bitisoutput
first, followed by the 8 bit byte or the 16 bit word
with the MSB first. Output data changes are triggeredby theLowtoHightransitionoftheClock(C).
The ST93C56 will automaticallyincrement the addressand will clock out the next byte/wordas long
as the Chip Select input (S) is held High. In this
case the dummy ’0’ bit is NOT output between
bytes/wordsand a continuousstream of data can
be read.
Erase/WriteEnable and Disable
The Erase/Write Enable instruction (EWEN)
authorizesthe followingErase/Writeinstructionsto
be executed, the Erase/Write Disable instruction
(EWDS) disables the execution of the following
Erase/Write instructions. When power is first applied, the ST93C56 enters the Disable mode.
When the EWEN instruction is executed, Write
instructions remain enabled until an Erase/Write
Disableinstruction(EWDS) is executedorV
CC
falls
belowthe power-onreset threshold.To protect the
memory contents from accidental corruption, it is
advisableto issuetheEWDSinstructionafterevery
write cycle.
The READinstructionis notaffected by theEWEN
or EWDSinstructions.
Erase
The Eraseinstruction (ERASE) programs the addressedmemory byte or word bits to ’1’. Once the
addressiscorrectlydecoded,the fallingedgeof the
Chip Select input (S) triggers a self-timed erase
cycle.
If the ST93C56 is still performing the erasecycle,
the Busysignal(Q =0) will bereturnedif Sisdriven
high, andthe ST93C56will ignore any data on the
bus. Whentheerasecycleiscompleted,theReady
signal (Q = 1) will indicate (if S is drivenhigh) that
the ST93C56is ready to receive a new instruction.
Write
The Write instruction (WRITE) is followed by the
addressandthe8or16 databitstobewritten.Data
input is sampled on the Low to High transition of
the clock.After thelast data bit hasbeensampled,
Chip Select (S) must be brought Low before the
next rising edge of the clock (C) in order to start
the self-timedprogramming cycle. If the ST93C56
is still performing the write cycle, the Busy signal
6/13
ST93C56/56C, ST93C57C