USB PD library Can't source higher than 5V
Hello,
We are using x-cube-usb-pd v3 library to implement source/sink application for our product. We've ported it to use on an STM32F030CC and using PTN5110 chip for TCPC controller. We are using configuration USBPD_TCPM_LIB_PD3_CONFIG_1.
We have tested sourcing 5V 3A and is working well and now we'd like to go over 5V and want to support different voltages such as 9V and 12V.
However, we run into problem where we can't seem to do this.
On our hardware, we know we can support 9V or 12V output but for some reason, as soon as we turn the VBus to 9V, the vbus seems to disappear. I've collected a log again and attached here. I am testing with a phone this time (Huawei Redmi Note7).
I've also monitored the VBUS on a scope and I can see that it tries to go up ( to around 8V) and then it goes down to 0V. I also scoped the EN_SRC pin and that is pulled low at the same time 8V disappears.
It seems that before all that happens, we get an Hi voltage alarm and Low voltage alarm. I'm not sure if these are related but something is stopping from the VBUS to go up to the desired voltage.
Any help would be greatly appreciated.
Thanks,
AOF
