2025-10-12 10:31 PM - last edited on 2025-10-13 1:15 AM by mƎALLEm
Hi everyone,
I’m currently working with an STM32H747 and trying to perform SD card write operations using core M4. The SMMC1 peripheral is connected to the D1 domain, which (as far as I understand) means that the M4 core (D2 domain) doesn’t have direct access to it.
When I try to write to the SD card from M4 (using MDMA), it always fails — f_mkfs returns an error. However, when I run exactly the same code on core M7, everything works perfectly fine.
So my questions are:
Does it make sense that the M4 cannot access SMMC1 because of the D1 domain connection?
Is there any way to make SD write operations work from the M4 core (for example, through shared memory, DMA Settings, or another workaround)?
Thanks in advance.