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

bq40rz50-r1

你好,

         请教cmd 0x44 0X0056数据位变更,MCU对SMBus block怎么操作,我们按照一下还是有问题,能否举例,谢谢

Example: Read Chemical ID() (0x0006) via ManufacturerBlockAccess() 1. Send Chemical ID() to ManufacturerBlockAccess(). a. SMBus block write. Command = 0x44. Data sent = 06 00 (Data must be sent in Little Endian.) 2. Read the result from ManufacturerBlockAccess(). a. SMBus block read. Command = 0x44. Data read = 06 00 00 01 (Each data entity is returned in Little Endian.) b. The first 2 bytes, “06 00”, is the MAC command. c. The second 2 bytes, “00 01”, is the chem ID returning in Little Endian. That is 0x0100, chem ID 100.

Star Xu:

您参考文档SMBUS Made Simple App note
www.ti.com/…/slua475.pdf

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