Skip to main content
angus schmaloer
Associate III
Apr 19, 2019 1:52 PM UTC
Solved

[Solved] Where can you find the h7 DMA request map?

I want to use DMA on my stm32h7 board, but i can find which channel is used for what protocol ect.

This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Apr 19, 2019 6:09 PM UTC

You get to make that association, there is less of the channel/stream rigor as there was with earlier STM32 designs.

The DMA unit to use mainly depending on the busing and peripheral bank you're using.

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

8 replies

Tesla DeLorean
Guru
Apr 19, 2019 2:16 PM UTC
Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
angus schmaloer
Associate III
Apr 19, 2019 2:22 PM UTC

it has this;

0690X000008AkFjQAK.png

I want to use the SAI controller to read data from the AD7768 adc, so im looking at the sai1a_dma, and i can see its on the 87th mux input.

and also another list, but i cant make much practical sence of it.

On the f4 you have a clear table with each channel and stream, but i cant find anything like that of the h7.

Tesla DeLorean
Guru
Apr 19, 2019 2:20 PM UTC

0690X000008AkFZQA0.jpg

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
angus schmaloer
Associate III
Apr 19, 2019 2:29 PM UTC

Yes, i saw this list, and i saw that the sai1a_dma is on signal 87 of the dma mux, but to which channel does that translate?

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Apr 19, 2019 6:09 PM UTC

You get to make that association, there is less of the channel/stream rigor as there was with earlier STM32 designs.

The DMA unit to use mainly depending on the busing and peripheral bank you're using.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
waclawek.jan
Super User
Apr 19, 2019 5:33 PM UTC

To which you assign it in DMAMUX. That's what DMAMUX is for.

If you don't want any of the fancy stuff, simply write 87 into say DMAMUX1_C0CR.DMAREQ_ID, and then your SAI_A DMA triggers stream 0 of DMA1.

Disclaimer, I don't use 'H7.

JW

angus schmaloer
Associate III
Apr 25, 2019 9:28 AM UTC

thanks