cancel
Showing results for 
Search instead for 
Did you mean: 

Using ll_sdmmc.c with eMMC

Maxim H
Associate
Posted on April 25, 2018 at 16:40

Hi,

I�m working on a project with the STM32L4 on a custom board. We want to access a eMMC to store acquired data. First, we used the HAL_sd.c library, but since it�s not compatible with eMMC, we now want to use the lowlevel ll_SDMMC.c.

But somehow the initialization does not work, and we can�t write to the card. Is there some example code concerning the ll_SDMMC, especially on how to configure the clocks? Or has someone done this before and could provide us with some code?

Thanks in advance

Best Regards

Maxim

#stm32-emmc #emmc #low-level #stm32-l4 #memory
1 REPLY 1
Amel NASRI
ST Employee
Posted on May 03, 2018 at 18:28

Hi

maxim.haas

‌,

Why don't you use the

http://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-configurators-and-code-generators/stm32cubemx.html

tool? It initializes peripherals depending on your need for the device you selected, and help you to configure correctly the clock settings. Then, you will be able to generate your initialization code.

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.