I have a board with the TPS65987D PD Controller IC on it, and it is being configured over I2C from an Atmel SAM4S processor. I am probing VBUS as I write the registers, and VBUS is reset from the external power brick after two of the five registers I write to. My problem exists in the "dead battery state" where there is no internal power available to keep the system powered while VBUS is resetting. My goal is to successfully negotiate a high-power contract with the external power brick to charge a dead battery and/or run the system without a battery,
The two registers I am writing to that are causing this behavior are as follows:
- 0x27: Global System Configuration
- Value written: 0x09000000140080001200120000
- 0x28: Port Configuration
- Value written: 0x001E2D179FFE0000
Below are two o-scope captures showing the behavior:
Yellow: Write over I2C from SAM4S to TPS65987D-> register 0x28
Green: VBUS resetting, losing system power (as measured at the USB-C connector on the board)
Yellow: I2C_SCL on write to PD Controller
Green: I2C_SDA on write to PD Controller
How do I prevent the VBUS reset from happening?
Thanks,
Josh J