2024-11-26 07:10 PM - last edited on 2024-11-27 12:26 AM by SofLit
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.
2024-11-27 12:25 AM
Hello @Maximiliano,
Please in next time ask your question in the correct forum board to maximize your chance to get an answer.
STM32CubeIDE (MCUs) forum board is related to the usage of the tool not for MCU usage.
This thread will be moved to STM32 MCUs Products.