cancel
Showing results for 
Search instead for 
Did you mean: 

STUSB4500 slows down I2C clock to 1 kHz

degesz
Visitor

Hello, I have a circuit where a STUSB4500 USB-PD controller is connected with ESP32 via I2C.

The problem is that when a USB cable is connected and STUSB4500 powers up, the whole I2C bus clock slows down to 1 kHz which is too slow. After the ESP32 is reset, the device works correctly.

This slow-down also happens when the USB cable is disconnected.

The ESP32 is battery powered, so it is already running when USB is connected. The STUSB4500 is only powered from USB, so it is without power when the cable is connected.

The communication and PDO setting is working correctly (sparkfun library is used) 

Do you know what could be causing this?

0 REPLIES 0