STMicroelectronics M95M02-DRMN6TP Memory IC M95M02-DRMN6TP Hoja De Datos

Los códigos de productos
M95M02-DRMN6TP
Descargar
Página de 41
DocID18203 Rev 8
M95M02-DR
Connecting to the SPI bus
Connecting to the SPI bus
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 instructions) have been 
clocked into the device.
Figure 5. Bus master and memory devices on the SPI bus
1. The Write Protect (W) and Hold (HOLD) signals should be driven, high or low as appropriate.
 shows an example of three memory devices connected to an SPI bus master. Only 
one memory device is selected at a time, so only one memory device drives the Serial Data 
Output (Q) line at a time. The other memory devices are high impedance.
The pull-up resistor R (represented in 
) ensures that a device is not selected if the 
Bus Master leaves the S line in the high impedance state.
In applications where the Bus Master may leave all SPI bus lines in high impedance at the 
same time (for example, if the Bus Master is reset during the transmission of an instruction), 
the clock line (C) must be connected to an external pull-down resistor so that, if all 
inputs/outputs become high impedance, the C line is pulled low (while the S line is pulled 
high): this ensures that S and C do not become high at the same time, and so, that the 
t
SHCH
 requirement is met. The typical value of R is 100 k
Ω..
AI12836b
SPI Bus Master
SPI Memory
Device
SDO
SDI
SCK
C
Q
D
S
SPI Memory
Device
C
Q
D
S
SPI Memory
Device
C
Q
D
S
CS3
CS2 CS1
SPI Interface with
(CPOL, CPHA) =
(0, 0) or (1, 1)
W
HOLD
W
HOLD
W
HOLD
R
R
R
V
CC
V
CC
V
CC
V
CC
V
SS
V
SS
V
SS
V
SS
R