Skip to main content
PKyyy.1
Associate
August 3, 2020
Solved

HAL_SPI_Receive() ... Source Code

  • August 3, 2020
  • 3 replies
  • 1172 views

HIcommunity

I am new to the STM32 world and am looking for the name of the library file in which the function HAL_SPI_Receive (..) is included as source code or the direct source code of this function.

thanks for help

This topic has been closed for replies.
Best answer by LMI2

There are many kinds of Stm32 Cpus. Which of them are you going to use.

If you install CubeMx and the support for your CPU family, you'll probably get also SPI examples for your CPU/Board.

Using HAL_SPI_Receive() is easy, Try Googling it.

Earlier this summer I posted main.c of STM32H750 driving Max31865 with SPI.

3 replies

LMI2
LMI2Best answer
Senior III
August 3, 2020

There are many kinds of Stm32 Cpus. Which of them are you going to use.

If you install CubeMx and the support for your CPU family, you'll probably get also SPI examples for your CPU/Board.

Using HAL_SPI_Receive() is easy, Try Googling it.

Earlier this summer I posted main.c of STM32H750 driving Max31865 with SPI.

TDK
August 3, 2020
"If you feel a post has answered your question, please click ""Accept as Solution""."
PKyyy.1
PKyyy.1Author
Associate
August 4, 2020

have meanwhile been able to find the library directly. i use the STM32F103. The library name i found was

stm32f1xx_hal_spi.h and stm32f1xx_hal_spi.c

thanks