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.

BQ34Z100-G1: Manuf Date 的计算公式

Part Number: BQ34Z100-G1
Other Parts Discussed in Thread: BQ34Z100

TI的工程师们,你们好:

我在使用BQ34Z100标定Configuration->Data->Manuf Date 的过程中,根据公式“Day+Mo*32+(Yr - 1980)*256”计算写入的值;

如:通过代码标定为2023-7-4,则写入值则为 4+7*32+(2023 - 1980)*256 = 0x2BE4;写入后通过BatteryManagementStudio读回显示为“1996-12-1”

当通过BatteryManagementStudio标定为2023-7-4时,从Data memory中读回的值为“0xE456”;

请问计算公式“Day+Mo*32+(Yr - 1980)*256”是否正确?如果不正确,那正确的计算公式是如何的?

期待你们的回复,谢谢!