cancel
Showing results for 
Search instead for 
Did you mean: 

NUCLEO-L152RE + FatFs + uSD + SPI

lrsolem
Associate
Posted on August 29, 2016 at 12:22

Hi,

I have bought me a Nucleo-L152RE board to test the STM32L152 MCU. Now I want to write data to a uSD card using the FatFs file system. Since this STM32 MCU doesn't have a SDIO bus, I want to use SPI.

Does anyone know about a good example project available that I can use? Something working with STM32L series, cortex M3 or similar that I easily can get to work on my Nucleo board?
1 REPLY 1
Walid FTITI_O
Senior II
Posted on August 31, 2016 at 19:34

I recommend you to see ''stm32l152_eval_spi_sd.c'' file in STM32Cube package at this path:STM32L1xx_StdPeriph_Lib_V1.3.1\Utilities\STM32_EVAL\STM32L152_EVAL

Other users already have done similar project so check some there like

https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/Driver%20to%20use%20MicroSD%20card%20with%20SPI&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F&currentvi...

-Hannibal-