cancel
Showing results for 
Search instead for 
Did you mean: 

NucleoL476RG and SD card using SPI issue

alok kajla
Associate
Posted on May 26, 2017 at 10:56

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.

https://community.st.com/tags♯/?tags=stm32

‌

https://community.st.com/tags♯/?tags=nucleo-l476rg

‌

‌

‌

#nucleo-l476rg #stm32 #spi #microsd
1 REPLY 1
Imen.D
ST Employee
Posted on June 05, 2017 at 12:25

Hi

Kajla.Alok

,

You are using old version of CubeMx and firmware package.

So, please try to update the latest version which contain enhancementand upgrade FatFs

.

Also try to increase the

size of stack memory, then

keep us informed aboutyour update.

Thanks

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen