cancel
Showing results for 
Search instead for 
Did you mean: 

STMCube DMA settings on QUADSPI for STM32F413ZH not working

CMann.2
Associate

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!

1 REPLY 1
Khouloud ZEMMELI
ST Employee

​Hello @CMann.2​ 

Thanks for your feedback, this will be internally checked.

Best Regards,

Khouloud