Skip to main content
simval986
Associate II
March 17, 2015
Question

STM32L+microSD card

  • March 17, 2015
  • 2 replies
  • 599 views
Posted on March 17, 2015 at 18:34

Hi everyone,

I'm working with stm32L152 discovery. I'd like to be able to create files on a microSD which contain data from a sensor and successively read these files from a PC. If I understand it, once I configured the SPI interface i have to use a FAT32 library. Is there anyone who has solved a similar problem? Where I could find libraries or similar examples that use microSD, FAT32 and STM32L152 discovery?

Thanks in advance.

#stm32l #microsd #fat32
    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    March 17, 2015
    Posted on March 17, 2015 at 20:38

    Is there anyone who has solved a similar problem?

    Done a lot of stuff with SDIO + FATFS, ST has assorted SPI examples for various boards, suspect they would all be somewhat portable, and slower..

    https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Discovery/FatFsSDIO%20on%20STM32L1xx&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F&currentviews=56

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    simval986
    simval986Author
    Associate II
    March 18, 2015
    Posted on March 18, 2015 at 10:06

    Thanks Clive!!