Question
STMCube DMA settings on QUADSPI for STM32F413ZH not working
Hi
I am using STM32CubeIDE 1.3.0 on a Linux host to set up a NUCLEO-F413ZH.
I was setting up the QSPI port DMA. This does not allow you to click on the checkbox to increment memory.
As a result, the generated code is wrong and the DMA address does not increment, so the transfer gets hosed.
Hand editing the code to change the MemInc field from Disable to Enable fixes this.
- hdma_quadspi.Init.MemInc = DMA_MINC_DISABLE;
+ hdma_quadspi.Init.MemInc = DMA_MINC_ENABLE;
Once that is fixed it all works great!
