Our bq24725evm seems to work perfectly except for one very big problem... It isn't actually accepting the ChargeCurrent and ChargeVoltage commands from our battery (Inspired Energy ND2054).
The battery is looks like it sending well formed messages (though they have PEC, which is probably wrong). Everything looks fine up through the 1nd data byte, at which point the bq24725 doesn't ack. The transaction looks like:
S 00010010 A 00010100 A 11101110 N 00000010 A 11011001 N P
in other words...
Start 0x09+R Ack 0x14 Ack 0xEE Nack 0x02 Ack 0x9D Nack Stop
Oddly, from an attached system, I can read the appropriate values from the battery and issue ChargeCurrent and ChargeVoltage to the charger. It will start charging and keep going until the battery sends out the commands, at which point the controller sets both values to 0 and stops charging.
My guess would have been that the PEC byte the battery seems to insist on sending is causing the problem... but using the attached system to send the same message doesn't have trigger strange Nack issue. The only other difference I see is that the battery's messages are at about 75kHz instead of 100kHz.
Anyway, I've banged my head against this long enough and just don't see what could be causing this problem. It really looks like it should be working... Any clues would be most appreciated.
PS: If I ever figure out how to do screen captures on the oscope, I'll post the comparison of the successful transaction from the system->charger and the failing battery->charger. That Nack and the slightly slower rate are the only really obvious differences though.
PPS: Of course, I'll also contact the battery supplier with this... but the Nack is the charger, not the battery.