Skip to main content
mattscar
Associate
August 20, 2013
Question

USB_OTG_FS on the STM3240G-EVAL?

  • August 20, 2013
  • 2 replies
  • 636 views
Posted on August 21, 2013 at 01:04

I can't get USB_OTG_FS communication to work on the STM3240G-EVAL board. USB_OTG_HS works with no problem. I tried disabling HS using JP31, but ST's example application still can't reach the USB_OTG_FS.

I thought this might be caused by a defective board, but the second board we bought has the same problem. So I suspect there's a simple reason for this. Has anyone gotten this to work?
    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    August 21, 2013
    Posted on August 21, 2013 at 02:34

    Don't have the board, but would suggest you try and compile some of the other example projects in the USB FW library.

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    mattscar
    mattscarAuthor
    Associate
    August 21, 2013
    Posted on August 21, 2013 at 03:49

    I downloaded the USB Host-Device Library from ST and compiled the MSC example for USB devices. But when I loaded it onto the board, the OTG_FS connection didn't respond. I used the following flags: -DUSE_STDPERIPH_DRIVER=1 -DSTM32F4XX=1 -DUSE_STM324xG_EVAL=1 -DUSE_USB_OTG_FS=1

    My USB protocol analyzer tells me that the device simply timed out. Well, at least the OTG_FS connection on the Discovery board works.