cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP157 I2C with DMA generates HardFault with OpenAMP

tomaww_st
Associate

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.

 

0 REPLIES 0