Skip to main content
rscuk.1
Visitor II
March 8, 2023
Solved

I'm using _HAL_SPI_GETFLAG(SPI2, SPI_FLAG_TXE). I'm getting an error in the STM32g0xx_hal_spi.h file. The error is at the hal_spi_getflag statement. I've checked for updates and it did not load a different file. Do I need a include file?

..

This topic has been closed for replies.
Foued_KH
Foued_KHBest answer
ST Employee
March 29, 2023

Hello @rscuk.1​ ,

Please you can refer to available examples in the CubeFW :

STM32CubeG0/Projects/NUCLEO-G071RB/Examples/SPI

Foued

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

1 reply

Foued_KH
Foued_KHBest answer
ST Employee
March 29, 2023

Hello @rscuk.1​ ,

Please you can refer to available examples in the CubeFW :

STM32CubeG0/Projects/NUCLEO-G071RB/Examples/SPI

Foued

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.