English
Language : 

M95640-S Datasheet, PDF (7/42 Pages) STMicroelectronics – 32Kbit and 64Kbit Serial SPI Bus EEPROMs With High Speed Clock
M95640, M95320
CONNECTING TO THE SPI BUS
These devices are fully compatible with the SPI
protocol.
All instructions, addresses and input data bytes
are shifted in to the device, most significant bit
first. The Serial Data Input (D) is sampled on the
first rising edge of the Serial Clock (C) after Chip
Select (S) goes Low.
All output data bytes are shifted out of the device,
most significant bit first. The Serial Data Output
(Q) is latched on the first falling edge of the Serial
Clock (C) after the instruction (such as the Read
from Memory Array and Read Status Register in-
structions) have been clocked into the device.
Figure 4. shows three devices, connected to an
MCU, on a SPI bus. Only one device is selected at
a time, so only one device drives the Serial Data
Output (Q) line at a time, all the others being high
impedance.
Figure 4. Bus Master and Memory Devices on the SPI Bus
SPI Interface with
(CPOL, CPHA) =
(0, 0) or (1, 1)
SDO
SDI
SCK
Bus Master
(ST6, ST7, ST9,
ST10, Others)
R
CS3 CS2 CS1
C Q D VCC
SPI Memory
R
Device
S
W HOLD
CQD
VCC
SPI Memory
R
Device
S
W HOLD
VCC
C Q D VCC
SPI Memory
Device
S
W HOLD
Note: The Write Protect (W) and Hold (HOLD) signals should be driven, High or Low as appropriate.
AI03746e
7/42