AnsweredAssumed Answered

STM32H7 Bug in HAL_SPI_TransmitReceive ?

Question asked by Volker Bremauer on Sep 29, 2017
Latest reply on Jan 11, 2018 by Imen D

Is there a bug in the HAL driver lib FW 1.1.0 ?

Because SPI4 is not supported.

In the routine HAL_SPI_TransmitReceive there is a question

"if (IS_SPI_HIGHEND_INSTANCE(hspi->Instance)) ..."

the else branch is empty/not existing.....


SPI4 is not a member of the HIGHEND instance !

                                           ((INSTANCE) == SPI2) || \
                                           ((INSTANCE) == SPI3))


Somebody has already used SPI4 ?

Is there a bug in the HAL lib, or have the prototyps of the H743 a bug in this section ?