Part Number:BQ27Z746Other Parts Discussed in Thread: BQSTUDIO
BQ27Z746 哪种格式golden image文件会包含以下Protector calibtation 校准过的类容?想要把Protector calibtation 校准过的类容保存到golden image怎么实现?
Star Xu:
您好,The calibration values are part of the firmware image and therefore programming firmware will change it.
SREC文件应该包含calibration value
,
q:
实际测试SREC文件不包含Protector calibtation 的参数,烧录srec并不会按照校准过的Protector进行更改
,
Star Xu:
您好,srec不包含硬件校准参数,但包含基于固件的保护参数。您可以使用bqStudio导出校准参数,然后在固件更新后在Data Memory中手动写入。
,
q:
HI star
. 红线标识部分的校准值,没有存储在Data memory中。在DATA Memory中手动写入是没有作用的。但是实际生产中又不可能每个产品都去做这部分的校准。所以想确认,怎样才能把这部分的校准保存到golden image中?据我了解,有部分厂商是可以把红线标识部分的校准值保存到golden image中,只是还不清楚他们是怎么操作的。
,
Star Xu:
您好,正在询问更了解这款芯片的TI工程师,稍后回复。
,
Star Xu:
您好,请参考下面的内容
The data memory value does not affect the actual value of the protection set, there is a separate secure memory location for the protection that is not apart of the golden image files and needs to be added.
There are 2 options, they can calibrate each gauge in production with a reference voltage for high accuracy, or they can use the protector tuning function for lower accuracy but can just write to the register in production instead of needing a reference voltage.
Sounds like they need option 2 which is using the protector tuning. To use this option they need to have a new gauge and set the protection values desired via the protector tuning method. They can not use a gauge that has previously been set using protector threshold. They can then read these values out via register F0A2, this can be done with Advanced Comm in BQStudio.
I2C address: AA
Starting register: 3E
A2 F0 write then read
They will get something like this:
A2 F0 01 00 0E 23 20 08 08 08 09 08 5F 5F 43 5B 32 04 5B 5C 5B 5C 08 08 10 17 07 08 09 11 09 11 00 00 78 22
The bolded values are the actual protection values set on the gauge bytes 10~19
In production they need to write only these values to all gauges. Its very important to only write bytes 10~19 and to not corrupt the surrounding reserved bytes