cancel
Showing results for 
Search instead for 
Did you mean: 

FatFs in STMCUBE

ali_dehbidi
Senior

Hi,

I have tested the FatFs on the STM32Cubemx,I have tested it on two different MCU's, STM32F401RC and STM32F429IGT6, it only works in the 1Bit mode on the STMF429 part, But the same settings on the STMCUBE and the STM32F401RCT6 part would not work, I think the SDIO driver have some bugs in it, do you have any Idea what might be wrong?

Best Regards

2 REPLIES 2

Well the SDIO/SDMMC interface doesn't like signal skewing or ringing, so a 4-bit interface has sensitivity to equivalent path lengths, and termination.

I'd probably start by validating the hardware using the examples in the HAL libraries for an assortment of DISCO and EVAL series boards. Or working with known good hardware/software, and then move to ones of less known provenance.

STM32Cube_FW_F4_V1.21.0\Projects\STM324x9I_EVAL\Applications\FatFs\FatFs_uSD

I wouldn't waste my time with fighting CubeMX issues

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

Thanks, I have tesetd the exact example that you have mentioned, but in that example also the SD interface is set to 1Bit mode, do you have a 4 bit working example?