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

官方文档中用0x00放送,接收的时候为啥要0x06?例子如下

Example: Send a MAC Gauging() to enable/disable firmware control of the CHG/DSG/PCHG FETs via
ManufacturerBlockAccess().
1. With firmware control of the CHG/DSG/PCHG FETs enabled, send Gauging() (0x0022) to
ManufacturerBlockAccess().
(a) SMBus word write. Command = 0x00. Data = 00 22
2. FET Control is disabled, ManufacturingStatus()[FET_EN] = 0.
Example: Read HardwareVersion() (0x0003) via ManufacturerBlockAccess()
1. Send HardwareVersion() to ManufacturerBlockAccess().
(a) SMBus block write. Command = 0x00. Data sent = 00 03
2. Read the result from ManufacturerData().
(a) SMBus block read. Command = 0x06. Data read = 00 01
(b) That is 0x0100, HardwareVersion() 100.

user6129231:

user6129231

BQ4050的参考文档:

Example: Send a MAC Gauging() to enable/disable firmware control of the CHG/DSG/PCHG FETs viaManufacturerBlockAccess().1. With firmware control of the CHG/DSG/PCHG FETs enabled, send Gauging() (0x0022) toManufacturerBlockAccess().(a) SMBus word write. Command = 0x00. Data = 00 222. FET Control is disabled, ManufacturingStatus()[FET_EN] = 0.Example: Read HardwareVersion() (0x0003) via ManufacturerBlockAccess()1. Send HardwareVersion() to ManufacturerBlockAccess().(a) SMBus block write. Command = 0x00. Data sent = 00 032. Read the result from ManufacturerData().(a) SMBus block read. Command = 0x06. Data read = 00 01(b) That is 0x0100, HardwareVersion() 100.

Star Xu:

回复 user6129231:

这是印刷错误,It should be 0x23 which is ManufacturerData().

赞(0)
未经允许不得转载:TI中文支持网 » 官方文档中用0x00放送,接收的时候为啥要0x06?例子如下
分享到: 更多 (0)