2019-02-13 01:58 AM
Hello,
I have a STM32H743ZI with FreeRTOS and SDMMC1 initialized from MxCube 5.0.1.
I'm currently using the FreeRTOS-FAT.
When i try to call a HAL_SD_WriteBlocks_DMA() with 4bit wide bus, I always get "HAL_SD_ERROR_DATA_TIMEOUT" in the IRQ Handler. With 1bit wide bus it works.
The buffer is allocated in the AXI ram, the DMA read works in both mode.
Any idea?
Regards, Luca
Update:
With IP clock = 200MHz Clock divisor = 0x19 Read/Write work in 4Bit mode.
With IP clock = 200MHz Clock divisor = 0x06 Read/Write work in 1Bit mode.