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.

TIDA-01627: Auto-detect for Sink/Source mode & sample code

Part Number: TIDA-01627

HI there,

I have two questions about the TIDA-1627.

Firstly, can you set the 65987D as default-source? I do not want to have mechanic parts in my design and do not want to include a button, also I dont see a need for it. If it acts as default-source, then it will charge anything that is plugged to it (which is the point of a power bank) and will only sink when connected to a wall charger. Perfect!

How can I include this into the code?

Also, since this is my very first USB-C Device, is there any code to start working with such as the code used for the reference design?

Thank you very much,

Karim

  • Hi Karim,

    Yes the 87D can be set as a default PD source and that exactly what we have done in the TIDA-01627. Even if you connect the 87D to a PD charger it will request to do power role swap but this request will be rejected by the charger, since the PD adaptor doesn't suppot it.

    However, we will still need a switch as this switch is required to turn on the Power bank in source mode. If you don't use this switch then you will ahve to keep the PD controller on all the time which will consume power unnecessarily. In TIDA-01627 if the controller detects that there's nothing connected to it then it automatically cuts off it's power to conserve power. Once that happens only the switch can turn it on.

    Please click at "This resolves my issue" if this answers your query.

    Thanks,

    Rahul

  • Dear Mr. Sharma,

    Thank you so much, you perfectly answered my first question!

    For the second part though:
    Where can I find a sample code from which to start off with to get a prototype running ? I already own an EV2400 but have not found anything on CCS. This would greatly boost our product's time to market.

    Thank you!
    Karim
  • Hi Karim,

    There's absolutely no code required for all this, all of these settings are done in the Configuration tool, there are some GPIOs required too to make the whole system work. Therefore, I think you can't use EV200 to evaluate this.

    Thanks,
    Rahul