Skip to main content
ABouk.1
Associate III
February 4, 2022
Question

STM32L5 SDMMC write/read fails because of timeout

  • February 4, 2022
  • 0 replies
  • 809 views

0693W00000JOaX0QAL.jpgI configured as follow the SDMMC bloc and completed the functions SD_read and SD_write using SDMMC + DMA.

The problem is that HAL_SD_ReadBlocks_DMA returns Error before even starting the transfer with the errorcode 0x00000008. I really tried everything but i still get that error.

I am using the wide bus 4 bits for SDMMC and the clock is 40MHz, SDMMC interrupt is enabled and all the pins are pulled up.

Can you give me some solutions ?

This topic has been closed for replies.