While testing this I noticed that in STM32F4xx/hal_lld.h in trunk, on line 489, SPI 4-6 are only enabled for 429 and 439, I tried changing the line from:
Code: Select all
#ifdef STM32F429_439xxto:
Code: Select all
#if defined(STM32F427_437xx) || defined(STM32F429_439xx)and tested on a 427 board with SPI5, this works fine.
Ben.