I experienced a strange problem with I2Cbus on S3C2410, on 2.6.32<br>I'm using I2C to communicate with a WM8731 codec. On the same bus chain I have a DS1338 RTC.<br>I typically send 3-bytes messages (write only) to the codec, to write internal registers.<br>
Quite often (let's say about every 20 messages) the transmission locks at 3rd (sometimes at 2nd) byte:<br>only 8 bits are transmitted, but no 9th clock (for ack bit) is generated.<br>SDA remains low and SCL remains high, so I think the problem is not on the codec, but on the S3C2410.<br>
Probably the codec is driving SDA low to transmit ACK, because it's waiting for 9th SCL pulse.<br>After locking, the regs are:<br>IICCON=0xE1, IICSTAT=0x30, IICADD=0x10, IICDS=0x00.<br>Had anyone a similar problem ? Any hints ?<br>
Thank you<br><font color="#888888">Davide Rizzo<br></font>