Other Parts Discussed in Thread: TPS65987
We are trying to set up a battery-powered board that can be powered by an Android tablet over USB-C when the battery is disconnected, but then switch to being powered by the battery and charging the Android when it is inserted. The setup is essentially identical to the TPS65987 EVM and we have verified the hardware setup with respect to that EVM. However, the EVM and our board behave differently when loaded with the same firmware.
The EVM is able to charge the tablet when system power is provided to the chip. The tablet is also able to power the EVM when system power is not connected. Our board is not able to charge the tablet, but the tablet is able to provide power to the board via VBUS when system power is not connected.
Another wrinkle is that there appears to be different failure modes depending on the orientation of the USB-C cable. In one orientation, the board will simply continue to act as a sink when both the tablet and the battery are connected with the tablet providing 5V to VBUS. If the USB-C cable is then flipped, the VBUS line exhibits unstable behavior and appears to bounce between 0V and 5V. This indicates an issue with CC1 and CC2 as these are supposed to negotiate sourcing/sinking and are supposed to be orientation-agnostic according to my understanding of USB-C.
Our troubleshooting keeps coming back to the chip itself since the hardware and software of the EVM and our board appear identical. We have tried different cables, different boards, verified continuity, etc. Both the EVM and our board were loaded with the same firmware from the configuration GUI. We have also inspected the TPD6S300ARUKR protection IC, which appears to be working normally. I measured voltage pin-for-pin on the EVM while it was charging the tablet and compared it to voltage on our board when it was supposed to be charging the tablet. That effort is attached below. The signals were measured directly on the TPS65987DDH pins.
Controller_EVM_Pin_Voltage.xlsx
A key observable data point is that the CC signal paths have different voltages between the EVM and our board.
One hardware difference is that the EVM's chip's markings are TPS65987DDH TI 11F S399 G4 and our board's chip's markings are TPS65987DDH TI 2AF S351 G4. I'm not sure if these markings indicate a difference of revisions between the chips, but I have seen situations in which the EVM for a chip was designed around an older revision of a chip and gets obsoleted by new revisions. Since we specifically copied a known working circuit (the EVM) but are experiencing different behavior, is it possible that the documentation and EVM are out of date?
Thanks for any help you can give.