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.

BQ27426: 寄存器数据在一段时间后自动复位到默认值

Part Number: BQ27426

软件方面在解封并进入更新模式后将数据写入寄存器,退出更新模式,读刚才写入的寄存器数据是正常的,但连续读几秒钟之后数据就又恢复默认值了,请问你们知道是怎么回事吗?

00> [D] :> power_key long press
00> [E] :>   |--> File - ../user/data_manage/data_manage.c, Line - 170
00> [D] :> DEVICE_TYPE:0426
00> [D] :> unseal
00> [D] :> into cfg update mode
00> [D] :> 1:46, 2:01
00> [D] :> 1:47, 2:F4
00> [D] :> check1 new sum1:71, new data1:500
00> [D] :> check2 old sum:251, new sum:251, old_data:1340, new_data:500
00> [D] :> 1:48, 2:07
00> [D] :> 1:49, 2:3A
00> [D] :> check1 new sum1:121, new data1:1850
00> [D] :> check2 old sum:71, new sum:71, old_data:4960, new_data:1850
00> [D] :> 1:4A, 2:0B
00> [D] :> 1:4B, 2:B8
00> [D] :> check1 new sum1:66, new data1:3000
00> [D] :> check2 old sum:121, new sum:121, old_data:3200, new_data:3000
00> [D] :> 1:55, 2:00
00> [D] :> 1:56, 2:C8
00> [D] :> check1 new sum1:222, new data1:200
00> [D] :> check2 old sum:66, new sum:66, old_data:100, new_data:200
00> [D] :> BQ27426 Design Capacity:0x01F4
00> [D] :> BQ27426 Design Energy:0x073A
00> [D] :> BQ27426 Terminate Voltage:0x0BB8
00> [D] :> BQ27426 Taper Rate:0x00C8
00> [D] :> BQ27426 Chem ID Update:0x3230
00> [D] :> exit cfg update mode, into loop
00> [D] :> number:61
00> [D] :> BQ27426 battery volt:              3711mv
00> [D] :> BQ27426 Flags ITPOR 0x0020:      014F
00> [D] :> BQ27426 CONTROL_STATUS 0x0080:   000C
00> [D] :> BQ27426 AverageCurrent:            0mA
00> [D] :> BQ27426 AveragePower:              0mW
00> [D] :> BQ27426 NominalAvailableCapacity:  0mAh
00> [D] :> BQ27426 FullAvailableCapacity:     1340mAh
00> [D] :> BQ27426 RemainingCapacity:         0mAh
00> [D] :> BQ27426 FullChargeCapacity:        1340mAh
00> [D] :> number:62
00> [D] :> BQ27426 battery volt:              3711mv
00> [D] :> BQ27426 Flags ITPOR 0x0020:      01CF
00> [D] :> BQ27426 CONTROL_STATUS 0x0080:   000C
00> [D] :> BQ27426 AverageCurrent:            0mA
00> [D] :> BQ27426 AveragePower:              0mW
00> [D] :> BQ27426 NominalAvailableCapacity:  0mAh
00> [D] :> BQ27426 FullAvailableCapacity:     1340mAh
00> [D] :> BQ27426 RemainingCapacity:         0mAh
00> [D] :> BQ27426 FullChargeCapacity:        1340mAh
00> [D] :> number:63
00> [D] :> BQ27426 battery volt:              3711mv
00> [D] :> BQ27426 Flags ITPOR 0x0020:      01CF
00> [D] :> BQ27426 CONTROL_STATUS 0x0080:   000C
00> [D] :> BQ27426 AverageCurrent:            0mA
00> [D] :> BQ27426 AveragePower:              0mW
00> [D] :> BQ27426 NominalAvailableCapacity:  0mAh
00> [D] :> BQ27426 FullAvailableCapacity:     1340mAh
00> [D] :> BQ27426 RemainingCapacity:         0mAh
00> [D] :> BQ27426 FullChargeCapacity:        1340mAh
00> [D] :> number:64
00> [D] :> BQ27426 battery volt:              3711mv
00> [D] :> BQ27426 Flags ITPOR 0x0020:      01C9
00> [D] :> BQ27426 CONTROL_STATUS 0x0080:   000C
00> [D] :> BQ27426 AverageCurrent:            0mA
00> [D] :> BQ27426 AveragePower:              0mW
00> [D] :> BQ27426 NominalAvailableCapacity:  87mAh
00> [D] :> BQ27426 FullAvailableCapacity:     492mAh
00> [D] :> BQ27426 RemainingCapacity:         78mAh
00> [D] :> BQ27426 FullChargeCapacity:        483mAh
00> [D] :> number:65
00> [D] :> BQ27426 battery volt:              3711mv
00> [D] :> BQ27426 Flags ITPOR 0x0020:      01C9
00> [D] :> BQ27426 CONTROL_STATUS 0x0080:   000C
00> [D] :> BQ27426 AverageCurrent:            0mA
00> [D] :> BQ27426 AveragePower:              0mW
00> [D] :> BQ27426 NominalAvailableCapacity:  87mAh
00> [D] :> BQ27426 FullAvailableCapacity:     492mAh
00> [D] :> BQ27426 RemainingCapacity:         78mAh
00> [D] :> BQ27426 FullChargeCapacity:        483mAh
00> [D] :> number:66
00> [D] :> BQ27426 battery volt:              3711mv
00> [D] :> BQ27426 Flags ITPOR 0x0020:      01C9
00> [D] :> BQ27426 CONTROL_STATUS 0x0080:   000C
00> [D] :> BQ27426 AverageCurrent:            0mA
00> [D] :> BQ27426 AveragePower:              0mW
00> [D] :> BQ27426 NominalAvailableCapacity:  87mAh
00> [D] :> BQ27426 FullAvailableCapacity:     492mAh
00> [D] :> BQ27426 RemainingCapacity:         78mAh
00> [D] :> BQ27426 FullChargeCapacity:        483mAh
00> [D] :> number:67
00> [D] :> BQ27426 battery volt:              3711mv
00> [D] :> BQ27426 Flags ITPOR 0x0020:      01C9
00> [D] :> BQ27426 CONTROL_STATUS 0x0080:   000C
00> [D] :> BQ27426 AverageCurrent:            0mA
00> [D] :> BQ27426 AveragePower:              0mW
00> [D] :> BQ27426 NominalAvailableCapacity:  87mAh
00> [D] :> BQ27426 FullAvailableCapacity:     492mAh
00> [D] :> BQ27426 RemainingCapacity:         78mAh
00> [D] :> BQ27426 FullChargeCapacity:        483mAh
00> [D] :> number:68
00> [D] :> BQ27426 battery volt:              3711mv
00> [D] :> BQ27426 Flags ITPOR 0x0020:      0148
00> [D] :> BQ27426 CONTROL_STATUS 0x0080:   000C
00> [D] :> BQ27426 AverageCurrent:            0mA
00> [D] :> BQ27426 AveragePower:              0mW
00> [D] :> BQ27426 NominalAvailableCapacity:  86mAh
00> [D] :> BQ27426 FullAvailableCapacity:     492mAh
00> [D] :> BQ27426 RemainingCapacity:         78mAh
00> [D] :> BQ27426 FullChargeCapacity:        483mAh
00> [D] :> number:69
00> [D] :> BQ27426 battery volt:              3711mv
00> [D] :> BQ27426 Flags ITPOR 0x0020:      0148
00> [D] :> BQ27426 CONTROL_STATUS 0x0080:   000C
00> [D] :> BQ27426 AverageCurrent:            0mA
00> [D] :> BQ27426 AveragePower:              0mW
00> [D] :> BQ27426 NominalAvailableCapacity:  86mAh
00> [D] :> BQ27426 FullAvailableCapacity:     492mAh
00> [D] :> BQ27426 RemainingCapacity:         78mAh
00> [D] :> BQ27426 FullChargeCapacity:        483mAh
00> [D] :> number:70
00> [D] :> BQ27426 battery volt:              3711mv
00> [D] :> BQ27426 Flags ITPOR 0x0020:      01C8
00> [D] :> BQ27426 CONTROL_STATUS 0x0080:   008C
00> [D] :> BQ27426 AverageCurrent:            0mA
00> [D] :> BQ27426 AveragePower:              0mW
00> [D] :> BQ27426 NominalAvailableCapacity:  86mAh
00> [D] :> BQ27426 FullAvailableCapacity:     492mAh
00> [D] :> BQ27426 RemainingCapacity:         78mAh
00> [D] :> BQ27426 FullChargeCapacity:        483mAh
00> [D] :> number:71
00> [D] :> BQ27426 battery volt:              3711mv
00> [D] :> BQ27426 Flags ITPOR 0x0020:      01C8
00> [D] :> BQ27426 CONTROL_STATUS 0x0080:   008C
00> [D] :> BQ27426 AverageCurrent:            0mA
00> [D] :> BQ27426 AveragePower:              0mW
00> [D] :> BQ27426 NominalAvailableCapacity:  86mAh
00> [D] :> BQ27426 FullAvailableCapacity:     492mAh
00> [D] :> BQ27426 RemainingCapacity:         78mAh
00> [D] :> BQ27426 FullChargeCapacity:        483mAh
00> [D] :> number:72
00> [D] :> BQ27426 battery volt:              3711mv
00> [D] :> BQ27426 Flags ITPOR 0x0020:      01C8
00> [D] :> BQ27426 CONTROL_STATUS 0x0080:   008C
00> [D] :> BQ27426 AverageCurrent:            0mA
00> [D] :> BQ27426 AveragePower:              0mW
00> [D] :> BQ27426 NominalAvailableCapacity:  87mAh
00> [D] :> BQ27426 FullAvailableCapacity:     492mAh
00> [D] :> BQ27426 RemainingCapacity:         78mAh
00> [D] :> BQ27426 FullChargeCapacity:        483mAh
00> [D] :> number:73
00> [D] :> BQ27426 battery volt:              3711mv
00> [D] :> BQ27426 Flags ITPOR 0x0020:      01C8
00> [D] :> BQ27426 CONTROL_STATUS 0x0080:   009C
00> [D] :> BQ27426 AverageCurrent:            0mA
00> [D] :> BQ27426 AveragePower:              0mW
00> [D] :> BQ27426 NominalAvailableCapacity:  87mAh
00> [D] :> BQ27426 FullAvailableCapacity:     492mAh
00> [D] :> BQ27426 RemainingCapacity:         78mAh
00> [D] :> BQ27426 FullChargeCapacity:        483mAh
00> [D] :> number:74
00> [D] :> BQ27426 battery volt:              3711mv
00> [D] :> BQ27426 Flags ITPOR 0x0020:      01C8
00> [D] :> BQ27426 CONTROL_STATUS 0x0080:   009C
00> [D] :> BQ27426 AverageCurrent:            0mA
00> [D] :> BQ27426 AveragePower:              0mW
00> [D] :> BQ27426 NominalAvailableCapacity:  87mAh
00> [D] :> BQ27426 FullAvailableCapacity:     492mAh
00> [D] :> BQ27426 RemainingCapacity:         78mAh
00> [D] :> BQ27426 FullChargeCapacity:        483mAh
00> [D] :> number:75
00> [D] :> BQ27426 battery volt:              3600mv
00> [D] :> BQ27426 Flags ITPOR 0x0020:      0167
00> [D] :> BQ27426 CONTROL_STATUS 0x0080:   000C
00> [D] :> BQ27426 AverageCurrent:            0mA
00> [D] :> BQ27426 AveragePower:              0mW
00> [D] :> BQ27426 NominalAvailableCapacity:  0mAh
00> [D] :> BQ27426 FullAvailableCapacity:     1340mAh
00> [D] :> BQ27426 RemainingCapacity:         0mAh
00> [D] :> BQ27426 FullChargeCapacity:        1340mAh
00> [D] :> number:76
00> [D] :> BQ27426 battery volt:              3600mv
00> [D] :> BQ27426 Flags ITPOR 0x0020:      0167
00> [D] :> BQ27426 CONTROL_STATUS 0x0080:   000C
00> [D] :> BQ27426 AverageCurrent:            0mA
00> [D] :> BQ27426 AveragePower:              0mW
00> [D] :> BQ27426 NominalAvailableCapacity:  0mAh
00> [D] :> BQ27426 FullAvailableCapacity:     1340mAh
00> [D] :> BQ27426 RemainingCapacity:         0mAh
00> [D] :> BQ27426 FullChargeCapacity:        1340mAh
00> [D] :> number:77
00> [D] :> BQ27426 battery volt:              3600mv
00> [D] :> BQ27426 Flags ITPOR 0x0020:      0167
00> [D] :> BQ27426 CONTROL_STATUS 0x0080:   000C
00> [D] :> BQ27426 AverageCurrent:            0mA
00> [D] :> BQ27426 AveragePower:              0mW
00> [D] :> BQ27426 NominalAvailableCapacity:  0mAh
00> [D] :> BQ27426 FullAvailableCapacity:     1340mAh
00> [D] :> BQ27426 RemainingCapacity:         0mAh
00> [D] :> BQ27426 FullChargeCapacity:        1340mAh
00> [D] :> number:78
00> [D] :> BQ27426 battery volt:              3600mv
00> [D] :> BQ27426 Flags ITPOR 0x0020:      0167
00> [D] :> BQ27426 CONTROL_STATUS 0x0080:   000C
00> [D] :> BQ27426 AverageCurrent:            0mA
00> [D] :> BQ27426 AveragePower:              0mW
00> [D] :> BQ27426 NominalAvailableCapacity:  0mAh
00> [D] :> BQ27426 FullAvailableCapacity:     1340mAh
00> [D] :> BQ27426 RemainingCapacity:         0mAh
00> [D] :> BQ27426 FullChargeCapacity:        1340mAh
00> [D] :> number:79
00> [D] :> BQ27426 battery volt:              3600mv
00> [D] :> BQ27426 Flags ITPOR 0x0020:      016F
00> [D] :> BQ27426 CONTROL_STATUS 0x0080:   000C
00> [D] :> BQ27426 AverageCurrent:            0mA
00> [D] :> BQ27426 AveragePower:              0mW
00> [D] :> BQ27426 NominalAvailableCapacity:  0mAh
00> [D] :> BQ27426 FullAvailableCapacity:     1340mAh
00> [D] :> BQ27426 RemainingCapacity:         0mAh
00> [D] :> BQ27426 FullChargeCapacity:        1340mAh
00> [D] :> number:80
00> [D] :> BQ27426 battery volt:              3711mv
00> [D] :> BQ27426 Flags ITPOR 0x0020:      016F
00> [D] :> BQ27426 CONTROL_STATUS 0x0080:   000C
00> [D] :> BQ27426 AverageCurrent:            0mA
00> [D] :> BQ27426 AveragePower:              0mW
00> [D] :> BQ27426 NominalAvailableCapacity:  0mAh
00> [D] :> BQ27426 FullAvailableCapacity:     1340mAh
00> [D] :> BQ27426 RemainingCapacity:         0mAh
00> [D] :> BQ27426 FullChargeCapacity:        1340mAh