SPMU378 April 2026 TPS26750A
Liquid detection control and status are contained in registers which can be read in the host interface. Settings for the liquid detection algorithm are changed when the algorithm is not running and remain static static when the algorithm is active. Liquid detection is run when the device is unattached and when the device is attached per user config. When the device is unattached and running liquid detection, the device runs liquid detection in active mode between sleep cycles and then returns to a lower power sleep mode if no liquid is detected.
The liquid detection external circuity is connected to LD1/LD2 for sensing the voltage differential on the ADC pins and a GPIO must be connected to the external circuit. The circuit is hooked up to pins from the USB Type-C Connector and can be used with used or unused pairs of signals, as well as a single signal.
The liquid detection configuration register (0x98) is used to configure and run the liquid detection algorithm. The liquid detection status register (0xb2) is used to monitor the status of the liquid detection algorithm and read any status updates that occur.
The algorithm drives the external circuit to VDD and GND to sense if the pins on the connector have been shorted to VBUS or GND. The sensing is done on two ADC input signals and an average is taken of the measurements to maintain accurate measurements. If a pin is shorted to a voltage that trips the OVP in T
The algorithm handles liquid detection and corrosion mitigation. In dead battery mode, corrosion mitigation is not allowed. To allow for corrosion mitigation, clear the dead battery flag. Corrosion mitigation sets the Type-C state machine into the Error Recoery state, where the CC terminations are set to Hi-Z. To remove this condition, the device must no longer sense liquid on the pins.
To configure the device for liquid detection, write to the following register fields:
| Field Name | Field Location | Field Value |
|---|---|---|
| Wait Time in Seconds - Non-Liquid State | 7:0 | 0xA |
| Wait Time in Seconds - Liquid State | 15:8 | 0xA |
| Sample Time in 10ms - Non-Liquid State | 19:16 | 0x1 |
| Sample Time in 10ms - Liquid State | 23:20 | 0x1 |
| Liquid Detection Retries Wait Time in 100ms | 27:24 | 0 |
| Liquid Detection Retries | 31:28 | 0 |
| Number of Samples | 39:32 | 3 |
| Short to VDD Detection Threshold - Non-Liquid State | 47:40 | 0x8f |
| Short to GND Detection Threshold - Non-Liquid State | 55:48 | 0x24 |
| Short to VDD Detection Threshold - Liquid State | 63:56 | 0x8f |
| Short to GND Detection Threshold - Liquid State | 71:64 | 0x24 |
| Enable Liquid Detection | 72 | 1 |
| Enable Corrosion Mitigation | 73 | 1 |
| Monitor During Attach | 74 | 1 |
| Monitor During Unattach | 75 | 1 |
| Liquid Pins to Monitor | 77:76 | 0 |