AnsweredAssumed Answered

STM32F4 eMMC support

Question asked by Lukasz Przenioslo on May 12, 2018
Latest reply on Jul 5, 2018 by Clive Two.Zero

Hello there,

I am writing in regard to those 2 topics:

SM32L4 interface with an eMMC 

Does the HAL support MMC? 

I am using an STM32L452 chip and trying to fully utilize the SanDisk 8GB eMMC memory (SDINBDG4-8G). I have found out that the is no eMMC HAL written for the L4 family. Because of that, I tried STM32F412, as it uses SDIO not SDMMC peripheral (the same thing but other name?), and it has HAL written. I have found out however, that as pointed out here Does the HAL support MMC? it doesnt work. There are no examples of eMMC usage in STM32Cube_FW_F4_V1.21.0. From the code it also seems that it only supports memories up to 2 GB. Trying to use the code I was unable to write anything to the momory, like the mentioned topic, even though over a year passed since it was posted.

At the moment I have a serious design dilemma. I cannot afford the time to write the driver from scratch or try to fix the existing one. Could I please ask for an explanation what is the state of the eMMC driver for each STM32F4 and STM32L4 devices, do they indeed not work? Is there a way to make them work? Also, what is the real difference between SDIO which F4 utilize and SDMMC peripherals which L4 utilize? I would appreciate all help.

Imen D ?