Showing results for 
Search instead for 
Did you mean: 

The DMA impact of SPI on ETH in STM32H7


Hi All.

In STM32H743, if ICache is enabled and DCache is turned off, SPI frequently uses DMA to transfer data(SPI transmission interval is within 10ms), and ETH may experience transmission lag; If ICache and DCache are turned off, there is no problem with ETH transmission. Through testing, it was found that the Ethernet took more than 1 second to complete the transmission process, with Ethernet typically completing the transmission in around 10 microseconds. From the manual, it was found that ETH's DMA is a dedicated DMA and should not be affected by DMA1 and DMA2. Why?

The time consumption of using pin testing is to set the pin to low level after sending, and to high level after sending is completed.


The abnormal waveform captured by the oscilloscope is as follows:


The low level of the pin indicates the time taken from sending to completion of sending.

Thanks so much for helping out