<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi All</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
    I use the i2cget to read the device data, but the i2cset did not write the data to the device, and the operation of i2cset did not report any errors.<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
for example:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>root@starlake-bmc:/usr/sbin# i2cget 9 0x10 0x00 i 3<br>
</span>
<div>WARNING! This program can confuse your I2C bus, cause data loss and worse!<br>
</div>
<div>I will read from device file /dev/i2c-9, chip address 0x10, data address<br>
</div>
<div>0x00, 3 bytes using read I2C block data.<br>
</div>
<div>Continue? [Y/n]<br>
</div>
<div>3: 0x02 0x32 0xcc<br>
</div>
<div><br>
</div>
<div>root@starlake-bmc:/usr/sbin# i2cset 9 0x10 0x82 0x0101 2<br>
</div>
<div>WARNING! This program can confuse your I2C bus, cause data loss and worse!<br>
</div>
<div>I will read from device file /dev/i2c-9, chip address 0x10, data address<br>
</div>
<span>0x00, using read word data.</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif" size="3">when </font><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif"><span style="caret-color: rgb(0, 0, 0);">I</span></font><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif" size="3"> check
 the 0x82 regŁ¬the value is not changed.</font></div>
<div><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif" size="3"><br>
</font></div>
<div><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif" size="3">Thanks</font></div>
<div><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif" size="3">harley</font></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
</body>
</html>