Hi,
Good day,
The overall architecture of a power bank built around BQ25895 is as shown in the image below.
The charger will be connected to the Power Bank using Type A - Type C cable. The Power Bank will then be connected to the phone using a Type - C cable.
The selector switch will have 3 positions, and the action based on the selector switch position is as follows,
a) 1st position, the charger will charge the phone.
b) 2nd position, the charger will charge the power bank battery.
c) 3rd position, the power bank will charge the phone.
The D+ and D- signals from the chargers, are multiplexed using TS3USB221, to go to phone or power bank circuit ( BQ25895 ), based on the selector switch position.
The CC1 and CC2 pins of the phone, needs to be connected to charger when the switch is in position 1 and when at position 3 one of the pins to be pulled up with 56k Ohm resistor.
Kindly suggest a suitable IC to multiplex the CC pins as their voltage may rise to 12V, when a fast charger is used.