Other Parts Discussed in Thread: BQSTUDIO
I have a BQ35100 which I'm using in EOS mode. I can successfully read and configure the device, except to initiate the new battery.
I have forced the EOS alert on my device and wish to clear and reset the BQ using the New Battery (0xA613). The problem is if I send this command, then read the Battery Alert register (0x0B) it still shows EOS and has not been cleared as expected.
My current procedure:
1. GE enable
2. Wait for IntComp = 1
3. Send New Battery (0xA613)
4. Read Battery Alert register (0x0B)
5. GE disable
If I separate the above commands to happen one at a time triggered manually, I was able to the the EOS alert clear. When I put the sequence together as above, the alert does not get cleared (reading 0x19). I've tried upto 500ms delays but no success. I don't want to just try and guess at delays.
What is the correct procedure to set the new battery? Do you have a sample code or script I can use as reference?
I believe my code is functioning correct as I am able to start and stop the active modes which use the same write sub command function.