cancel
Showing results for 
Search instead for 
Did you mean: 

SDIO Interface.

KINGame
Associate III
Posted on July 06, 2018 at 13:02

I am using Nucleo F446ZE board and i am trying to interface MicroSD card using 1 bit SDIO Interface(Truestudio).

I am using cubemx4.26 with STM32Cube_FW_F4_V1.21.0

This code works fine 'if(f_mount(&myFATFAS,SDPath,0)==FR_OK)' but not able to read or write to the SD card, if i change to

'if(f_mount(&myFATFAS,SDPath,1)==FR_OK)' gives false.

Please provide solution. also check the attach project for reference
1 REPLY 1
Posted on July 06, 2018 at 14:15

There should be enough pins on the NUCLEO-64 to wire up a socket in 4-bit mode.

Rather than figure with CubeMX you might want to port one of the working examples

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

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