cancel
Showing results for 
Search instead for 
Did you mean: 

eMMC in STM32H745I-Disco

Maximiliano
Senior

Hello to all

I would like to use the eMMC that comes with my board (STM32H745I-Disco) but I'm a bit lost. where can I look for examples?
I would like to keep a simple structure to start with and then read it.

Something like:

 

 

typedef struct {
  char date1[11];
  char date2[11];
  unsigned int id;
} DateStruct;

 

 

Nothing too sophisticated and no speed requirements so I wouldn't use DMA.

Guided by the example MMC_ReadWrite_IT for my STM32H745I-disk in STM32CubeIDE an initial configuration could be:

 

SDMMC1 MMC bus wide 8

rising transition
disable the power save for the clock
thehardware control flow is disabled
SDNNC clock divide factor = 4
is external transceiver present? no

and took a look at the following reference:
https://www.st.com/resource/en/application_note/an5200-getting-started-with-stm32h7-series-sdmmc-host-controller-stmicroelectronics.pdf

maybe with a more simple code you could guide me about the commands to save a variable, retrieve it when turning on the board and how to select the initial memory address to read or something like that.

 

Thanks.

0 REPLIES 0