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.

[参考译文] BQ2.7742万EVM:BQ2.7742万-G1

Guru**** 651100 points
Other Parts Discussed in Thread: EV2400
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/1100128/bq27742evm-bq27742-g1

部件号:BQ2.7742万EVM
主题中讨论的其他部件:EV2400

您好,

我尝试更新闪存设计容量,按照bq2.7742万技术数据表中的说明,设计相应子类48的电压参数。 但是,当我也只想更新这些值时,我发现剩余值也会发生变化。 这是我正在处理的示例代码。 如何仅更改我要更改的值。 感谢您的任何帮助。

UINT8_t块[32];
//更新设计电压
block[0]=(uint8_t)(设计电压>>8);
block[1]=(uint8_t)(设计电压和0x00FF );
//更新设计容量
block[12]=(uint8_t)( designCapacity_mAh >>8);
block[13]=(uint8_t)(设计Capacity_mAh & 0x00FF );
//写入数据字节:
(i = 0;i < 32;I++)

//写入偏移,如果偏移大于32,则修改32
//上面的blockDataOffset设置了32位块
writeBlockData((0% 32)+I,block[i]);
}

提前感谢您,

Kavya。