We use the battery(charge current Max. 580mA) for the TWL6032A2B4YFF.
Can we change the R2 value from 20m ohm to ? m ohm, then we can limit the charge current(TWL6032 is 1.5A) to protect the battery ?
If it's OK. to has no side effect ? Thanks !
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.
We use the battery(charge current Max. 580mA) for the TWL6032A2B4YFF.
Can we change the R2 value from 20m ohm to ? m ohm, then we can limit the charge current(TWL6032 is 1.5A) to protect the battery ?
If it's OK. to has no side effect ? Thanks !
Hi Kevin,
Setting R2 to [1.5/0.58] * .02 ohm = 52 mohm sounds reasonable. The register map shows that using 15 mohm will set the current limit up by [20/15], so I would expect setting to 52 ohm should set the current limit down by [20/52].
Alternatively, the VICHRG bits can be modified, but that would be after boot.
Hi Francis,
My understanding is that E_CIN_LIMIT will be used until rising edge of CHRG_DET_N (for A2B4 OTP with DET_N_POL = '1'). After rising edge, CINLIMIT will be used until VBUS is removed.
if we modified the CIN_LIMIT from 100mA to 600mA ,and change CHRG_DET_N from 0 to 1 after system has been booted, when will the new 600mA input current limit be applied? do we need toggle CHRG_DET_N multiple time to trigger the rising edge to update the VBUS current limitation? are the limitation register only update under some condition?
another question about the CHRG_DET_N is :
in the TWL6032 datasheet it says it is Analog, and Nominal voltage is LDOUSB(3.3V), when I connect it to GPIO(1.8V), what will happen? will the PMIC work correctly? or I need add a levelshifter from 1.8 to 3.3 in order form PMIC work properly
Hi Charlie,
Toggling CHRG_DET_N has no effect after the first rising edge (For A2B4 OTP). Rising edge sets a latch to use CIN_LIMIT instead of E_CIN_LIMIT that can only be reset by removing charger.
VIH for most of the digital signals appears to be expected voltage * 0.7 or 0.65, so I think level shifter is likely needed to ensure detection. You may want to test on the EVM () to confirm though.
Hi Charlie,
My understanding is that the new value will take effect immediately based on the documentation.
after detail checking, we have found that E_CIN_LIMIT never took into effect even CHRG_DET_N is tie to 0, TLW6032 always use CIN_LIMIT, what is the reason for this?
it is very dangerous for this case because default A2B4 CIN_LIMIT is 1500mA, this will crash the PC USB port instantly, we need boot the SOC then we can change the PMIC value. please advise how to make E_CIN_LMIT limit the VBUS current in the beginning.