cancel
Showing results for 
Search instead for 
Did you mean: 

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

Le Loc - Duc
Associate II

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 ?

2 REPLIES 2

Hello @Le Loc - Duc​ 

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

Best regards,

Nesrine

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 Up vote any posts that you find helpful, it shows what's working..