Subject: Re: MPC823: i2c-algo-8xx read interrupt?

From: "[email-masked]" <[email-masked]>
Date: Mon, 11 Feb 2002 13:13:05 +0100

>
> > .....  Alternatively, turn off the TX
> > interrupt and use the RX interrupt instead....
>
I turned of the TX interrupt and used the RX interrupt, and this very often works :(
But not always. Approx. one out of 300 reads (reading one byte off a I2C expander chip)
the RX interrupt gets 'lost' (in the CPM?). Maybe the distance in time between the RX
and TX internal interrupt flags get to close and one of them wins? Or something like
Wolgang Denk found in RISC timers overwriting port B data register, but now parts
of the RISC software competing for the I2CER?

Anyway, I now use the TX interrupt again because the RX is not reliable.

	Bart

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/