Getting started with NUCLEO-F722ZE and a 16GB EMMC - MMC_PowerON fails
Hello everyone!
I have started a small journey to try to get started with eMMC memory and are trying to get it working.The end goal is to have a USB HS mass storage device eMMC working with a file system. (32gb or more)

My current step that I'm stuck is where the "MX_SDMMC1_MMC_Init" fails.
Specifically to get the eMMC voltage level fails.
/* SEND CMD1 APP_CMD with voltage range as argument */
I have some theories what can be wrong but any help would be really useful :)
- Use external crystal as clock source on the NUCLEO instead of HSI [will try out this]
- SD breakout card setup [not sure what that would be?]
- Wrong clock configuration, currently targeting between 100-400kHz with the MMC divider [?]
- EMMC memory not supporting the CMD1 in the initialization [no idea if it could be like that?]
- Bad cable connection on my test board [will make another inspection or perhaps make a solder]
- More???
Code steps at failure



Hardware Setup
- NUCLEO-F722ZE
- Okdo eMMC 5.1 module for ROCK 16GB
- Okdo eMMC to MicroSD Adapter Board for ROCK Single Board Computers
- https://github.com/sbcshop/MicroSD-Breakout
SD Breakout Connection




CubeMX Configuration




Software setup

