2025-12-15 4:44 AM
Hello,
I am working with the STM32H7S78-DK board.
With STM32CubeMX 6.16.0, I open the provided board project STM32H7S78-DK.
I am surprised about the assignment of the SPI4 pins:
MX project SPI4 Pin Name:
PE6 = SPI4_MOSI
PE12 = SPI4_SCK
PE13 = SPI4_MISO
but uses the real hardware board
PE14 = SPI4_MOSI
PE12 = SPI4_SCK
PE13 = SPI4_MISO
2025-12-15 4:52 AM
Hello @e_
Both PE6 and PE14 are available on the STM32H7S78-DK and can both be selected as SPI4_MOSI. So, the CubeMX has default pins for each peripheral. If you want, you can manually select the PE14 on the CubeMX.
Best Regards.
II