TI中文支持网
TI专业的中文技术问题搜集分享网站

BQ4050,BQ27Z561

请教TI的工程师:BQ27z561和BQ4050自己能不能设置密码,如何设置,

Star Xu:

BQ4050 的TRM 有详细的介绍
The default UNSEAL key is 0x0414 and 0x3672. The default FULL ACCESS key is 0xFFFF and 0xFFFF.
It is highly recommended to change the UNSEAL and FULL ACCESS keys from default.
The keys can only be changed through the ManufacturerBlockAccess().
Example: Change UNSEAL key to 0x1234, 0x5678, and leave the FULL ACCESS as default.
Send an SMBus block write with Command = 0x44.
Data = MAC command + New UNSEAL key + New FULL ACCESS KEY
= 35 00 34 12 78 56 FF FF FF FF
BQ27Z561 密码修改请参考TRM
13.2.16 AltManufacturerAccess() 0x0035 Security Keys
This is a read/write command that changes the Unseal and Full Access keys. To read the keys, send the
SecurityKeys() command to either the AltManufacturerAccess() 0x00 or 0x3E, followed by a read from
AltManufacturerAccess().
To change the keys, the write operations must be sent through AltManufacturerAccess() 0x3E with the
SecurityKeys() followed by the keys. Each parameter entry must be sent in Little Endian.
Example:
Changing the Unseal key to 0x0123, 0x4567 and the Full Access key to 0x89AB, 0xCDEF:
Byte 0: Unseal Key LSB
Byte 1: Unseal Key MSB
Byte 2: Full Access Key LSB
Byte 3: Full Access Key MSB
Write block: command through AltManufacturerAccess() starting address 0x3E, data block (hex) = [35 00
23 01 67 45 AB 89 EF CD].
Starting address 0x60, data block(hex) = [0A 0C] (checksum followed by length)
Checksum = 0x0A = ~(0x35 + 0x00 + 0x23 + 0x01 + 0x67 + 0x45 + 0xAB + 0x89 + 0xEF + 0xCD). The
checksum is the 8-bit sum of the MSB and LSB of the command plus the (command length) bytes in the
buffer. The final sum is the bitwise inversion of the result.

user5844138:

回复 Star Xu:

这个英文翻译后还是理解不了,还是要TI工程师指导,谢谢

赞(0)
未经允许不得转载:TI中文支持网 » BQ4050,BQ27Z561
分享到: 更多 (0)