cancel
Showing results for 
Search instead for 
Did you mean: 

SPI Slave

Pkats.1
Associate II

In my Application, ill use 2 uC stm32h743.

Between both, my plan is to apply a SPI interface, when one of them will be the Master and the second will be the Slave.

My first question is, does the uC can work as Slave? does clk pin can work as input at the slave side?

Second, should i connect Mosi pin of Master uC to Miso pin of Slave uC ?

2 REPLIES 2

> uC can work as Slave?

Yes, if you set it so.

> clk pin can work as input at the slave side?

Yes. Usually denoted as SCK in SPI.

> should i connect Mosi pin of Master uC to Miso pin of Slave uC ?

No. Connect MOSI to MOSI.

Read the SPI chapter in RM.

JW

Pkats.1
Associate II

hello,

if the uC could work as Slave, of course MOSI to MOSI. thank you!