Skip to main content
jdcowpland
Associate III
October 14, 2013
Question

USB OTG on the M4 Discovery

  • October 14, 2013
  • 4 replies
  • 772 views
Posted on October 14, 2013 at 10:35

I have a question I'm hoping someone might be able to answer for me: I have a STM32F4 Discovery board which has USB OTG FS and USB OTG HS. All I want to do is connect up a simple USB A connector for reading a memory stick. Should I be able to make use of the FS DM and DP pins for the connector?

    This topic has been closed for replies.

    4 replies

    jdcowpland
    Associate III
    October 14, 2013
    Posted on October 14, 2013 at 11:28

    I guess what I'm actually asking is: Do I need OTG to make my MCU a USB host?

    Tesla DeLorean
    Guru
    October 14, 2013
    Posted on October 14, 2013 at 13:49

    The STM32F4-Discovery board can read MSC devices via a small converter cable attached to the MicroAB connector CN5. Example code is in the library for the ''Firmware Update'' example which demos IAP via a Flash Drive.

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

    Thanks Clive! Do you have a link for the firmware?

    Tesla DeLorean
    Guru
    October 14, 2013
    Posted on October 14, 2013 at 16:05

    It's in the standard STM32F4-Discovery Firmware Library

    STM32F4-Discovery_FW_V1.1.0\Project\FW_upgrade

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