Skip to main content
KINGame
Associate III
Jul 6, 2018 11:02 AM UTC
Question

SDIO Interface.

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
    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    Jul 6, 2018 12:15 PM UTC
    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 (See Profile) Up vote any posts that you find helpful, it shows what's working..