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.

BQ24160a - charge current detection

Other Parts Discussed in Thread: BQ24160A

Hi we use the BQ24160a on our board. We expect the part to detect if either a USB charger (DCP, max current 1.5A, D+/D- shortened) or a standard downstream port is connected. In the latter case we expect that the part will limit current to 100mA while in the first case 1.5A should be possible.


We noticed that detection does not work reproduceably. The D+/D- lines are also connected to our local microcontroller that implements a USB device. I also tried setting bit 0 in register 3 to force a detection. But I always get IUSB_LIMIT[2:9]="000" after that. So the 1.5A charger is not detected.


Any idea?

Well I setup a couple of registers before trying to start the detection (battery voltage, charge current, ..)

When sould I expect the bq24160a to do it's detection? Later our device should charge with 1.5A when detecting a CDP and 500mA when running on a SDP (100mA via detection and then updated current by application).

So should I trigger detection on any event on the USB power inputs? But first let detection work.

Matthias

  • I suggest monitoring the D+/D- lines on an scope immediately after the IC USB input voltage rises above UVLO.  If other USB comms are occuring in the 500ms after the input voltage is up and/or the D+/D- line voltages are above 0.6V during this time, the IC defaults to 100mA current limit.