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.

TPS65950 carkit question

Champs

 My customer has the below question on the carkit and the USB charging:

We are talking about using USB_OTG input to charge a battery. There is a table in the PMIC that describes how it determines whether or not it is connected to a dedicated charger(usb wall wart instead of usb from PC) based on the resistance of the ID pin and whether or not D+ is shorted to D-. This is the functionality we need to get working. The ID status register reports back what resistance it sees and there is mention that an internal state machine should automatically go to the PH_CHARGER state, but I am not 100% certain what we need to do to get this functionality working.

 

As a side note, we are using a separate battery charger instead of using the PMIC as the battery charger because the FETs on the SOM are undersized to handle the current we need.

Regards

Mohsen

  • Hi Mohsen,

     

    You will require the following configuration for enabling the internal state machine:

    1. Write OTHER_IFC_CTRL_SET 0x20   (Set cea2011_mode bit)

    2. Write IFC_CTRL_SET   0x0C      (carkit mode)

    3. Write CARKIT_CTRL_SET 0x01    (power carkit block)

    4. Write CARKIT_SM_CTRL_SET  0x01    (Enable PSM)

     

    Since, you are using an external charger, you need to configure the following in order to observe the PH_CHARGER state

    Write CARKIT_SM_1_INT_EN_SET  0x10    (it generates an interrupt event notification when entering PH_CHARGER state in the hardware state-machine.)

     

    Let me know, if you still face any issues.

     

    Regards

    Ankit