Skip to main content
waclawek.jan
Super User
May 13, 2020
Question

DMAMUX to DMA channel/stream numbering discrepancy

  • May 13, 2020
  • 3 replies
  • 1981 views

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)?

This topic has been closed for replies.

3 replies

waclawek.jan
Super User
May 13, 2020

... 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​ 

Technical Moderator
May 17, 2020

Hello Jan,

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

Best Regards,

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
waclawek.jan
Super User
May 17, 2020

Thanks, Imen.

Jan