2019-04-19 06:52 AM
I want to use DMA on my stm32h7 board, but i can find which channel is used for what protocol ect.
Solved! Go to Solution.
2019-04-19 11:09 AM
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.
2019-04-19 07:16 AM
Doesn't the Reference Manual have a huge list?
2019-04-19 07:20 AM
2019-04-19 07:22 AM
it has this;
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.
2019-04-19 07:29 AM
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?
2019-04-19 10:33 AM
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
2019-04-19 11:09 AM
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.
2019-04-25 02:28 AM
aaah thnx, at first i thought there were preassigned dma channels for peripherals (like, i thought, the f4).
2019-04-25 02:28 AM
thanks