2020-05-13 11:56 AM
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:
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)?
2020-05-13 12:01 PM
... 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
2020-05-17 03:16 PM
Hello Jan,
Thank you for your feedback. This is reported internally to the appropriate team for fix.
Best Regards,
Imen
2020-05-17 04:22 PM
Thanks, Imen.
Jan