Part Number:BQ27531-G1Other Parts Discussed in Thread: BQ24192I, BQ24192
1、BQ27531-G1与BQ24192I配合使用时,提示[AUTHFAIL]如下;
2、查询bq27531-G1手册发现是Product Number设置不符合导致,
3、查询bq2419x手册发现ProductNumber如下;
4、那么要如何修改DataFlash里的这个ProducNumber的值?
Eric Gyj:
调试BQ27531-G1+BQ24192方案时,Data Flash里的Product Number是40,可以正常使用;BQ24192I的Product Number到底要怎么换算的?
,
Star Xu:
您好,The solution to the problem is to set the Product Number in the DF.
The gauge firmware performs the following check for charger authentication:
Read the data from the CHGR_REV_ADDR charger register.
Bitwise AND this data with (CHGR_REV_PN2 | CHGR_REV_PN1 | CHGR_REV_PN0)
This must match ChargerInfo->Product Number (subclass 0x4C, block 0, offset 24, 1 Byte).If this doesn’t match for 3 attempts then it will set the CHRG_I2C_STAT_AUTHFAIL bit
详细请参考下面的链接
https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/921186/bq27531-g1-table-3-14-chrgr_rev_rega-bit-definitions-pn-2-is-set-authfail-flag-set-in-chargerstatus-register/3426172?tisearch=e2e-sitesearch&keymatch=BQ27531-G1%252525252520AUTHFAIL#3426172