Skip to main content
Explorer II
November 3, 2025
Solved

STM32H7 DMA

  • November 3, 2025
  • 1 reply
  • 171 views

Hello
Can the STM32H743 modify data at two non-consecutive peripheral addresses in a single DMA event,A DMA event changes two peripheral addresses,

    This topic has been closed for replies.
    Best answer by waclawek.jan

    There are 4 DMAs in 'H743, of 3 types.

    The MDMA probably could do this on its own, through scatter-gather, but the MDMA can be triggered only by "high-profile" peripherals such as JPEG, QUADSPI, DMA2D, LTDC.

    The remaining DMAs are triggered through their respective DMAMUX. Directly, neither of these DMAs can transfer to non-consecutive addresses; however, there may be a trick (costing one extra DMA stream): the DMAMUX, together with triggering its own DMA stream (transferring to the first address) can generate an Event upon every transfer (see DMAMUX_CxCR.EGE), that in turn can be set as trigger for the Request generator in the DMAMUX, and that can generate a trigger (request) for a different DMAMUX channel triggering a different DMA stream, transferring to the second address.

    JW

    1 reply

    Super User
    November 3, 2025

    There are 4 DMAs in 'H743, of 3 types.

    The MDMA probably could do this on its own, through scatter-gather, but the MDMA can be triggered only by "high-profile" peripherals such as JPEG, QUADSPI, DMA2D, LTDC.

    The remaining DMAs are triggered through their respective DMAMUX. Directly, neither of these DMAs can transfer to non-consecutive addresses; however, there may be a trick (costing one extra DMA stream): the DMAMUX, together with triggering its own DMA stream (transferring to the first address) can generate an Event upon every transfer (see DMAMUX_CxCR.EGE), that in turn can be set as trigger for the Request generator in the DMAMUX, and that can generate a trigger (request) for a different DMAMUX channel triggering a different DMA stream, transferring to the second address.

    JW