USB type C P-NUCLEO-USB002 board, Pass through charging
Hi,
I am new to firmware development and using the P-NUCLEO-USB002 USB type C board for pass-through charging.
I have identified the few hardware settings for the pass-through charging and data communication between USB type C Port_0 and Port_1.
- connected mobile phone to Port_0
- connected PD charger to Port_1
- Power Connector CN4 Pins shorting done for Vbus1 and Vbus2 connection
- Removed the jumper connection of JP401 and JP400
Please suggest for below queries.
1) Can we use this pass-through for mobile charging between Port_0 and Port_1?
2) Is there any demo firmware for the Pass-through charging between Port_0 and Port_1?
3) How to check the status of the PD connection or messages using UART/I2C? ( default firmware received with kit were modified with STSW_STUSB010_v1.3 example codes, But unable to get PD messages on UART. if STSW_STUSB010_v1.3 example codes do not support the UART/I2C debug then please provide the default firmware of the P-NUCLEO-USB002).
4) Can we control and make the decision based on PD messages of SPI/I2C communication between STUSB1602 and STM32F072 controller to control the GPIOs?

please find the attachment.
Please suggest.
Thanks & Regards
Shashikumar Rai
