Skip to main content
Andrei Chichak
Lead
July 23, 2024
Question

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

  • July 23, 2024
  • 1 reply
  • 898 views

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.

 

1 reply

ELABI.1
ST Technical Moderator
August 5, 2024

Hi @Andrei Chichak 

Thank you for the information, I confirm the issue that I reported internally.

Internal ticket number: 188120 (This is an internal tracking number and is not accessible or usable by customers).

ELABI.1

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.