USB-C – Using USB-C Charger D+ and D- Pins for Communication with STM32 Chip

battery-chargingusbusb-c

I'm looking at the MAX77751 single cell Li-Ion and LiPo charger chip that features both USB-C and USB 2.1 detection. The battery would power a design that uses an STM32L433CCUx chip which has another USB 2.1 connector for comms. Can I use the D+ and D- pins from the USB-C receptacle for communication with the STM32 chip as well? If yes, would I need to disconnect the D+ and D- pins from the MAX77751?

Best Answer

Short answer, no.

This chip uses D+/D- pin specifically for the USB-C power negotiation in order to get higher voltage, this means the chip actively communicates over these lines, thereof, you can't plug an STM32 there.

You would need a chip that is acting like a hub or bypass to be able to communicate upstream.

Alternatively, you could use a chip like MAX77961 (or alike) and then do the power negotiation with the STM32 (if it supports it)