Skip to main content
Associate III
November 2, 2024
Solved

SPI communication (Transmit Only Slave)

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?

This topic has been closed for replies.
KDJEM.1
KDJEM.1Best answer
ST Technical Moderator
November 11, 2024

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 "Best answer" on the reply which solved your issue or answered your question.

1 reply

KDJEM.1
KDJEM.1Best answer
ST Technical Moderator
November 11, 2024

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 "Best answer" on the reply which solved your issue or answered your question.