2018-07-03 03:30 PM
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
2018-07-03 10:54 PM
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