AnsweredAssumed Answered

SPI Multi-Master mode with STM32F050

Question asked by Dirk on Jan 14, 2014
Latest reply on Jan 23, 2014 by sung.chen_chung
Hey Guys,
I have some question about the SPI Multi-Master mode with the STM32F050.

What I want to do is shown in the Picture. I have two Boards connected over a plug.
When they are pluged together, the MCU is the SPI Master. So the STM32 is in Slave mode.
When the Master MCU isn't connected, the STM32 should be the SPI Master.

Is it possible to do something like that with the STM32? In the Reference Manuel at page 645 is written
that the STM32 goes into Slave mode when the NSS pin is pulled low and then the NSS pin works as an standard chip select.
But how can I change from Slave to Master mode when the MCU Master is separated?

Maybe somebody has some experience with SPI Mulit-Master.

Thanks a lot.

Dirk

SPI_Multimaster.png

Outcomes