Skip to main content
alok kajla
Visitor II
May 26, 2017
Question

NucleoL476RG and SD card using SPI issue

  • May 26, 2017
  • 1 reply
  • 559 views
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
This topic has been closed for replies.

1 reply

Technical Moderator
June 5, 2017
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

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks