This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/BQ27542-G1: Failed to authenticate gauge during device boot up

Part Number: BQ27542-G1

Tool/software: Linux

Hi , TI guys

    we use bq27542 to authenticate battery. During our device booting up , a chellange string will be sent to gauge and then read back digist 100 milliseconds later. The result always be failed.

For example, 

[ 17.142771] send : 5a51d81d67846b28899a9637906d230d7022e960
[ 17.213142] read : 4051d81d67846b28899a9637906d230d7022e960
[ 17.213182] expect: ee566c285456083b722ff6c5d206f61e80bac1bc
[ 17.213620] Battery Auth Failed

[ 17.142771] send : 5a51d81d67846b28899a9637906d230d7022e960
[ 17.213142] read : ee566c285456083b722ff6c5d206f61e80bac1bc
[ 17.213182] expect: ee566c285456083b722ff6c5d206f61e80bac1bc
[ 17.213620] Battery Auth Pass

We can see that when failed to authenticate, the result read is almost same as send string except  the first byte.

But after retry servel times,  the expect result will be read. How can I rise this success rate?