We disable the audio driver from menu config in kernel, the data range above works fine,
Hence we came up near to solution:
a. Master has sent NAK but before sending STOP bit SDA line is held low by either master, sgtl5000 or other i2c slave with address 0x1e/0x1f
b. but after disabling audio driver, i2c transaction working well with all this i2c data 0x0a80-- 0x0aFF including this range, no bus error is observed kept under long run 1 day test
Anyone please provide solution for further move. still stuck here
That SPI communication can't do right now,
if both i2c slaves have identical address, they will not work well.
Both slave address are different 0x0A & 0x0F.
Hi shashikant
one can try to narrow down issue (check if this is caused by linux)
testing with baremetal sgtl5000 obds test (audio folder)
On-Board Diagnostic Suit for the i.MX28
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Yes this is caused by Linux confirmed by removing the sgtl5000 chip, then ran the both i2c application, everything is normal,
1. if i2c ran on either if slave runs perfectly,
2. If second slave only ran then perfect
3.if sgtl5000 chip only ran then perfect
4. When both ran, then only problem...
one can recheck that i2c address is different for both slaves and use for example
spi option for other slave.
Best regards
igor