Other Parts Discussed in Thread: BQ24297
I have a UFP that will be used only to draw power from a Type-C connector to charge a battery and provide a system bus voltage. I will not be enumerating or sending data over the connection. I have been looking at the TUSB320 to communicate to my MCU what the available charge current is, so I can tell the battery charger what the maximum current draw is. I am a little confused as to how I can tell exactly what amount of current is available in all situations, based on the TUSB320 I2C or GPIO registers. In particular, I'm unsure what happens when USB 2.0 or various wall adapters are connected using a type A to type C adapter cable.
- If the TUSB320 shows the default current level, it could be 500mA (USB 2.0 SDP) or 900mA (USB 3.0 SDP). How do I tell which is actually present, so I can set the charger to the correct level?
- Is the 1.5A setting selected whenever a DCP is connected? Some DCPs are rated for less, and some for more. How do I set the charger to draw the maximum amount of power available, without drawing too much?
- Many DCPs are proprietary, and there are battery charger ICs that detect all the BC and common proprietary variations out there, and automatically adjust the current appropriately. For example, the BQ24297 does this. Is it possible to use one of these types of devices with USB-C, instead of something like the TUSB320? If so, would I need to do anything with the CC lines? Would 2.0-to-Type C connections from either 2.0 SDPs or DCPs be supported? Would native Type C supplies (DFPs or wall adapters) be supported?
Thanks,
Camron