代码中bq25895 充电使能是Register07 的bit[7] , 只看到在
bq2589x_init_device
bq2589x_enable_term // 根据传递进来的值,来使能充电,停止充电。
充电充满的时候,停止充电。 但是没有其他地方调用bq2589x_enable_term 这个函数。
那bq25895 是怎么停止充电的?
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.
参考规格书22页:
The charger device automatically terminates the charging cycle when the charging current is below termination
threshold, charge voltage is above recharge threshold, and device not in DPM mode or thermal regulation.
充电停止是根据充电电流大小是否低于截止电流,充电电压是否高于再充电门限电压以及是否在DPM模式/高低温调制。
充电截至电流可以调REG05的ITREM。再充电门限电压可以调REG06的VRECHG。最后DPM模式/高低温调制可以看规格书23页。
REG07 bit7决定的是:是否开启充电截止功能。当电池电压大于VBATREG-V(RECHG), 充电电流小于截止充电电流Iterm时,停止充电。
REG03 bit4决定的是:是否开启充电功能。