English
Language : 

ST7L05 Datasheet, PDF (54/104 Pages) STMicroelectronics – 8-bit MCU for automotive with single voltage Flash memory, data EEPROM, ADC, timers, SPI
ST7L05, ST7L09
SERIAL PERIPHERAL INTERFACE (Cont’d)
11.3.3.1 Functional Description
A basic example of interconnections between a
single master and a single slave is illustrated in
Figure 32.
The MOSI pins are connected together and the
MISO pins are connected together. In this way
data is transferred serially between master and
slave (most significant bit first).
The communication is always initiated by the mas-
ter. When the master device transmits data to a
slave device via MOSI pin, the slave device re-
sponds by sending data to the master device via
the MISO pin. This implies full duplex communica-
tion with both data out and data in synchronized
with the same clock signal (which is provided by
the master device via the SCK pin).
To use a single data line, the MISO and MOSI pins
must be connected at each node (in this case only
simplex communication is possible).
Four possible data/clock timing relationships may
be chosen (see Figure 35) but master and slave
must be programmed with the same timing mode.
Figure 32. Single Master/ Single Slave Application
MASTER
MSBit
LSBit
8-bit SHIFT REGISTER
MISO
MOSI
MISO
MOSI
MSBit
SLAVE
LSBit
8-bit SHIFT REGISTER
SPI
CLOCK
GENERATOR
SCK
SS +5V
SCK
SS
Not used if SS is managed
by software
54/104
1