These electrically erasable programmable memory (EEPROM) devices are accessed through a Serial Data Input (D) and Serial Data Output (Q)
using the MICROWIRE bus protocol.
Figure 2. Logic Diagram
V
CC
ORG
D
C
S
M93Cx6
V
SS
Q
AI01928
Table 3. Memory Size versus Organization
Device
M93C861638420481024
M93C7681921024512
M93C664096512256
M93C562048256128
M93C46102412864
Number
of Bits
Number
of 8-bit
Bytes
Number
of 16-bit
Words
The M93Cx6 is accessed by a set of instructions,
as summarized in Table 4., and in more detail in
Table 5. to Table 7.).
Table 4. Instruction Set for the M93Cx6
InstructionDescriptionData
READRead Data from MemoryByte or Word
WRITEWrite Data to MemoryByte or Word
EWENErase/Write Enable
EWDSErase/Write Disable
Table 2. Signal Names
SChip Select Input
DSerial Data Input
QSerial Data Output
CSerial Clock
ORGOrganisation Select
V
CC
V
SS
Supply Voltage
Ground
The memory array organization may be divided
into either bytes (x8) or words (x16) which may be
selected by a signal applied on Organization Select (ORG). The bit, byte and word sizes of the
memories are as shown in Table 3..
ERASEErase Byte or WordByte or Word
ERALErase All Memory
WRAL
Write All Memory
with same Data
A Read Data from Memory (READ) instruction
loads the address of the first byte or word to be
read in an internal address register. The data at
this address is then clocked out serially. The address register is automatically incremented after
the data is output and, if Chip Select Input (S) is
held High, the M93Cx6 can output a sequential
stream of data bytes or words. In this way, the
memory can be read as a data stream from eight
to 16384 bits long (in the case of the M93C86), or
continuously (the address counter automatically
rolls over to 00h when the highest address is
reached).
Programming is internally self-timed (the external
clock signal on Serial Clock (C) may be stopped or
left running after the start of a Write cycle) and
does not require an Erase cycle prior to the Write
instruction. The Write instruction writes 8 or 16 bits
at a time into one of the byte or word locations of
the M93Cx6. After the start of the programming cycle, a Busy/Ready signal is available on Serial
Data Output (Q) when Chip Select Input (S) is driven High.
4/31
M93C86, M93C76, M93C66, M93C56, M93C46
An internal Power-on Data Protection mechanism
in the M93Cx6 inhibits the device when the supply
is too low.
Figure 3. DIP, SO, TSSOP and MLP
Connections (Top View)
M93Cx6
SV
1
2
D
3
Q
4
Note: 1. See PACKAGE MECHANICAL section for package di-
mensions, and how to identify pin-1.
2. DU = Don’t Use.
8
7
6
5
AI01929B
CC
DUC
ORG
V
SS
The DU (Don’t Use) pin does not contribute to the
normal operation of the device. It is reserved for
use by STMicroelectronics during test sequences.
The pin may be left unconnected or may be connected to V
is recommended for the lowest stand-by pow-
V
SS
or VSS. Direct connection of DU to
CC
er consumption.
MEMORY ORGANIZATION
The M93Cx6 memory is organized either as bytes
(x8) or as words (x16). If Organization Select
(ORG) is left unconnected (or connected to V
CC
the x16 organization is selected; when Organization Select (ORG) is connected to Ground (V
SS
the x8 organization is selected. When the M93Cx6
is in stand-by mode, Organization Select (ORG)
should be set either to V
power consumption. Any voltage between V
or VCC for minimum
SS
SS
and VCC applied to Organization Select (ORG)
may increase the stand-by current.
POWER-ON DATA PROTECTION
To prevent data corruption and inadvertent write
operations during power-up, a Power-On Reset
(POR) circuit resets all internal programming circuitry, and sets the device in the Write Disable
mode.
–At Power-up and Power-down, the device
must not be selected (that is, Chip Select Input
(S) must be driven Low) until the supply
voltage reaches the operating value V
specified in Table 9. to Table 11..
–When V
reaches its valid level, the device is
CC
properly reset (in the Write Disable mode) and
is ready to decode and execute incoming
instructions.
For the M93Cx6 devices (5V range) the POR
threshold voltage is around 3V. For the M93Cx6W (3V range) and M93Cx6-R (2V range) the POR
threshold voltage is around 1.5V.
CC
)
)
5/31
M93C86, M93C76, M93C66, M93C56, M93C46
INSTRUCTIONS
The instruction set of the M93Cx6 devices contains seven instructions, as summarized in Table
5. to Table 7.. Each instruction consists of the fol-
lowing parts, as shown in Figure 4.:
■Each instruction is preceded by a rising edge
on Chip Select Input (S) with Serial Clock (C)
being held Low.
■A start bit, which is the first ‘1’ read on Serial
Data Input (D) during the rising edge of Serial
Clock (C).
■Two op-code bits, read on Serial Data Input
(D) during the rising edge of Serial Clock (C).
(Some instructions also use the first two bits of
the address to define the op-code).
Table 5. Instruction Set for the M93C46
x8 Origination (ORG = 0)x16 Origination (ORG = 1)
Instruc
tion
Description
Start
bit
Op-
Code
Address
1
■The address bits of the byte or word that is to
be accessed. For the M93C46, the address is
made up of 6 bits for the x16 organization or 7
bits for the x8 organization (see Table 5.). For
the M93C56 and M93C66, the address is
made up of 8 bits for the x16 organization or 9
bits for the x8 organization (see Table 6.). For
the M93C76 and M93C86, the address is
made up of 10 bits for the x16 organization or
11 bits for the x8 organization (see Table 7.).
The M93Cx6 devices are fabricated in CMOS
technology and are therefore able to run as slow
as 0 Hz (static input signals) or as fast as the maximum ratings specified in Table 20. to Table 23..
Data
Required
Clock
Cycles
Address
1
Data
Required
Clock
Cycles
READ
WRITE
EWENErase/Write Enable10011X XXXX1011 XXXX9
EWDSErase/Write Disable10000X XXXX1000 XXXX9
ERASE Erase Byte or Word111A6-A010A5-A09
ERALErase All Memory10010X XXXX1010 XXXX9
WRAL
Note: 1. X = Don’t Care bit.
Read Data from
Memory
Write Data to
Memory
Write All Memory
with same Data
110A6-A0Q7-Q0A5-A0Q15-Q0
101A6-A0D7-D018A5-A0D15-D025
10001X XXXXD7-D01801 XXXXD15-D025
6/31
M93C86, M93C76, M93C66, M93C56, M93C46
Table 6. Instruction Set for the M93C56 and M93C66
x8 Origination (ORG = 0)x16 Origination (ORG = 1)
Instruc
tion
READ
WRITE
Description
Read Data from
Memory
Write Data to
Memory
EWENErase/Write Enable100
EWDSErase/Write Disable100
ERASE Erase Byte or Word111A8-A012A7-A011
ERALErase All Memory100
WRAL
Note: 1. X = Don’t Care bit.
Write All Memory
with same Data
2. Address bit A8 is not decoded by the M93C56.
3. Address bit A7 is not decoded by the M93C56.
Start
bit
Op-
Code
Address
1,2
Data
Required
Clock
Address
1,3
Required
Data
Cycles
110A8-A0Q7-Q0A7-A0Q15-Q0
101A8-A0D7-D020A7-A0D15-D027
100
1 1XXX
XXXX
0 0XXX
XXXX
1 0XXX
XXXX
0 1XXX
XXXX
12
12
12
D7-D020
11XX
XXXX
00XX
XXXX
10XX
XXXX
01XX
XXXX
D15-D027
Clock
Cycles
11
11
11
Table 7. Instruction Set for the M93C76 and M93C86
x8 Origination (ORG = 0)x16 Origination (ORG = 1)
Instruc
tion
READ
WRITE
Description
Read Data from
Memory
Write Data to
Memory
EWENErase/Write Enable100
EWDSErase/Write Disable100
ERASE Erase Byte or Word111A10-A014A9-A013
ERALErase All Memory100
WRAL
Note: 1. X = Don’t Care bit.
Write All Memory
with same Data
2. Address bit A10 is not decoded by the M93C76.
3. Address bit A9 is not decoded by the M93C76.
Start
bit
Op-
Code
Address
1,2
Data
Required
Clock
Address
1,3
Required
Data
Cycles
110A10-A0Q7-Q0A9-A0Q15-Q0
101A10-A0D7-D022A9-A0D15-D029
100
11X XXXX
XXXX
00X XXXX
XXXX
10X XXXX
XXXX
01X XXXX
XXXX
14
14
14
D7-D022
11 XXXX
XXXX
00 XXXX
XXXX
10 XXXX
XXXX
01 XXXX
XXXX
D15-D029
Clock
Cycles
13
13
13
7/31
M93C86, M93C76, M93C66, M93C56, M93C46
Read
The Read Data from Memory (READ) instruction
outputs data on Serial Data Output (Q). When the
instruction is received, the op-code and address
are decoded, and the data from the memory is
transferred to an output shift register. A dummy 0
bit is output first, followed by the 8-bit byte or 16bit word, with the most significant bit first. Output
data changes are triggered by the rising edge of
Serial Clock (C). The M93Cx6 automatically increments the internal address register and clocks out
the next byte (or word) as long as the Chip Select
Input (S) is held High. In this case, the dummy 0 bit
is not output between bytes (or words) and a continuous stream of data can be read.
Figure 4. READ, WRITE, EWEN, EWDS Sequences
READ
S
D
1 1 0 AnA0
Erase/Write Enable and Disable
The Erase/Write Enable (EWEN) instruction enables the future execution of erase or write instructions, and the Erase/Write Disable (EWDS)
instruction disables it. When power is first applied,
the M93Cx6 initializes itself so that erase and write
instructions are disabled. After an Erase/Write Enable (EWEN) instruction has been executed, erasing and writing remains enabled until an Erase/
Write Disable (EWDS) instruction is executed, or
until V
falls below the power-on reset threshold
CC
voltage. To protect the memory contents from accidental corruption, it is advisable to issue the
Erase/Write Disable (EWDS) instruction after every write cycle. The Read Data from Memory
(READ) instruction is not affected by the Erase/
Write Enable (EWEN) or Erase/Write Disable
(EWDS) instructions.
Q
ADDR
OP
CODE
SWRITE
D
Q
SERASE
WRITE
ENABLE
D
Note: For the meanings of An, Xn, Qn and Dn, see Table 5., Table 6. and Table 7..
1 0An A0
ADDR
OP
CODE
1
0XnX0
101
OP
CODE
QnQ0
DATA OUT
DnD01
DATA IN
WRITE
DISABLE
CHECK
STATUS
BUSYREADY
SERASE
D
1
0XnX0
000
OP
CODE
AI00878C
8/31
M93C86, M93C76, M93C66, M93C56, M93C46
Erase
The Erase Byte or Word (ERASE) instruction sets
the bits of the addressed memory byte (or word) to
1. Once the address has been correctly decoded,
the falling edge of the Chip Select Input (S) starts
the self-timed Erase cycle. The completion of the
cycle can be detected by monitoring the Ready/
line, as described in the READY/BUSY STA-
Busy
TUS section.
Write
For the Write Data to Memory (WRITE) instruction,
8 or 16 data bits follow the op-code and address
bits. These form the byte or word that is to be written. As with the other bits, Serial Data Input (D) is
sampled on the rising edge of Serial Clock (C).
Figure 5. ERASE, ERAL Sequences
SERASE
1 1D
1
AnA0
Q
After the last data bit has been sampled, the Chip
Select Input (S) must be taken Low before the next
rising edge of Serial Clock (C). If Chip Select Input
(S) is brought Low before or after this specific time
frame, the self-timed programming cycle will not
be started, and the addressed location will not be
programmed. The completion of the cycle can be
detected by monitoring the Ready/Busy
line, as
described later in this document.
Once the Write cycle has been started, it is inter-
nally self-timed (the external clock signal on Serial
Clock (C) may be stopped or left running after the
start of a Write cycle). The cycle is automatically
preceded by an Erase cycle, so it is unnecessary
to execute an explicit erase instruction before a
Write Data to Memory (WRITE) instruction.
CHECK
STATUS
ADDR
OP
CODE
ALL
Note: For the meanings of An and Xn, please see Table 5., Table 6. and Table 7..
SERASE
1 0D
1
00
Xn X0
Q
ADDR
OP
CODE
BUSYREADY
CHECK
STATUS
BUSYREADY
AI00879B
9/31
M93C86, M93C76, M93C66, M93C56, M93C46
Erase All
The Erase All Memory (ERAL) instruction erases
the whole memory (all memory bits are set to 1).
The format of the instruction requires that a dummy address be provided. The Erase cycle is conducted in the same way as the Erase instruction
(ERASE). The completion of the cycle can be detected by monitoring the Ready/Busy
line, as de-
scribed in the READY/BUSY STATUS section.
Write All
As with the Erase All Memory (ERAL) instruction,
the format of the Write All Memory with same Data
(WRAL) instruction requires that a dummy address be provided. As with the Write Data to Memory (WRITE) instruction, the format of the Write All
Memory with same Data (WRAL) instruction requires that an 8-bit data byte, or 16-bit data word,
be provided. This value is written to all the addresses of the memory device. The completion of
the cycle can be detected by monitoring the
Ready/Busy
Figure 6. WRAL Sequence
ALL
Note: For the meanings of Xn and Dn, please see Table 5., Table 6. and Table 7..
SWRITE
D
Q
1
OP
CODE
0
Xn X0
001
DnD0
ADDR
DATA IN
line, as described next.
CHECK
STATUS
BUSYREADY
AI00880C
10/31
Loading...
+ 21 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.