Serial peripheral interface/ inter-IC sound (SPI/I2S)
26.3.3
Standard multi-slave communication
In a configuration with two or more independent slaves, the master uses GPIO pins to
manage the chip select lines for each slave (see
of the slaves individually by pulling low the GPIO connected to the slave NSS input. When
this is done, a standard master and dedicated slave communication is established.
Rx shift register
Tx shift register
1. NSS pin is not used on master side at this configuration. It has to be managed internally (SSM=1, SSI=1) to
prevent any MODF error.
2. As MISO pins of the slaves are connected together, all slaves must have the GPIO configuration of their
MISO pin set as alternate function open-drain (see
page
174).
818/1163
Figure 274. Master and three independent slaves
SPI clock
generator
Master
Figure
(1)
NSS
MISO
MOSI
MOSI
SCK
IO1
IO2
IO3
MISO
Section 7.3.7: I/O alternate function input/output on
RM0402 Rev 6
274.). The master must select one
MISO
Tx shift register
Rx shift register
SCK
NSS
Slave 1
MISO
Tx shift register
MOSI
Rx shift register
SCK
NSS
Slave 2
Tx shift register
MOSI
Rx shift register
SCK
NSS
Slave 3
RM0402
MSv39626V1
Need help?
Do you have a question about the STM32F412 and is the answer not in the manual?
Questions and answers