cancel
Showing results for 
Search instead for 
Did you mean: 

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?

rscuk.1
Associate
1 ACCEPTED SOLUTION

Accepted Solutions
Foued_KH
ST Employee

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.

View solution in original post

1 REPLY 1
Foued_KH
ST Employee

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.