cancel
Showing results for 
Search instead for 
Did you mean: 

DMA transfers using double buffers from external SRAM devices

forst
Associate III

Hello

​I am considering a double buffer DMA transfer using FMC

I want to DMA the data from the external SRAM device to the internal RAM using double buffering

How do I configure STMCubeMX?

Best Regards

3 REPLIES 3

Which STM32?

DMA does not "know" whether a memory is internal or external, so you set it up as for any other memory-to-memory transfer.

Of course the DMA module has to have a path to FMC for this to work at all, this depends on which DMA you intend to use and in which STM32.

JW

TDK
Guru

Go into DMA and a a MemToMem request.

In your code, you will need to specify the locations of each buffer, length in the call to HAL_DMAEx_MultiBufferStart.

If you feel a post has answered your question, please click "Accept as Solution".
forst
Associate III

Hello,

My device is STM32H743

Is there an example of a DMA using double buffering between external and internal memory?

Best Regards