AnsweredAssumed Answered

I can't connect a SD Card to my STM32F072 Discovery Board

Question asked by Pablo Leibovich on May 21, 2017
Latest reply on Jun 9, 2017 by Pablo Leibovich

Hi all!

I'm trying to read/write data to an SD card from my STM32F072 Discovery board.

I configure SPI1 on CubeMx and the FatFs middleware. I've written the user_dsikio.c and the Input-Output functions based on the STM32F072 Eval board, but I can't make it work.

When I try to open a file, or format the SD, the microcontroller stops there and finishes at the Default_Handler, as I can see with the debugger.

Where can I find an example of a STM32F072 Discovery board with an SD?

Can anyone help me?

Thanks!!!!!!!!!!

Outcomes