2025-03-25 2:27 AM
we are using the microcontroller stm32h503rbt6 & the IDE is STM32CubeIDE. We would like to configure DMA for I2C1 however when we go to the settings of GPDMA1/GPDMA2 then a warning(attached herewith) appears which disallows us to configure the DMA. So please suggest as to how to configure DMA for I2C1 communication
2025-03-25 4:58 AM
Hello @GHM and welcome to the community;
You can configure GPDMA with 2 possible selections in STM32CubeMx: the Standard Request Mode and the Linked List Mode.
I recommend you to look at these FAQs and get inspired to configure I2C1 with GPDMA:
- How to configure the linked list mode in STM32CubeMX
Also, I think the ioc file in I2C_TwoBoards_ComDMA example can help.
I hope this help you.
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.