Skip to main content
Muzahir Hussain
Associate III
February 2, 2018
Question

How many Max Slaves in SPI

  • February 2, 2018
  • 1 reply
  • 608 views
Posted on February 02, 2018 at 10:19

In SPI protocol, how many  maximum slaves can I connect to master(nucleo STM32F103RB)?

#stm32f103rb #spi-communication #nucleo-stm
This topic has been closed for replies.

1 reply

AvaTar
Senior III
February 2, 2018
Posted on February 02, 2018 at 11:52

Basically, SPI was intended as point-to-point protocol, i.e. one master, one slave.

You can add more slaves by using more or less elaborate Slave-Select mechanisms, that selects one slave out of <n>.

However, when using software slave select, you might run into trouble using interrupts or DMA for transfers.