Skip to main content
Damange92
Associate
February 13, 2019
Question

Problem with SDMMC1 and 4bit Wide Bus

  • February 13, 2019
  • 0 replies
  • 514 views

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.

This topic has been closed for replies.