Other Parts Discussed in Thread: BQ24250, , BQSTUDIO, EV2400
Hi,
I am using BQ27532-G1 and bq24250 together on our board, and trying to do the BATTERY DETECTION and charging/ discharging check.
But every time i checked the Flags() command's return value for BAT_DET, it was alway set, even i only connect the board with USB(no battery). And the DSG bit of flag() is always 0 no matter the battery is charged or discharged. And in the test, the "OpConfig B" was configured to be 0x4A.
But if i set the "BIT bit of OpConfig B" to be 0 and use BAT_INSERT and BAT_REMOVE command, then i could see the corresponding change of BAT_DET bit.
I thought it might because some variable in module's flash are not configured well. But the manual also says the BAT_DET and DSG bits are quite independent to these configuration. So, Can someone help me with this?
Thanks,
Shiping