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.

USB-PD-CHG-EVM-01: Configuration Only Sources 5V

Part Number: USB-PD-CHG-EVM-01
Other Parts Discussed in Thread: TPS25750, USB2ANY

Hello,

This is a repost of an ongoing issue. Originally, I could only discharge at 5V. With a newly generated configuration from Chuck, charging now works. However, discharging still only works at 5V. Would like to get a configuration that works with discharging at higher output voltages to prove this out for our application.

Below I have the desired configuration that I'd like to test. 

Thanks,

-Eric

{"questionnaire":{"version":"7.0.2.1","answers":[0,2,3,0,3,0,1,null,1,null,0,17,3.5,0.72,0.8],"options":{},"configID":"0000","vendorID":"0000"}}

  • Eric,

    I am really behind today.  I will get to this for you on Monday.

    Regards,

    Chuck

  • Hi Chuck,

    Assuming you have a new version of the tool that should address sourcing higher voltages, could you please try generating the above configuration again?

    Thanks,

    -Eric

  • Eric,

    I will get you a configuration later today.

  • Sounds great! I brought back all of my hardware to retest it!

  • Eric,

    I am looking for this hardware to confirm that I have a good configuration.  I didn't see a change to the setup when I did the updated configuration, so I need to test it vs hardware.

    I will update you on Thursday after get my hardware up and running.

  • Eric,

    I generatedhttps://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/196/EricCastle_5F00_WEBGUI_5F00_RC1.binhttps://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/196/0435.EricCastle_5F00_FullFlash.bin the file 2 ways.  1 with the RC1 WEB gui that is still in bug fixing mode for other issues and the other with my developer GUI.

    Please let me know if either of these two works for you.

  • Hi Chuck,

    Thanks for generating these! I tried them out this afternoon, but unfortunately neither worked.

    Here's what I found:

    1) 0435.EricCastle_FullFlash.bin: 

    a) Discharging: Worked at 5V up to 3A, but other voltages did not work (9 or 15).

    b) Charging: Did not work with either laptop or phone charger (saw a slight discharge while both were plugged in, 33 and 15 mA respectively).

    2) EricCastle_WEBGUI_RC1.bin:

    a) Discharge tester did not recognize that anyway was plugged in. No discharge occurred.

    b) Charging worked well. Could charge with laptop charger at ~3.3A, and could also charge using 5V phone charger ~0.11A.

    To be sure, I also retested the last file that you generated for me. That still worked fine at discharging at 5V and 3A (but no higher voltages), and charging worked well (3.3A internal with laptop charger, ~0.11A with phone charger). 

    Thoughts? Do you think that I will need to consider writing a manual configuration? Do you think that would solve the issues? 

    Thanks,

    -Eric Castle

  • Eric,

    I am going to work out a time later this week to go into the lab with the 792 support engineer and figure out why this is not working

  • Hi Chuck,

    Really appreciated. We're going to have hardware coming in soon (~2 weeks), and I'll need to either have a configuration soon or a direction to pursue once it arrives. 

    Thanks,

    -Eric Castle

  • Eric,

    Happy to help.  I now have hardware in hand.  I couldn't meet with the 992 engineer, but I can now debug on my own.

    I may be slightly delayed by the large winter storm that will make travel difficult for the next 24 hours.

    Regards,

    Chuck

  • Hi Chuck,

    Have you had any progress with this? I anticipate hardware within a few days, so I'll need to figure something out soon.

    Thanks,

    -Eric

  • Eric,

    I am working to see why you are seeing the issues that you are seeing.  I plan to release a new binary for you by tomorrow evening.

    REgards,

    Chuck

  • Hi Chuck,

    1) Any progress with making a new binary?

    2) What is the timeline for releasing an updated version of the GUI tool?

    3) Any resources for learning how to manually configure these devices? Starting to read the manuals, but there isn't much "theory of operation" to help understand things. 

    Thanks,

    -Eric 

  • Hi Chuck,

    Good news! I resolved my discharge issues! 

    I did some more reading on these parts, and tried some additional things. To my surprise, my discharge problem seemed to be at just the exact settings that I happened to originally pick. Adjusting them even slightly (adjusting the charging voltage to 16.8V, or the maximum sourced power to 60W), and discharging works at different voltages as expected. 

    Anyway, I created a new configuration for my board based on this, and was hoping that you could generate a configuration for me with it (as charging is still broken with the released tool). My only question is that if I want to charge the battery at 16.8V and 5A (84W), do I select 100W or 60W for sinking? My guess was 100W, but I wanted to make sure I had that correct.

    Here is the configuration (set to 100W sinking): 

    {"questionnaire":{"version":"7.0.2.1","answers":[0,3,4,0,3,0,1,null,1,null,0,16.8,5,0.92,1],"options":{},"configID":"0000","vendorID":"0000"}}

    Thanks,

    -Eric

  • Eric,

    I will generate this for you tomorrow morning.  I'm tied up for the rest of the day.

    Regards,

    Chuck

  • Hi Chuck,

    Would really appreciate it if you could try generating this tomorrow. I will have hardware, and I'd like to try getting this working now.

    Thanks,

    -Eric

  • Eric,

    Attached is the updated configuration.

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/196/EricCastle_5F00_FullFlash_5F00_REV1.bin

  • Hi Chuck,

    Thanks for generating this. Unfortunately, while charging worked with this file (at both 5V and 20V), discharging was still limited to 5V. It did advertise the higher voltages, but faulted and reverted to 5V whenever I tried them. Perhaps the BQ is misconfigured here, and it's just using the 5V supply?

    Anyway, a few questions:

    1) What is the timeline for releasing a new version of the tool? (It would be nice to be able to experiment without having to keep bothering you)

    2) Perhaps I can dig in, and figure out what is going wrong within the different files, and make a file that works for my application. However, I would need to understand how I could compare different binaries that the tool is generating.

    • What "fully defines" a configuration? Is it just the registers in the TPS25750?
    • Are there some TPS registers that are not configuration related, and could be excluded from comparison?
    • Do I need to somehow take into account the configuration of the BQ? (or is that fully described by the configuration of the TPS?)

    3) Assuming I could figure out some improved settings (perhaps adjusting registers manually via a USB2ANY), how could I generate a new binary file?

    Thanks,

    -Eric

  • Eric,

    We can address this on our call.

    Regards,

    Chuck

  • Please close this if issue was resolved.