2020-08-03 12:09 PM
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
Solved! Go to Solution.
2020-08-03 12:51 PM
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.
2020-08-03 12:51 PM
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.
2020-08-03 04:36 PM
https://github.com/STMicroelectronics/STM32CubeF4
2020-08-04 09:02 AM
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