nRF5 SDK is not maintained anymore
More Info: Consider nRF Connect SDK for new designs

SD Card mount error using fat_fs zephyr example code

hello sir ,

I am trying to run fat_fs example code , but i got mount error ,

my connections spi1,

SCK = 31,

MOSI = 30

MISO = 28

CS = 17,

Parents Reply
  • Hi 

    I got the project working on my end with some input from a colleague, and I have attached it here:

    The critical aspect was to add the following lines to the prj.conf file:

    # SPI
    CONFIG_DISK_ACCESS_SDHC=y
    CONFIG_DISK_ACCESS_SPI_SDHC=y
    CONFIG_SPI=y
    CONFIG_SPI_3=y
    CONFIG_SPI_NRFX_RAM_BUFFER_SIZE=8

    Can you give this a go and see if it works for you also?

    Best regards
    Torbjørn

Children
Related