AnsweredAssumed Answered

interfacing uSD reader with STM32F0

Question asked by the.green.beret on May 31, 2016
Latest reply on May 31, 2016 by FTITI.Walid
Hello guys,
i'm new in programming stm32f0. I have stm32f091rc and i want to interface uSD using SPI peripheral. first i used stm32cubemx to select the SPI1 peripheral and configured the clock. then i exported the generated HAL libraries to uVision IDE. but i don't know how to continue.
I read that first i need to write i/o driver APIs then link these APIs with FATfs
but i wasn't able to find any example similar to my project (using HAL libraries- uVision and STM32F0)
I coded the SPI transmit and receive functions in blocking mode. but what are the other functions to initialize the sd card and check it's status? and how can i use them with SPI and FatFs.

Thanks in advance

Outcomes