Other Parts Discussed in Thread: LM5148, BQ25792, BQ25756
Tool/software:
We are developing a USB-C device that can act as a source to provide 5-20V at up to 65W. We have a separate DC supply voltage that powers our device and can be bucked down to the PD-negotiated voltage (using something like a LM5148). We have a microcontroller in the device, so we can control the TPS25751 and buck regulator as necessary. There is no battery in the product. We have a couple questions:
- Do we need a EEPROM to store the configuration, or can we program everything with the MCU via I2C?
- The TPS25751 is designed around communicating with a BQ25792 or BQ25756 battery charger buck-boost chip. Can we use our MCU to control the buck instead, and how would we synchronize the PD contract voltage (when the sink requests a profile, how does the MCU know to adjust the buck voltage)?
- We want to be able to plug a laptop into the USB-C connector and communicate via USB with the MCU so we can update firmware. We will sometimes need to do this while the device has no power on its own. Is there any issue in getting power from the laptop while we do the firmware update? If our device's input power is then connected to our device while it is in this condition, can we switch to providing power to the laptop?
Thank you for your help!