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: Switch between Source and Sink

Part Number: TPS25750

Hi,

I have a custom board with the PTPS25750D. I have a 5V supply on PP5V. All GPIOs tied to GND except for GPIO1 which I used as an output to my 3.0 mux.

All I2C SDA and SCL lines tied to LDO3V3, IRQ's tied to GND. Memory tied to I2Cm. I am able to sink up to 20V on PPHV but not able to source 5V out to VBUS.

Also I have tried changing the ADCIN settings, with no luck. Is there any recommended settings that I could change or is there an issue with my configuration.

  • If you are using a EEPROM configuration, then the best ADCIN1/ADCIN2 configuration would be to ground both connects.  This will set the part into SafeMode and the I2Cs address to 0x20.

    How is VIN_3V3 connected on this design?

    If it is not supplied at 3.3V, then no source connection (DFP) can be made.  

    Regards,

    Chuck

  • Okay, I will give that a try. VIN_3V3 is supplied externally. Recommended to ground directly to ground or through something like 100k?

  • Owen,

    Do not ground VIN_3V3.  It should be left floating for a sink only application or driven to 3.3V for a DRP or 5V source option.  There is an internal DIODE or circuit that allows internal circuitry to be powered from this pin or VBUS.

  • Chuck,

    I was asking if I should ground the ADCIN1/2 pins directly to ground? Sorry I wasn't clear.

  • Owen,

    ADCIN 1/2 can be shorted directly to ground, but I always suggest adding footprints in for both resistor dividers because it gives maximum flexibility.  

    If you tie both ADCIN1 and ADCIN2 to ground, you will enter SafeMode with and I2Cs address of 0x21 which is a good choice for EEPROM applications.

  • Okay great. I am able to source now but I have lost the ability to sink. The data sheet states that this configuration could put the chip into source only mode. Is there a configuration of the ADCIN pins that would allow switching from source to sink using an eeprom, while allowing sink in dead battery mode.

    Would going to AlwaysEnableSink allow this to work as intended.

    Tying ADCIN1 to 300k to LDO3V3 and 100k to ground, value of 2.  And ADCIN2 100k to ground, value of 0.

  • Owen,

    In SafeMode, the chip will be in sink only mode until the TPS25750 has loaded the patch from the EEPROM.

    There are two ways that this can happen

    1.  The device is plugged into a DFP or DRP and connects as a UFP (Sink)

    2.  The device is powered by PP5V and VIN3V3.  This will also allow the device to boot and function as a DRP, DFP, or UFP.

    Which of these two processes are you using to start up the TPS25750?

    Regards,

    Chuck

  • Chuck,

    I am using configuration 2

    Thanks,

    Owen

  • Owen,

    Can you check your GPIO configuration in the advanced tab and make sure that all of the GPIO that you are not using are disabled?

    If any of them are enabled, this can cause the internal 3V3 LDO to droop causing strange behaviors.

    Also, can you export the JSON and post it to this thread for the configuration that you are using so that I can look for any issues in your configuration.  This file is exported by clicking on the EXPORT SETTINGS button in the GUI.

  • Chuck,

    Yes i have all of them disabled, except for GPIO1 for cable orientation.

    See the attached settings file.

    Let me know if the file didn't upload.

    Thanks,

    Owen

    {"questionnaire":{"version":"7.0.1.3","answers":[1,0,3,0,3,2,1,null,1,null,null,null,null,null,null],"options":{},"configID":"0000","vendorID":"0000"},"configuration":{"data":{"selected_ace":[{"register":22,"data":[10,48,48,77,0,0,0,0,0,0,3]},{"register":50,"data":[1,168,42,100,144,1,38,44,209,2,0,44,177,4,0,244,65,6,0,0,0,0,0,0,0,0,0,0,0,0,0]},{"register":51,"data":[4,100,144,1,16,100,208,2,0,100,176,4,0,100,64,6,0,69,65,6,0,0,0,0,0,0,0,0,0]},{"register":92,"data":[2,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0]}]}}}

  • Owen,

    I was able to spend a few minutes looking at a similar configuration on the EVM today and I was not able to get it completely resolved.  I will be out of the office until next Wednesday, so I am asking a colleague to look into this issue while I am gone.

    Regards,

    Chuck

  • Hi Chuck,

    We got sourcing and sinking working now.

    I am now running into an issue where I do not have 3.0 Gen 1 data to my USB hub.

    Is there any settings that could be restricting that communication. I have tried pretty much tried everything the GUI will allow and have verified the hardware works as expected. I have attached my project file text (upload isn't working).

    {"questionnaire":{"version":"7.0.1.3","answers":[1,0,3,1,1,3,1,null,1,null,null,null,null,null,null],"options":{},"configID":"0000","vendorID":"0000"},"configuration":{"data":{"selected_ace":[{"register":22,"data":[10,48,48,77,0,0,0,0,0,0,3]},{"register":50,"data":[1,168,42,44,145,1,38,44,209,2,0,44,177,4,0,244,65,6,0,0,0,0,0,0,0,0,0,0,0,0,0]},{"register":51,"data":[4,44,145,1,16,44,209,2,0,44,177,4,0,44,65,6,0,69,65,6,0,0,0,0,0,0,0,0,0]},{"register":92,"data":[2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0]}]}}}

  • How are you controlling the data mux that flips the signals when the connector is upside down?

    Does it work in one cable orientation and not the other?