cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7 DMA request mapping table

Vivek Pallantla
Associate
Posted on April 19, 2018 at 20:16

Hi,

Where is the STM32H7 DMA request mapping table documented ? we want to use DMA on USART1 RX and TX.

In STm32Cube for STM32H7, example UART_HyperTerminal_DMA , the DMA mappings are:

/* Definition for USARTx's DMA */

&sharpdefine USARTx_TX_DMA_STREAM DMA1_Stream7

&sharpdefine USARTx_RX_DMA_STREAM DMA1_Stream5

These mappings are different from the ones defined in Table 1 of AN4031 - Using STM32xx .. series DMA controller?

Thanks

Vivek

#stm32h7
1 ACCEPTED SOLUTION

Accepted Solutions
Posted on April 19, 2018 at 21:28

Try the Reference Manual

http://www.st.com/content/ccc/resource/technical/document/reference_manual/group0/c9/a3/76/fa/55/46/45/fa/DM00314099/files/DM00314099.pdf/jcr:content/translations/en.DM00314099.pdf

 

Here Rev 3, Table 92, and DMAMUX described in Chapter 17. You can associate a stream with a mux source.

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

View solution in original post

4 REPLIES 4
Posted on April 19, 2018 at 21:28

Try the Reference Manual

http://www.st.com/content/ccc/resource/technical/document/reference_manual/group0/c9/a3/76/fa/55/46/45/fa/DM00314099/files/DM00314099.pdf/jcr:content/translations/en.DM00314099.pdf

 

Here Rev 3, Table 92, and DMAMUX described in Chapter 17. You can associate a stream with a mux source.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Amel NASRI
ST Employee
Posted on June 29, 2018 at 12:18

Hi

vivek2781

,

What I would like to add to Clive&39s answer is that current version of

https://www.st.com/content/ccc/resource/technical/document/application_note/27/46/7c/ea/2d/91/40/a9/DM00046011.pdf/files/DM00046011.pdf/jcr:content/translations/en.DM00046011.pdf

(Using the STM32F2, STM32F4 and STM32F7 Series DMA controller)  doesn&39t support STM32H7.

This application note will be updated to add STM32H7.

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

angus schmaloer
Associate III

Hey,

I looked into the Reference Manual at table 92 and at the DMAMUX, but i still dont know which DMA Channel can be used for which protocol.

Can someone help me of show me how to "look it up" in table 92?

Gr,

Angus Schmaloer

fxtentacle
Associate

Found this while DuckDuck-ing. In case someone else finds this too:

My reading of "17.4.4 DMAMUX request line multiplexer" is that DMAMUX1 and DMAMUX2 each have a pool of request sources and, thus, all of the request generators listed in table "Table 121. DMAMUX1: assignment of multiplexer inputs to resources" are available for each DMA1 and DMA2 channel. Specifically, it says "Each DMA request line is connected in parallel to all the channels of the DMAMUX request line multiplexer."

For BDMA, see "Table 124. DMAMUX2: assignment of multiplexer inputs to resources".