2020-12-30 11:53 PM
Hi!
I was thinking of building some sort of motherboard that can house a WaveShare Core H7xx STM32H7 board (so that I can connect peripherals using screw terminals). For USB communication I would use a USB type B, but I'm not sure how to connect the VBUS to (well, if I connect to PIN PA9 it works, but I cannot use USART1).
On the H7 board, the USB port (Micro B type) is connected as follows:
The "ID" pin, then, is not present on the type B port.
The USB port must act as a data exchange port (virtual com).
Thank you so much!
Mario
2020-12-31 08:38 AM
A type B connector is device-only, thus it has no need for the ID pin.
If the device is only powered via USB, there is no need to connect VBUS to the chip at all. You can always assume power is present and initialize the USB interface. The VBUS sensing is only used to be able to enable/disable the USB interface, since it is a violation to send signals on the data lines while VBUS is not present.
2021-01-07 03:40 AM
Thanks a lot!