Other Parts Discussed in Thread: TPS65987
Hello,
I am working on a development board that can be used for multiple different products. In these products, the same USB-C port will be either a DFP or UFP depending on the firmware that is flashed on the embedded controller (EC). Ideally, I would like the TPS65987DDJ role to change "automatically" based on the firmware that is flashed on the EC. The two scenarios are listed below.
Scenario 1: Main DC power from an external DC jack, USB-C operating as a DFP sourcing up to 20V, 5A
Scenario 2: USB-C operating as an UFP sinking up to 20V, 5A with main DC power from USB-C. External DC jack is disconnected
Questions:
- Can this be accomplished by including a .bin file for the 65987 role within the FW image for the EC and then performing a SPI write on boot-up to check and re-write the boot config if necessary?
- If so, is an externally memory required for the 65987?
- From another thread, it sounds like any config taking advantage of GPIOs on the 65987 requires external memory, is that correct?
- If the boot config is written as an UFP, will the 65987 automatically boot to that on the next power cycle? The design will likely need the controller to negotiate for higher power so the UFP behavior will need to function independent of the EC.
Thanks!
Ryan