2.6.29 unexplained delay seen in i2c-imx.c driver

Priscilla Wong <[email protected]>
Newsgroups gmane.linux.uclinux.devel
Message-ID <[email protected]>

Can someone help me on an issue I am seeing on my i2c-imx driver for
uClinux 2.6.29?

Attached is a scope capture of an i2c read operation.  In the capture,
yellow is clock, green is data, blue and pink are both gpios I am using
for debugging.  It can be seen that there is a 300 us delay after master
writes to the slave address. The transfer is complete when the interrupt
arrives and waitqueue is woken up. The pink gpio fires high during the
transfer complete call (i2c_imx_trx_complete) after the slave address is
written. The blue gpio fires high during the queue wake up call in the
ISR (i2c_imx_isr). When looking at this capture, my first inclination is
to bump the interrupt level and priority, hoping it will speed up the
ISR but it had no effect on the delay.

Any ideas what is causing this delay?

Thanks,
Priscilla

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
scope_14.png (image/png, 33 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.