cancel
Showing results for 
Search instead for 
Did you mean: 

VBus triggered by Data pins STM32H743?

CBUnmanned
Associate

I have a board that uses the H743 and have been having major problems with the USB side of things. I've only just realised that I left VBus floating all this time, so I'm assuming that's a major cause of my issues..

 

The board I have is designed as a solder on stamp, and has a fixed 5v input that powers multiple LDOs etc. The problem lies in that I don't really want to sacrifice one of my castellated edge pins for vbus sensing, but the stamp isn't always connected to USB so I cant simply connect VBUS to 3.3v, can I? 

 

The board is always "Self Powered", ie the 5v from USB is not directly connected to the main power in. Is there any way to trigger the VBUS pin only using the data lines? 

1 ACCEPTED SOLUTION

Accepted Solutions
FBL
ST Employee

I guess it would not be possible to get a direct solution for triggering the VBUS pin using only the data lines. The standard approach for VBUS sensing involves detecting the presence of the VBUS voltage itself, not through the data lines.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

4 REPLIES 4
Muhammed Güler
Senior III

https://www.st.com/resource/en/application_note/an4879-introduction-to-usb-hardware-and-pcb-guidelines-using-stm32-mcus-stmicroelectronics.pdf

You can review this document.
By the way you can disable the VBUS pin.
For example, you cannot define VBUS and SOF pins on STM32F373.
If you have a connection problem, you should first check the signal integrity.

 

FBL
ST Employee

Hi @CBUnmanned 

Any 5V tolerant pin with external interrupt functionality can be used with an external resistor divider, to fulfill AMR conditions. See Management of VBUS sensing for USB device design - STMicroelectronics Community

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

I should have been more clear. 

I have a "Module" (Yellow) which contains some supporting circuitry and some sensors. 

It is normally soldered onto a "Carrier" (Green) which has a USB plug to act as a slave to a host PC.

The problem is that the Module is small and has limited space for edge connections, so I am trying to avoid dedicating one to VBUS sensing. Is there anything I can do using just the Data signals to trigger VBUS (Blue) rather than dedicate an edge pin (Red)?

 

My Module is powered through a 5v power input, which might or might not be self powered/bus powered so cant be directly tied to VBUS (through a resistor divider). What happens if VBUS is always tied high but there's no USB attached?

CBUnmanned_0-1716835572881.png

 

FBL
ST Employee

I guess it would not be possible to get a direct solution for triggering the VBUS pin using only the data lines. The standard approach for VBUS sensing involves detecting the presence of the VBUS voltage itself, not through the data lines.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.