cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L4 Doing DMA SPI Transfer Causes I2C to lockup or freeze

MBern.13
Associate

Hello,

I have my STM32L4 running some code that is taking variables out of memory and outputting them via DMA SPI as a slave, as well as running code in main that incremements a counter and displays variables on an I2C display. If I have a very small struct for the DMA transfer, it works great, but if I make it larger (like 30 bytes) it will after a few accesses kill the I2C line. Has anybody ever had this issue before or know what could be causing it? I am using the HAL libraries for I2C and SPI DMA.

Thanks,

Matt

0 REPLIES 0