AnsweredAssumed Answered

Stm32 - using sd card with SDIO or SPI

Question asked by Vintage Viking on Apr 26, 2018

Hi guys, Im new to stm32 and i have a trouble using sd card with sd card sdio module. I use CubeMX to generate code, and Workbench to edit it. I tried to use my sd card with SPI or SDIO without any success. I have nucleo f446re board, and few cards tested. Using SDIO and fatfs i didnt get result FR_OK with my initial function. Can someone share a working code? My whole code is in attachments. Thanks in advance.

Edit:

After running another code with 2 different micro sd cards i got FR_DISK_ERR.

Attachments

Outcomes