Skip to main content
DYann.1
Senior II
November 17, 2021
Solved

Micro SD cards communication using NUCLEO-L433RC-P

I would like to set up communication with a micro SD (or SD) card to save the data. I am planning to work with the NUCLEO card, I guess the communication is through the SPI interface. Do you know that libraries etc ... 

Thanks for your helps

The nucleo card is NUCLEO-L433RC-P

This topic has been closed for replies.
mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
November 17, 2021

Hello,

 STM32L433RC chip has an SDMMC interface so you can communicate with your SD card with it. You have to port for example, the example provided in STM32CubeL4 under \Projects\STM32L476G-EVAL\Applications\FatFs\FatFs_uSD_Standalone.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.

13 replies

Mike_ST
ST Technical Moderator
November 17, 2021

Hello,

You can download STM32L4 software package from there:

https://www.st.com/en/embedded-software/stm32cubel4.html

and have a look at the following projects which use SD over SPI + FatFS:

Projects\NUCLEO-L452RE\Demonstrations\Adafruit_LCD_1_8_SD_Joystick

or

Projects\NUCLEO-L412RB-P\Demonstrations\Adafruit_LCD_1_8_SD_Joystick

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. 
mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
November 17, 2021

Hello,

 STM32L433RC chip has an SDMMC interface so you can communicate with your SD card with it. You have to port for example, the example provided in STM32CubeL4 under \Projects\STM32L476G-EVAL\Applications\FatFs\FatFs_uSD_Standalone.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
DYann.1
DYann.1Author
Senior II
November 19, 2021

Hi SofLit,

It's mean that I must first buy the NUCLEO card to have the example or can I view the example without having the card for the moment ? Thank

mƎALLEm
ST Technical Moderator
November 19, 2021

Hello,

STM32CubeL4 is available for free and there is no condition to have it, except a login to ST website.

You can download STM32CubeL4 from this link.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
DYann.1
DYann.1Author
Senior II
November 19, 2021

0693W00000GY8y6QAD.png

DYann.1
DYann.1Author
Senior II
November 19, 2021

This one ?

mƎALLEm
ST Technical Moderator
November 19, 2021

Yes.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
DYann.1
DYann.1Author
Senior II
November 19, 2021

Ok I'll do it :grinning_face:

mƎALLEm
ST Technical Moderator
November 22, 2021

Hello,

  • Application source files are located under Src and Inc.
  • The drivers are located under \Drivers folder
  • FatFs middleware source files are located under \Middlewares\Third_Party\FatFS
  • EWARM, MDK-ARM and SW4STM32 are the IDE projects of the application for respectively IAR, Keil and systemworkbench

Hope it's clear ..

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
DYann.1
DYann.1Author
Senior II
November 22, 2021

I open the fles source and It's work ! Thank you