Skip to main content
Taehyuk Kwon
Visitor II
July 3, 2018
Question

Can the UART1 and OTG_FS core run at the same time on STM32F40x-ZG,

  • July 3, 2018
  • 1 reply
  • 583 views
Posted on July 04, 2018 at 00:30

With STM32F40x-ZG, I want to run OTG_FS and UART1.  But I found that the OTG_FS_VBUS line is shared with USART1_TX line for the device. Does it mean that only one of them can run while the other is disabled ?

Or can the UART1 and OTG_FS core run at the same time ? If so what is the configurations for OTG_FS_VBUS.

Thanks,

TH

    This topic has been closed for replies.

    1 reply

    waclawek.jan
    Super User
    July 4, 2018
    Posted on July 04, 2018 at 07:54

    You use PB6 for USART1_TX.

    Also, VBUS is not strictly necessary to run USB, it is only used to detect cable connect/disconnect.

    JW