Skip to main content
Visitor II
July 18, 2024
Question

STM32MP157 I2C with DMA generates HardFault with OpenAMP

  • July 18, 2024
  • 0 replies
  • 774 views

Hello,

I am trying to use I2C2 peripheral with DMA2 streams 2 (Tx) and 3 (Rx). I am also using OpenAMP to communicate with A7 core, which runs Linux.

A short time after launch, a Hard Fault is triggered. I noticed this only happens when DMAs are initialized as well as OpenAMP. If I comment out one (either DMA or OpenAMP), the code works fine.

Any idea why this would happen ? I suppose this might be caused by some kind of memory conflict

Thank you.

 

    This topic has been closed for replies.