Skip to main content
O?uzhan Ç?ÇEKL?
Associate
Jun 22, 2018 11:51 AM UTC
Question

SD CARD STM32L052

Posted on June 22, 2018 at 13:51

Hi everybody

I have little trouble about STM32L052 and SD Card reader.

I don't have much knowledge about SPI communication in STM and I never used before SPI,FATFS but it seems to complex to me  anyone can help me ? If there is a sample code it would be great.

    This topic has been closed for replies.

    4 replies

    Tesla DeLorean
    Guru
    Jun 22, 2018 12:33 PM UTC
    Posted on June 22, 2018 at 14:33

    The Adafruit SD SPI libraries under the HAL BSP examples should be a good starting point.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    O?uzhan Ç?ÇEKL?
    Associate
    Jun 22, 2018 2:48 PM UTC
    Posted on June 22, 2018 at 14:48

    Thanks for your answer but I couldn't find library can you post link or something?

    Tesla DeLorean
    Guru
    Jun 22, 2018 3:02 PM UTC
    Posted on June 22, 2018 at 15:02

    Download and unpack the CubeL0 HAL package, or review the examples in the repository if you have already installed it.

    STM32Cube_FW_L0_V1.10.0\Drivers\BSP\Adafruit_Shield\stm32_adafruit_sd.c

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..