1 Reply Latest reply on Jun 5, 2017 12:25 PM by Imen D

    NucleoL476RG and SD card using SPI issue

    alok kajla

      HI Everybody,

       

      I am trying to access microSD card with NucleoL476RG board using SPI interface. I am using FatFs third party library with code (generated from stm32cubemx software). I did everything but it is not working. It is getting stuck in "f_mkfs" function in main.c file. And returning the value "FR_NOT_READY". What should I do? 

       

      I have attached the project files here.  Waiting for answers/suggestions.

       

      stm32 nucleo-l476rg microsd spi