You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example code for STM32 does not work, because alternate function for SPI pins is not set during initialization.
Inserting GPIO_InitStruct.Alternate = GPIO_AF5_SPI1 in void HAL_SPI_MspInit(SPI_HandleTypeDef* spiHandle) function in spi.c fixed the issue.
The text was updated successfully, but these errors were encountered:
Example code for STM32 does not work, because alternate function for SPI pins is not set during initialization.
Inserting
GPIO_InitStruct.Alternate = GPIO_AF5_SPI1
invoid HAL_SPI_MspInit(SPI_HandleTypeDef* spiHandle)
function in spi.c fixed the issue.The text was updated successfully, but these errors were encountered: