Skip to main content
Explorer
November 2, 2024
Solved

SPI communication (Transmit Only Slave)

  • November 2, 2024
  • 1 reply
  • 1251 views

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.
    Best answer by KDJEM.1

    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

    1 reply

    KDJEM.1Answer
    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