Skip to main content
Associate II
March 6, 2026
Solved

USB-C Connector for Power Delivery and communication with STM32F767ZIT6

  • March 6, 2026
  • 2 replies
  • 383 views

Hi

Here is my scenario:

I want to use USB Type C Connector for Power Delivery(upto 65W) and also, for communicating with STM32F767ZIT6 on my Hardware.

Power Delivery is used to charge a 14.4V Li Ion Battery using Battery charger on my hardware. So, 

And USB Communication takes place with STM32F767ZIT6 Full Speed. Charging and Communication don't need to happen at the same time.

So, USB-C Connector will either be used to charge the battery using a AC-DC wall adapter or communicate with STM32 on my hardware using a USB-C Cable from PC. Only one of these things will happen at a time. 

I was thinking of using STUSB4500 for Power Delivery such that it negotiates 20V, 3.25A with Wall Adapter but it looks like VBUS Sensing PA9 would be a problem when PC is connected(VBUS= 5V) or wall adapter is connected(VBUS= 20V).

So, wondering if there are better/easier options to do this? Changing the STM32F767ZIT6 to something like STM32 UCPD MCUs is unfortunately not an option.

 

Best answer by TDK

> it looks like VBUS Sensing PA9

If that's the only hangup, use a clamping diode to ensure voltage on PA9 doesn't exceed a threshold.

Or, if the device is bus powered, you don't need to monitor VBUS at all.

2 replies

TDK
TDKBest answer
Super User
March 6, 2026

> it looks like VBUS Sensing PA9

If that's the only hangup, use a clamping diode to ensure voltage on PA9 doesn't exceed a threshold.

Or, if the device is bus powered, you don't need to monitor VBUS at all.

"If you feel a post has answered your question, please click ""Accept as Solution""."
CircuitAuthor
Associate II
March 6, 2026

Yes VBUS PA9 Pin is causing this issue.

So, was thinking of using a voltage divider on VBUS at input of PA9. But, VBUS changing from 5V(Full Speed Communication) to 20V(for Power Delivery) makes the voltage divider output out of range for PA9 one way or the other. 

I just read FUSB307B can be an option? Or any other option that might be helpful?

Didier HERROUIN
Technical Moderator
March 18, 2026

You opened another similar thread called "USB VBus Sensing during USB 2.0 Full Speed Communication".

It is better to close this one.

In order 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.