cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L476 Discovery + HAL Library + FatFs

celine
Associate
Posted on March 02, 2016 at 10:35

Hello ! 

I would like to add some memory to the STM32L476 Discovery board.

For that, I am trying to connect a microSD through SPI using FatFs.

I found : http://stm32f4-discovery.com/2014/07/library-21-read-sd-card-fatfs-stm32f4xx-devices/ But it seems like the author is not using HAL and I tried to adapt it for my case but I didn't succeed.

Is there any tutorials for that? 

#microsd #fatfs #hal #stm32l4
1 REPLY 1
slimen
Senior
Posted on March 02, 2016 at 15:48

Hello Caeline,

You can find in ST web all tutorials related to STM32CubeL4: http://www.st.com/web/catalog/tools/FM147/CL1794/SC961/SS1743/LN1897/PF261908

This user manual “

http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00105259.pdf

� provides a description of how to use the STM32Cube firmware components with a generic FAT File System (FatFs).

 

 Also, you can refer to the release note of the STM32Cube firmware package to know the version of FatFs firmware component used.

 I suggest you have a look to this example to develop an application using most of the features offered by FatFs: STM32Cube_FW_L4_V1.3.0\Projects\STM32L476G_EVAL\Applications\FatFs\FatFs_uSD

-ForumSTM32-