STM32H743 - NUCLEO SPI-DMA not working - always busy
I have attached my sample project with STM32H7
https://1drv.ms/u/s!AuUAN7PWAxFS8l9pJ-mzXLp1vpXc?e=oFnJSX
In short, The basic function HAL_SPI_Transmit(&hspi1, aTxBuffer, 2, 1) work fine but it took a long time.For that reason, I tried to use HAL_SPI_Transmit_DMA to improve the SPI speed (HAL took so long time !!) like the function below
HAL_SPI_Transmit_DMA(&hspi1, aTxBuffer, 1);
while (HAL_SPI_GetState(&hspi1) != HAL_SPI_STATE_READY);
However, it looks like it is stuck at HAL_SPI_STATE_READY T.T -> always Busy ???
I don't know why the STM32H7 cannot work properly. I think that the DMA is not working well like this post: "https://community.st.com/s/article/FAQ-DMA-is-not-working-on-STM32H7-devices"
I try to apply "Solution example 1": Simple placement of all memory to the D1 domain. However, I don't know how to change the .ld file extension. It is so complicated for newbies like me when using STM32Cube IDE
Could anyone make SPI_DMA work with high speed in STM32H7. Thank you so much
