2024-07-19 05:57 AM
Hi,
I am using the STM32H745 and facing the following issue:
It appears that the DMAMUX is closely tied to both DMA controllers (DMA1 and DMA2). None of the available documents (es0445-stm32h745-errata, rm0399 - Reference Manual, en.STM32H7-DMAMUX, en.STM32H7-DMA) provide the required information on this behavior.
Is this the expected behavior? Are there any documents from STM32 that can justify this? some help would be greatly appreciated.
Thanks
2024-08-21 01:07 AM
Hello @shivashankarr
In order to reproduce the possible issue, could you please provide more details on your setting project if possible, attach your .ioc file/configuration?
2024-08-21 03:53 AM
Hello nouirakh,
Sorry, this is a non-IOC file setup, but I can provide detailed steps to reproduce the issue.
Case 1: Configure the ADC and DMA1 to interface with any sensor or memory, then reset DMA2 (in RCC->AHB1RSTR). Afterward, check the SFR register the DMAREQ_ID field in the DMAMUX_C0CR register will reset to 0.
Case 2: If you reset DMA2 (in RCC->AHB1RSTR) and then try to configure the ADC and DMA1, observe the SFR register (DMAREQ_ID field in the DMAMUX_C0CR register). It will not allow you to write the configuration.
BR
2024-08-30 06:45 AM
Hello @shivashankarr
I escalated this post internally and will be back to you with update.
Internal Ticket ID 189893 (It is an internal tracking number and is not accessible or usable by customers).