SLUUC54C February 2020 – March 2024 BQ27Z558 , BQ27Z561 , BQ27Z561-R2
This command enters a new authentication key into the device.
Status | Condition | Action |
---|---|---|
Initiate | OperationStatusA()[SEC1,SEC0] = 0,1 AND 0x0037 to AltManufacturerAccess() | OperationStatusB()[AUTH] = 1 160-bit random number available at MACData() |
Enter Key | Correct 128-bit key written to MACData() in the format 0xAABBCCDDEEFFGGHHIIJJKKLLMMNNOOPP, where AA is LSB. In addition to this information, the checksum + length data block is required. | Wait time 250 ms OperationStatusB()[AUTH] = 0 The device returns a 160-bit HMAC digest at MACData() in the format: 0xAABBCCDDEEFFGGHHIIJJKKLLMMNNOOPPQQRRSSTTT, where AA is LSB. The HMAC digest was calculated using a challenge of all 0s + key. The result can be used to verify the key without allowing a plain text read back. |