Other Parts Discussed in Thread: BQ25798,
Tool/software:
Also, is it possible to use the BQ25798 to detect and enumerate USB BC1.2 Charging while simultaneously using the Liquid detect function of the TPS25751 on the same USB Type-C connector?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Do I have to use the designated USB D+-/D- GPIO4/5 for the liquid detection pins? Datasheet shows both hooked up here:
Also, the PD Application Customization GUI seems to let me put gpio mapped event 'moisture detect-159' on any GPIO. Furthermore, liquid detect isn't listed as a multiplexing option in the GUI for GPIO 4 and 5 the same way that Alternate functions D+/D- are...
Would appreciate help with the configuration... moisture detect -159 isn't described at all in the technical reference manual....
Liquid detection in that block diagram is on SBU pins. D+/D- are being used for BC1.2 detection.
Liquid detection on SBU pins of connector - yes. On the PD controller, do I have to use specific GPIO or can I use any GPIO for liquid detection? A pair of GPIO pins are reserved for D+/D- in the GUI Application. If I select USB BC1.2 charging in the GUI questionnaire, the option to select liquid detection becomes unavailable.
Hi Michael,
Liquid Detection feature and BC1.2 both uses GPIO4/5 of TPS25751. TPS25751 does not support both BC1.2 and Liquid Detection simultaneously. For Liquid detection, GPIO4 and GPIO5 are muxed to ADC capability while BC1.2 is muxed to DP/DM.
For the PFET/NFET gate control, you can use any other available GPIOs to control them. For example, on the TPS25751EVM we use GPIO6 and GPIO7 to control the PFET and NFET.
Let us know if you have any further questions or concerns!
Thanks and Regards,
Raymond Lin
Can I use the BQ25798 charger in my system to detect BC1.2 Charging while using liquid detection with TPS25751?
We can forward to BQ team to comment. There could be conflict as TPS25751 will program BQ device for Voltage and Current. I will let BQ team comment.
Hi Michael,
For up to 2 seconds after POR on VAC1, the BQ25798 auto detects the adapter or port max output current via the D+/D- and sets the its IINDPM register to that value (or ILIM_HIZ resistor clamp value if lower). The TPS25751 firmware can disable the auto detect or overwrite the IINDPM value after 2 seconds. Unfortunately, I do not know the liquid detect timing or expected outcome.
Regards,
Jeff