AnsweredAssumed Answered

STM32F411re SPI SDCARD

Question asked by baptiste Verneau on Mar 20, 2018
Latest reply on Mar 21, 2018 by Clive One

Hi everybody, I am back here because two weeks ago, I started to try to add a SD card on my nucleo F411re. I used SPI connexion. I tested the wiring with a mbed software called Nucleo_L476RG_SDCard_WorkingSample. I just changed the pin to match my SPI1 on nucleo F411re :

 

// MOSI, MISO, SCLK, CS, name
SDFileSystem sd(PB_5, PB_4, PB_3, PA_10, "sd");

 

 

I tried a lot of things using cubeMX to get this working using SW4STM32. I added FatFS, but since I not using SDIO, CubeMX do not allow to tick SDcard in FatFS. I ticked "user defined", but after generating the project, I am not able to move forward. I tested every library/tutorial available on the first two pages of a famous web browser. Now I still stucked, with nothing new to try.

 

Does somebody here could share a project that I could start with ( open it and compile at less using sw4stm32? generated with cubemx ? using Hal? and finaly using a stm32F411?).

 

Thanks in advance

 

Baptiste

Outcomes