cancel
Showing results for 
Search instead for 
Did you mean: 

USB OTG on the M4 Discovery

jdcowpland
Associate II
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?

4 REPLIES 4
jdcowpland
Associate II
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?

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
Up vote any posts that you find helpful, it shows what's working..
jdcowpland
Associate II
Posted on October 14, 2013 at 15:47

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

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
Up vote any posts that you find helpful, it shows what's working..