Datasheet

21
bq2040
Error Code Access Description
OK 0x0000 read/write bq2040 processed the function code without detecting any errors.
Busy 0x0001 read/write bq2040 is unable to process the function code at this time.
ReservedCommand 0x0002 read/write
bq2040 cannot read or write the data at this time—try again
later.
UnsupportedCommand 0x0003 read/write bq2040 does not support the requested function code.
AccessDenied 0x0004 write
bq2040 detected an attempt to write to a read-only function
code.
Overflow/Underflow 0x0005 read/write bq2040 detected a data overflow or underflow.
BadSize 0x0006 write
bq2040 detected an attempt to write to a function code with an
incorrect size data block.
UnknownError 0x0007 read/write bq2040 detected an unidentifiable error.
Note: Reading the bq2040 after an error clears the error code.
Table 8. Error Codes (BatteryStatus() (0x16))