cancel
Showing results for 
Search instead for 
Did you mean: 

CubeIDE will let you set SPI data widths that are not legal for STM32H563.

CubeIDE 1.16.0 and/or CubeMX 6.12.0.

STM32H563 - SPI devices 4, 5, and 6 only support data widths of 8 or 16 bits. IDE/MX have a Data Size dropdown that let you choose 4 - 16 bits. Widths other than 8 or 16 blow up in HAL_SPI_Init when the data width is checked in an assert in stm32h5xx_hal_spi.c line 258.

 

0 REPLIES 0