2021-11-17 06:46 AM
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
Solved! Go to Solution.
2021-11-17 08:59 AM
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.
2021-11-17 08:19 AM
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
2021-11-17 08:59 AM
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.
2021-11-19 12:25 AM
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
2021-11-19 12:33 AM
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.
2021-11-19 12:39 AM
Thank you, but It's mean I must install a software STM32CubeL4 ? I have a PC dedicated for STM32 development but which will arrive later (currently shortage) and I don't want to install the STM32 software on my current computer (risk of conflict with existing software). Can I view only the code under Notepad ++ for example (to understand the code first) ?
2021-11-19 12:44 AM
You don't have to install anything to just view the code. The package is provided in .c/.h/.s files.
Just download the package and unzip it.
2021-11-19 12:46 AM
2021-11-19 12:47 AM
This one ?
2021-11-19 12:48 AM
Yes.