Hi, I am looking for a way to limit the charger input voltage using the device registers, so it will not charge from 5V?
if i can limit VINmin to be 9V it will fix my problem.
thank you
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.
Hi, I am looking for a way to limit the charger input voltage using the device registers, so it will not charge from 5V?
if i can limit VINmin to be 9V it will fix my problem.
thank you
Hey Elad,
You can do several things to achieve this.
If you program the InputVoltage() register to a value higher than the VBUS voltage you want to limit, it force the charger deep into VINDPM, which automatically reduces the charge current to the minimum value. Keep in mind that the SYS voltage will collapse to the battery voltage at this point. Additionally, the InputVoltage() register is automatically detected whenever a valid input is applied, meaning that this method will not work automatically if you apply a 9V input, remove it, and then later apply a 5V input. You will have to adjust the register each time.
Additionally, you can use the FORCE_LATCHOFF bit in the ChargeOption1() register with the integrated independent comparator to monitor the VBUS voltage. If the VBUS voltage is below a certain threshold and the comparator is active and trips, it will also disable the converter, disabling charge. This will have the same impact to the SYS voltage.
Lastly, you can utilize the internal ADC registers to monitor the VBUS voltage and have a software implementation that disables charge whenever the VBUS voltage is near or below your 5V setpoint.
Regards,
Joel H
Hey Elad,
I will close this thread. Feel free to open a new thread or respond to this one if it does not work for you.
Regards,
Joel H