cancel
Showing results for 
Search instead for 
Did you mean: 

Using SPI DMA at 16bit, dosent work on STM32H5

spa23
Associate III

Hi. ST

 

There is an error in the code that is generated by CubeMx when you use 16bit in SPI DMA transfer.

 

Can be solved in the stm32h5xx_hal_msp.c file:
/* USER CODE BEGIN SPI4_MspInit 1 */
memcpy(&handle_GPDMA1_Channel1.Init,&NodeConfig.Init, sizeof(NodeConfig.Init));
/* USER CODE END SPI4_MspInit 1 */

 

maybe ST will look into it?

Using: 

STM32Cube FW_H5 V1.3.0

STM32CubeMX: 6.12.1

MCU: STM32H573IIKxQ

Best regards.

 

0 REPLIES 0