cancel
Showing results for 
Search instead for 
Did you mean: 

SPI communication (Transmit Only Slave)

pass3master
Senior

We are trying to develop a device that uses SPI communication (Transmit Only Slave).

Are there any sample programs for SPI communication (Transmit Only Slave)?

What should be the trigger for calling HAL_SPI_TransmitReceive? Master's CS?

1 ACCEPTED SOLUTION

Accepted Solutions
KDJEM.1
ST Employee

Hello @pass3master ,

 

I recommend you to take a look at these examples may help you:

These examples have been tested with NUCLEO-H503RB board and can be easily tailored to any other supported device and development board.

For more information about the SPI communication, please refer to RM0468 sections 55.4.3 SPI communication general aspects and 55.4.4 Communications between one master and one slave.

 

I hope this help you.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
KDJEM.1
ST Employee

Hello @pass3master ,

 

I recommend you to take a look at these examples may help you:

These examples have been tested with NUCLEO-H503RB board and can be easily tailored to any other supported device and development board.

For more information about the SPI communication, please refer to RM0468 sections 55.4.3 SPI communication general aspects and 55.4.4 Communications between one master and one slave.

 

I hope this help you.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.