In my program, I write REG00、REG01、REG02、REG04....REG09 to configure the BQ25890 settings, not including REG03 which uses it's default setting.
And the configuration is only set at start up.
I write BATFET_DIS=1 to shut down my device.
Most of the time, the device can charge normally.
But some times, it has some problem.
1. Somes it does not charge, and I find that the BQ25890 goes into OTG mode:
The SYS_MIN changes to 3.7V and OTG_CONFIG is set to 1. But I never set REG03 in my program, and never set OTG_CONFIG or set SYS_MIN.
It's really strange.
And I have checked the regs, after the device start up, and before the device power down, the regs are all right. Nothing is changed in REG03 before power down.
2. When I use a USB adapter which does not have D+/D- lines.
If I start my device first (so the configuration is set) and then plug the USB adapter, the current is 460mA.
If I plug the USB adapter to power up the device, the current is 1.44A. Below shows some of the registers. The adapter is recognized as "unkown adapter" which is connect, but since it's "unkown adapter", the current limit should be 500mA, why it runs to 1.44A?
Thank you.