cancel
Showing results for 
Search instead for 
Did you mean: 

USB type B on H7 (SOLVED)

Lagodolio
Senior

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

2 REPLIES 2
TDK
Guru

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
Senior

Thanks a lot!