Skip to main content
Le Loc - Duc
Associate II
May 14, 2020 2:56 AM UTC
Question

STM32CUBEMX ver 5.6.1 still not fix SDIO - DMA 4 bit mode issue ?

I'm using SDIO - DMA to read/write with uSD card.

In 1 bit mode, it work fine.

But in 4 bit mode, mcu cannot mount to sd card. It appears FR_DISK_ERR.

I've update to newest version of CubeMX but it still not fix.

Does anyone know how to fix this ?

This topic has been closed for replies.

2 replies

Nesrine.JLASSI
Visitor II
Oct 8, 2020 9:16 PM UTC

Hello @Le Loc - Duc​ 

Could you please tell me more details about the scenario. Please share your .ioc file.

Best regards,

Nesrine

Tesla DeLorean
Guru
Oct 8, 2020 9:35 PM UTC

Which chips? Which boards?

Do the demo's in the Applications directories work if ported to your hardware? Pull-ups on the command/data lines?

Easy enough to build broken hardware.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..