cancel
Showing results for 
Search instead for 
Did you mean: 

DMAMUX to DMA channel/stream numbering discrepancy

In the single-port DMA, transfer units (to which requests correspond) are called Channels and they are numbered 1-based.

In the dual-port DMA, transfer units are called Streams and they are numbered 0-based.

DMAMUX documentation in various STM32 models, in description of the output requests, talks about Channels and number them 0-based. It means, this is incorrect for both the single-and dual-port DMA models.

For example, from RM0440/'G4:

0693W000000XOouQAG.png

ST, can you please go through all RMs mentioning DMAMUX and fix this, thoroughly and once for all?

And can you please add this information also into the related AN5224 (into which G4 still needs to be added)?

3 REPLIES 3

... and, while at it, can a footnote to DMAMUX: assignment of multiplexer inputs to resources table say, "these are the values to go into DMAMUX_CxCR.DMAREQ_ID" and also "value 0 is reserved and it means that given DMAMUX channel is inactive" (perhaps not as a footnote but a genuine entry with number 0). I know it's in the narrative, but it would make the table clearer. Can this remark be also added to DMAREQ_ID bitfield description in DMAMUX_CxCR register description?

Thanks,

JW

@Imen DAHMEN​ 

Imen.D
ST Employee

Hello Jan,

Thank you for your feedback. This is reported internally to the appropriate team for fix.

Best Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

Thanks, Imen.

Jan