Skip to main content
antonius
Associate III
September 6, 2013
Question

Question for STM32 USB Full Speed Device Library V2.2.1

  • September 6, 2013
  • 23 replies
  • 2482 views
Posted on September 06, 2013 at 02:11

Hello guys,

I have a question for :

Question for STM32 USB Full Speed Device Library      V2.2.1

How can I use SD card on Mass_storage demos ?

is it connected via SPI or SDIO ? or I can choose ?

and how can I connect my USB to it ? where can I find the configuration for it ?

I have PA11 and PA12 connected to USB port.

Thanks a lot
    This topic has been closed for replies.

    23 replies

    Tesla DeLorean
    Guru
    September 13, 2013
    Posted on September 13, 2013 at 17:43

    Is it possible for me using SPI interface ?

    There are opportunities to do it many ways, you'll need to figure out what's appropriate for you, or try some existing boards/solutions to see it work. I would recommend implementing and testing the card reading code independently of USB, and then reintegrate the two.

    Tackle the problem in small bites so you don't choke.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    antonius
    antoniusAuthor
    Associate III
    September 26, 2013
    Posted on September 26, 2013 at 15:48

    so try using SPI then connect via UART as my interface ?

    Tesla DeLorean
    Guru
    September 26, 2013
    Posted on September 26, 2013 at 17:17

    Or just write a test app to exercise the SDCard via SPI, you could output diagnostic information via USART, SWV or LEDs as required.

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