Skip to main content
Explorer
September 7, 2025
Solved

Does STM32H750 support mem2mem DMA (ChatGPT said it doesn't)?

  • September 7, 2025
  • 3 replies
  • 421 views

Hi Dear friends,

 

I am trying to configure H750 to transfer data between internal SRAM and external SDRAM, I got everything setup OK but with some problems (also monitor data bus with logic analyzer). So I checked with ChatGPT, surprisingly, ChatGPT said H750 (actually it said the same thing about H74x)  does not officially support memory-to-memory transfer, ChatGPR said use MDMA instead. Before I jump into MDMA, just want to make sure what ChatGPT said is true?

 

Thanks.

 

 

    This topic has been closed for replies.
    Best answer by mƎALLEm

    Hello,

    From the reference manual / table 3:

    mALLEm_0-1757322323479.png

    So you can do transfers from/to SRAM1/SRAM2/SRAM3 <-> FMC. you cannot do that transfer to from DTCM/ITCM. You need MDMA for that.

    BDMA could not do that kind of transfer.

    3 replies

    Super User
    September 7, 2025

    What does the Reference Manual say?

    yah1003Author
    Explorer
    September 7, 2025

    Hi,

     

    Reference Manual does not say any thing about this (at least not that I could find), it just gives a general description not specifically for SDRAM<->SRAM 

    Super User
    September 7, 2025

    Hi,

    For H750 please see the bus matrix picture in RM0433

    The full story is a bit complicated. Chatgpt can elaborate more.

     

    yah1003Author
    Explorer
    September 8, 2025

    Yes, I already checked the reference manual for the DMA, but don't know what I should look for, I've spent a whole day trying it on real hardware and it seems DMA between SDRAM and SRAM works, but that is just for very limited test I've done! Could you elaborate more?

    mƎALLEmAnswer
    Technical Moderator
    September 8, 2025

    Hello,

    From the reference manual / table 3:

    mALLEm_0-1757322323479.png

    So you can do transfers from/to SRAM1/SRAM2/SRAM3 <-> FMC. you cannot do that transfer to from DTCM/ITCM. You need MDMA for that.

    BDMA could not do that kind of transfer.

    Super User
    September 8, 2025

    Please see RM0433: bus matrix Figure 1 (pg. 105) and 22.5.  Your external SDRAM likely is connected thru the FMC.

    Look for information about DMA controllers that can connect FMC and other memories.