Skip to main content
stm322
Associate III
January 30, 2009
Question

USB OTG on STM32

  • January 30, 2009
  • 4 replies
  • 823 views
Posted on January 30, 2009 at 14:47

USB OTG on STM32

    This topic has been closed for replies.

    4 replies

    stm322
    stm322Author
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 13:01

    Hello,

    I'm trying to do the following thing:

    a STM32 working as USB virtual com port. For that ST provide VCP example.

    And on the other side, instead to plug a PC to recognise this VCP, I would like to plug another STM32.

    Apparently, this second STM32 needs to have USB OTG.

    Does anyone know if ST provides a USB OTG library for STM32?

    Thanks in advance.

    st3
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 13:01

    To connect two STM32s together, just using the UARTs would be far simpler. 8-)

    stm322
    stm322Author
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 13:01

    ok.

    Thank you very much.

    sword_82
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 13:01

    Hello stm321,

    STM32 doesn't support USB OTG, it provides the device capability only. In other words, the STM32 cannot be a host it can be only a device!

    regards

    sword