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.

TUSB4020BI: battery charging mode

Part Number: TUSB4020BI

I want set the TUSB4020 into charging mode for a CDP device according to BC1.2

The configuration pins are:

    Pin21= (PWRCTL_POL)    4k7 to GND -> active high

    Pin36 = (FullPWR)            4k7 to GND -> power switching supported

    Pin35 = (Ganged)              4k7 to GND -> individual power control supported

    Pin6 = (PWRCTL2)            10k to 3.3V -> battery charging supported

 

How Can I measure if the TUSB4020 is in battery charging mode by D+/D- lines ?  

 

How can I set the TUSB4020 into a custom charging mode / divider mode for a fixed DC voltage on D+/D- ?

Which register have to be set ?

How can I adjust the voltage ?

 

 

 

  • Hello,

    Yes, this is the correct configuration for DCP / CDP battery charging enabled on port 2. You should be able to see the port power turn back on Port 2 when the upstream host is disconnected (DCP mode). The CDP handshake is difficult to see unless you have an oscilloscope on the DP/DM lines when the device is connected.

    For divider mode, you would need to enable AUTOMODE (Reg 0A) on the TUSB4020, but this disables CDP mode. The voltage levels cannot be adjusted in divider mode other than enabling the high current ACP mode in Reg 0Ah.

    Regards,
    JMMN
  • Configuration by hardware is ok and
    Measuring with oscilloscope is conform to CDP detection timing in BC1.2