cancel
Showing results for 
Search instead for 
Did you mean: 

USB-C Connector for Power Delivery and communication with STM32F767ZIT6

Circuit
Associate II

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.

 

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Super User

> 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".

View solution in original post

4 REPLIES 4
TDK
Super User

> 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".

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?

Yes VBUS PA9 Pin is causing this issue. And my STM32 is self-powered. So, i need to sense VBUS.

 

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. 

So, wondering if using any pin of STUSB4500 and connect this pin to STM32 GPIO to let it know that VBUS is present would do the job?

Didier HERROUIN
ST Employee

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.