Hello Yashi,<div><br></div><div><br></div><div>Thank you very much for the response</div><div><br></div><div>I have the armadillo board acting as a master and I want to communicate with another board(audio sensor STM32 ARM) acting as slave.</div>
<div><br></div><div>The slave (audio) device is the 0x18 and this cannot be changed. So, I configure in master's side the slave address to 0x18. Of course I can change the value via ioctl, but I can't access the slave's device. </div>
<div>The first time I send a data_block using the i2c_smbus_write_block(), the reception is ok but after this procedure</div><div>I can not read or write. The clock line is low and the SDA remains high. According to the protocol, this is a clock stretching phenomenon and everithing stops working. Every write or read I execute, an error is returned back. I also checked the mxc_i2c.c file to understand the procedure of transmission and reception. I observed a right first data trans. but after that a kernel message of "Bus arbitration lost" was rising.</div>
<div><br></div><div>Thanks in advance,</div><div><br></div><div>Dimitris</div><div><br><br><div class="gmail_quote">2010/7/14 Yasushi SHOJI <span dir="ltr"><<a href="mailto:yashi@atmark-techno.com">yashi@atmark-techno.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">At Tue, 13 Jul 2010 08:01:33 -0700,<br>
<div class="im">Dimitris Tsiougkos wrote:<br>
><br>
> To be more specific, I want to communicate with a device (in address 0x18)<br>
> which receives a command like 0x2 0x1 0x1 and sends a response<br>
> like 0x3 0x1 0x0 0x1. The problem is in master reception when the SDA<br>
> remains high and the SCL is LOW. Form the I2C spec, the arbitration is lost.<br>
<br>
</div>is it possible to change the device address from 0x18 to something<br>
else? in other words, does any of i2c device react on the address<br>
0x18?<br>
<font color="#888888">--<br>
yashi<br>
<br>
_______________________________________________<br>
armadillo mailing list<br>
<a href="mailto:armadillo@lists.atmark-techno.com">armadillo@lists.atmark-techno.com</a><br>
<a href="http://lists.atmark-techno.com/cgi-bin/mailman/listinfo/armadillo" target="_blank">http://lists.atmark-techno.com/cgi-bin/mailman/listinfo/armadillo</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Ing. Dimitris Tsiougkos<br><br>
</div>