Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 9 months ago.
Does the mbed library support SD / File read / write on the STM32F746G board?
I would like to be able to save files / config data on the SD card or built in flash on the STM32F746G DISCO board if possible. I looked over the samples and the LocalFileSystem does not work and I see no SD or FLASH api's that I can use. Is this possible?
Question relating to:
![](/media/cache/profiles/af7fc8485f40dc495bc626d6dbe7faf1.50x50_q85.png)
1 Answer
8 years, 9 months ago.
Hi, localfile system is for mbed interface on some boards (mbed board). Please look at https://developer.mbed.org/cookbook/SD-Card-File-System
Looking at the code and the pins used, the SD on the dev board is SDMMC and uses 4 data pins. I don't see a direct cross to the SPI MISO, MOSI, CLK and SELECT. Is the SDMMC interface backwards compatible? These are the pins / functions according to the board docs:
SDMMC_CK (PC12) SDMMC_D0 (PC8) SDMMC_D1 (PC9) SDMMC_D2 (PC10) SDMMC_D3 (PC11) SDMMC_CMD (PD2)
posted by 05 Nov 2015