Question
Stm32 - using sd card with SDIO or SPI
Posted on April 26, 2018 at 14:52
Hi guys, Im new to stm32 and i have a trouble using sd card with
https://www.waveshare.com/wiki/Micro_SD_Storage_Board
. 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.
