This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Config TUSB8041 hub for charge phone with high current

Other Parts Discussed in Thread: TUSB8041

Hello everybody,

For a project, I had to support fast charge phone with charging current as high as possible.

In my design, TUSB8041 hub is connected to ATmega238P via SMBus (TWI) interface. The TUSB8041's datasheet said:

  "- Supports Battery Charging:

      + CDP Mode (Upstream Port Connected)

      + DCP Mode (Upstream Port Unconnected)

      + DCP Mode Complies with Chinese Telecommunications Industry Standard YD/T 1591-2009

      + D+/D- Divider Mode"

But I don't know how to config TUSB8041 registers for high current charging.

Is anybody able to help me? Maybe even able to explain it?

Thanks!

  • Hello,
    The TUSB8041 supports high current charging by enabling auto mode and writing a "1" to bit[6] and bit[4] of the Device Configuration Register 2 at offset 0xA

    Regards
  • Thank for your answer!
    I tried, the charging is around 1000mA, still smaller than wall charger. When my phone ran out of battery, I measured and compared charging current with my wall charger:
    - Wall Charger: reach around 2000mA.
    - TUSB8041 hub only charge at 1000mA.
    I had try to disconnect upstream port of TUSB8041, the charging current is 2000mA, equal with wall charger. Could you explain it for me?

    And sometime, I wan to charge my phone only (not transfer data) with high current (like above), can I config for each downstream port of TUSB8041 work independence via SMBus, without disconnect the upstream port (because have a phone on another downstream port is transferring data with PC)?

    Thanks!
  • Hello,

    Would you confirm the following:

    Does it happens on all the downstream ports?

    Are you using an apple device?

    In theory there should not be any change on current draw when switching from CDP to DCP.

    Some wall adapters will supply more current than specified in BC Spec.

    Regards

  • Yes, I'm using it for iPad tablet. I use all downstream port, but only need port 3 for USB 3.0 with high charge current, another port is using in USB 2.0 mode.

    The current supply by TUSB8041 currently is not enough for iPad continuous working with 100% screen brightness.

    Thanks