STM32H753XI. When 2 DMAs are working and writing data from SPI1/2 to SRAM1/2 the received data has errors. When only one DMA is working the received data has no errors. Why?
I am using STM32h753XI.
The MCU uses 2 SPI channels (SPI1 and SPI2) in slave receive mode.
The MCU uses 2 DMAs channels (DMA1 stream0 and DMA2 stream0) to read the data from SPI1 and SPI2 and write it to SRAM1 and SRAM2 respectively.
The input SPI sclk is about 50 MHz
The 2 DMAs work continuously (circular mode).
The 2 DMAs FIFO is enabled.
The SPIs data word length is 32 bits.
The DMAs data width is 32 bits.
MCU Data Cache is disabled.
When the 2 DMAs work together the received data has few errors (1-10 in 10 seconds).
It sometimes seems like the data from SRAM1 had "leaked" to SRAM2 (I am not sure).
When I disable one of the DMA channels the received data has no errors at all.
What can be the reason for the data corruption when the 2 DMAs works simultaneously?

