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.

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

Other Parts Discussed in Thread: BQ4050

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 说:

    BQ4050的参考文档:

    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.

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