2010-05-15 09:23:31 i2c driver in kernel
Appalayagari Sreedhar (INDIA)
Message: 89433
Hi,
I am working with a Blackfin BF533 based custom board 2009R1-RC1 distribution. audio codec is i2c interfaded.
i2c emulation using the PF0 and PF1 pins. I have written the i2c driver for the codec chip. when kernel boots the following message displays and it is not calling the chip detect function (detect_client function).
i2c-core: driver [adav803] registered
adav803.c: starting probe for adapter i2c-gpio0(0x0)
i2c-adapter i2c-0: NAK from device addr 0x26 msg #0
The codec diagnostics are tested (i2c communication is success) and it is fine, so there is no problem with the hw.
Could you please let me know what i am missing? which causes the chip detect function is not called.
Thank you, Sreedhar
QuoteReplyEditDelete
2010-05-17 01:19:25 Re: i2c driver in kernel
Mike Frysinger (UNITED STATES)
Message: 89465
you already see the reason for the chip detect not being called:
i2c-adapter i2c-0: NAK from device addr 0x26 msg #0
you'll have to figure out why that error is coming up
QuoteReplyEditDelete
2010-05-17 04:05:13 Re: i2c driver in kernel
Michael Hennerich (GERMANY)
Message: 89476 NAK means Not Acknowledged.
Either your HW connection is wrong or you using the wrong device address.
-Michael