3
« on: March 28, 2023, 02:57:03 PM »
Hi,
Meantime I was able to figure out that using "External DC enable" solves the problem. If the 5V power turns on the FT232HPQ initiates a power role swap and becomes power source. This is good.
However, if I remove the DC power then the FT233HPQ shuts down (becasue it has no power). As soon as it lost the power, it will turn ON again and becomes a power sink. It negosiates the power and when this negotiation finished it again initiates the power swap (even though it has no DC power) so it will shut down once again and this loop runs forever.
I have a simple application which I would like to solve using FT233HPQ:
The FT233HPQ PD1 port is connected to the DRP device (a smart phone) which continously provides data and also sources the power to my device. Additionally, there is an ocassional external 5V power source which should be used to charge the phone. So if the 5V is present the FT233HPQ should become a source and should feed the smartphone. On the contrary if teh 5V is lost the FT233HPQ should immediately become a sink again and should be fed by the smartphone. Can I realize this operation using the proper configzration of the external EEPROM or I should use an external MCU and control the FT233HPQ via I2c?
Is there a documentation on the I2C control of the FT233HPQ?
Thanks,
Janos