Skip to main content
BBeha
Associate II
May 11, 2019
Question

How to configure MDMA memory-to-peripheral (16 parallel bus) transfer rate using a clock?

Hi,

I want to send a sequence of data on a 16 GPIO bus with a linked-node MDMA setup. How do I set the transfer frequency? I have set up LPTIM1 to have the required clock, but I can't find a way to force the MDMA to have this clock control the output

Thanks!

This topic has been closed for replies.

4 replies

Tesla DeLorean
Guru
May 11, 2019

Which part specifically?

Usually RM shows DMA channel association with trigger sources.​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
BBeha
BBehaAuthor
Associate II
May 12, 2019

Not sure what you refer to (RM ?)

my problem is that if I ask MDMA for a transfer - I cannot control the speed - either of one burst, or between blocks, or between transfers. I want every half-word to have 100ns (10 MHz) for example

waclawek.jan
Super User
May 12, 2019

> Not sure what you refer to (RM ?)

Reference Manual for your particular mcu family. You did not tell us which one do you use.

Assuming you are using STM32H7x3, in RM0433, tables in chapter Block interconnect, subchapter DMA list the triggers available for individual DMAs. MDMA there has no connectivity with any timer, so you can't control MDMA using a timer. Resort to other DMA which can be triggered by a timer. Note, that DMAs in 'H7 other than MDMA use one of the DMAMUX modules to steer triggers.

JW

BBeha
BBehaAuthor
Associate II
May 12, 2019

Thanks.

Yes stm32h743 in nucleo board.

Thanks.