Skip to main content
Visitor II
August 3, 2020
Solved

HAL_SPI_Receive() ... Source Code

  • August 3, 2020
  • 3 replies
  • 1140 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

    LMI2Answer
    Visitor II
    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.

    Super User
    August 3, 2020
    PKyyy.1Author
    Visitor II
    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