Hi all, I'm using the
BQ24257 Li-Ion charge controller in my project, but it's not working, and it's driving me crazy!
What's going on is that when I query the device over I2C for the charging status, it reports "ready". Thing is, the ready status isn't documented in any datasheet I can find. I seem to recall reading somewhere that "ready" means the device is powered up and waiting for a battery to be connected, but I don't remember where I saw that, and I can't find it again.
Weird thing is, I've gotten it to work a couple times. Last time it worked completely reliably, but once I uploaded some new code, it broke again. Of course it didn't work when I uploaded the old code... I did stick a logic analyzer on the I2C bus just to make sure my code isn't interpreting the data wrong, but that looks fine.
Anyone have any ideas?