Skip to main content
angus schmaloer
Associate III
April 19, 2019
Solved

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

  • April 19, 2019
  • 8 replies
  • 2175 views

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.
Best answer by Tesla DeLorean

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.

8 replies

Tesla DeLorean
Guru
April 19, 2019
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
April 19, 2019

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
April 19, 2019

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
April 19, 2019

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
April 19, 2019

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
April 19, 2019

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
April 25, 2019

thanks