I am using proprietry software for programming the BQ20Z45 and I have accidentally written the wrong value to the charge CFG register in the BQ20Z40.
Battery discharged fine but when I wen to charge it failed, and now there is a PFflag that I cannot clear.
it is the SOCC permanent failure, and I cannot seem to write the PF key to clear it.
battery voltage(0x09) is higher than flash update OK (not that this should be an issue) and pack voltage reads zero volts.
Does anyone know the exact process for writing the PF clear key? I think I had success with it last year, but cannot seem to reset it.
I have set the PF clear key to FF FF FF FF, to make sure endianness was not a problem.
I believe I need to send the following:
start bit, slave address, write bit, <ack>, 00 (MAC), <ack>, FF, <ack>, FF, <ack>, stop bit
start bit, slave address, write bit, <ack>, 00 (MAC), <ack>, FF, <ack>, FF, <ack>, stop bit
but this is not clearing the fault. Am I supposed to leave out the first stop bit?
the above method does not make sense to me. suppose I set the PF clear key to the same as the reset command (00 41 00 41), or some other MAC command , then when I entered this to clear the PF, the device would just reset twice!
Has anybody else managed to reset the PF using proprietry software?
Cheers