2024-11-01 05:19 AM - last edited on 2024-11-01 05:23 AM by Andrew Neil
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.