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.

TPS25750: Host (DFP) with DRP function (Source when Host active, 100W Sink when Host offline [Dead Battery])

Part Number: TPS25750
Other Parts Discussed in Thread: HD3SS6126,

Hi,

I just want to be sure my concept will work.

The USB TypeC should be used as a DFP to connect portable devices to a RF test equipment (which acts as Host, DFP). When the system is running, it should act as a source (5V/3A is enough).
When the system is in shutdown, it should be possible to charge the built-in battery (7S, 99Wh), therefore the controller should act as a Sink.

So my plan is:

  • Configure the chip in safe mode for dead battery - it should get it's configuration from an EEPROM (I hope this way it can be configured and act as a Sink with up to 100W without the host booting)
  • Configure only four PDOs (5V [seems to be required default], but skip the 9V and configure only 15V/3A, 20V/3A and 20V/5A (9V is too low and makes no sense for the buck boost charger)

and my questions are:

  • What should be the default / preferred mode (sink or source?)
  • Can I use the Event#61 (dp_dm_mux_enable_event) to control my USB3 Mux (HD3SS6126) depending on plug orientation (CC pins)? or should I use the Event#3 (Cable_Orientation_Event)?
  • How to tell my charger to change it's current limits (based on 3A or 5A current contract) - take the Events#10...7 (SourcePDOxContract) and map them to IOs? or are there SinkPDOxContract Events?
  • Charging the instrument works in dead battery mode (this might take hours). So clearing the bit using the Barrel_Jack_Event (Event#43) should work when the instrument is switched on?

any comments are welcome!

Thanks :)

  • Hi

    What should be the default / preferred mode (sink or source?)

    You will want to set this as preferred sink.

    Can I use the Event#61 (dp_dm_mux_enable_event) to control my USB3 Mux (HD3SS6126) depending on plug orientation (CC pins)? or should I use the Event#3 (Cable_Orientation_Event)?

    You should use cable orientation event here.

    How to tell my charger to change it's current limits (based on 3A or 5A current contract) - take the Events#10...7 (SourcePDOxContract) and map them to IOs? or are there SinkPDOxContract Events?

    Unfortunately we do not have this type of GPIO event, you will need to read 0x34 ACTIVE_CONTRACT_PDO Register to know the PDO contract.

    Charging the instrument works in dead battery mode (this might take hours). So clearing the bit using the Barrel_Jack_Event (Event#43) should work when the instrument is switched on?

    Yes you can use the barrel jack event to clear the dead battery flag.

    Regards

  • Hi Tommy,

    thank you for your fast answer!

    oh :'-( do you see any other chance to get an "offline" notification about the PDO contract? The main CPU is offline/unpowered and I don't want to supply my whole system (20-40W) just to read out the power I can use to charge my batteries. Adding another co-controller makes it unnecessary complicated.

  • Hi,

    Unfortunately TPS25750 does not have this capability so the best approach here would be using a low power microcontroller to read this information from REG0x34.

    Regards