STM32F769 SDMMC corruption with Ethernet DMA?
Hi,
On STM32769NI EVAL board I have LWiP running the ethernet port. This is a merge of two pieces of example code that come with the Cube.
I also have SDMMC being read by FATfs.
Prior to adding Ethernet, all was well. Now, calls to HAL_SD_ReadBlocks_DMA (called by f_read in FATfs) are sometimes returning no data, but the result code says all is OK !
Commenting the initialisation of ethernet makes it work again.
Any ideas on where to start looking? It kind of seems like something in the ethernet module is breaking the SDMMC DMA, but how? I've been looking through the code and reference manual for a number of hours now with no improvement in sight.
I find it particularly troubling that a broken transfer at the low level is returning a good error code.
James