cancel
Showing results for 
Search instead for 
Did you mean: 

eMMC can't enter sleep mode

dylanou
Associate III

Hi,

STM32U585 + eMMC , by SDMMC2 bus

I want to configure the eMMC into sleep mode by HAL_MMC_SleepDevice API,but It does not work

It alway return 0 when I get the card state by HAL_MMC_GetCardState after run the API HAL_MMC_SleepDevice.

dylanou_0-1719213094173.png

dylanou_1-1719213219941.png

Thanks!

 

 

 

1 REPLY 1
Saket_Om
ST Employee

Hello @dylanou 

 

You would typically need to ensure that:

The eMMC device supports the sleep command (CMD5).
The SDMMC peripheral is properly configured.
The correct sequence of commands is being sent to the eMMC device.
The hardware connections are correct and stable.
The clock settings and power supply are configured according to the eMMC device specifications

If your question is answered, please close this topic by clicking "Accept as Solution".

Thanks
Omar