Skip to main content
Lagodolio
Associate III
December 31, 2020
Question

USB type B on H7 (SOLVED)

  • December 31, 2020
  • 2 replies
  • 1169 views

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:

0693W000006HFJgQAO.pngThe "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

This topic has been closed for replies.

2 replies

TDK
Super User
December 31, 2020

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.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Lagodolio
LagodolioAuthor
Associate III
January 7, 2021

Thanks a lot!