Tool/software:
Hello,
We are utilizing moisture detection in the TPS25751 and have some specific requirements from our UI/UX department. Here is the desired behavior:
Our Bluetooth speaker can detect moisture in the USB-C port and disable its functionality for both charging and power bank mode. The behavior we want to achieve is as follows:
- Moisture appears in the port.
- The MCU detects that no cable is connected to the port and does nothing (this refers to a cable connected to a device such as a power bank, laptop, or phone, not a free cable).
- The user attempts to connect a cable (e.g., a power bank) to the USB-C port.
- The MCU detects this and triggers both an audible and visual alert to inform the user to disconnect the cable.
- Once the cable is disconnected, the MCU disables the warning indication, and the speaker continues to function.
To meet these requirements, the MCU needs to poll the PD controller to check if a USB cable is connected, even when moisture is present in the port. Currently, the PD controller "disables" the USB port and reports that no USB cable is connected, even when it is, which does not align with our UI/UX requirements.
We need the ability to retain information about the USB cable status (connected/disconnected) so that the MCU can react accordingly.
Best regards,
Anton Glukhov