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.

BQ24190: USB not detecting

Part Number: BQ24190

Hi ,

We have custom board where the BQ24190 charging IC is connected to micro usb connector and the other application processor is also connected to the micro usb connector(please look at image).(I am talking about D+ and D+ lines).

Initially our custom board was acting as USB device(were using only for charging purpose). We have made it as USB host(we want to connect mass storage device to DMVA), now I am not able to detect if i connect some device to the micro USB connector. Since the D+ and D- lines are connected to both BQ24190 and DMVA2, it's not detecting the USB. Do i need to disconnect D+ D- lines from BQ24190?

  • Hello,

    The bq24190 uses the D+/D- for up to 500ms after adapter plug-in to perform the input current detection. The host must be able to HIZ its D+/D- for the first second when the adapter is plugged-in in order for the bq24190 to drive the D+/D- lines first. Once input current detection is finished, the bq24190 will HIZ D+/D- and communication can start between host and slave.

    How soon after plugging in a device to the port the host attempts communication?
  • Hi Fernando,

    Currently the deivce is pendrive. Power(5v) is given to pendrive via vbus of BQ24190. From host i am enabling OTG(writing registers via I2C), so that i would get 5v on vbus of bq24190.

    The moment pendrive is connected, host enumerates USB.

  • Hello,

    I want to ensure I'm understanding your application: once the pendrive is connected to the USB port, the host enables OTG to power the pendrive. Once powered up, the bq24190 will perform the input current detection. Afterwards, the host will attempt to enumerate the pendrive so the DMVA2 can begin data transfer; this last step is the one failing, correct?

    Is anything else besides the bq24190 and DMVA2 tied to the D+/D- lines?

    Is it possible in your new board to add a series resistor of at least 200 Ohms and test again if the DMVA2 can communicate with the pendrive?

    Can you also verify using your host what the bq24190 identifies the USB device as(SDP, DCP, etc.)?
  • Hi,

    Board is having DMVA and one microcontroller. BQ24190 is connected to microcontroller via I2C.

    Once the pendrive is connected, i will send commands to BQ24190 to boost 5V at VBUS(BQ24190 VBUS). This 5v is power source for pendrive.

    The D+ and D- lines are shared by BQ24190 and DMVA.

    I have made DMVA as USB HOST not OTG.

    And there are no 200 ohm resistors on D+ and D-. I will ask hardware team for changes.

    The moment i connect , 5v power is given by BQ24190 and DMVA is not enumerating USB.