Synchronization between ISR and IST - I2C Based device
- From: "Mams" <avk_spy@xxxxxxxxx>
- Date: 22 Dec 2006 09:55:39 -0800
Dear Greats,
We are using dual I2C Philips UART with single interrupt line source.
We have implemented ISR that reads the Interrupt Status Register
through I2C communication and resolves the proper UART1/UART2 logical
interrupt.
We having 3 devices communicating in I2C line from application layer
continuously. We are using I2C drivers (with critical sections in
place) to restrict I2C bus access.
The problem we are facing one of the device holds the I2C bus longer
time and if an interrupt comes from I2C UART. Then the ISR service may
not get the bus and the ISR will wait for bus release (dead lock occurs
here and the system hangs).
We like to know how to getrid of this deadlock condition by
1. applying any intermediate level driver (Which will resolve the
interrupt (UART1/UART2) in the driver level)
2. any mechanism to have synchronization between ISR and Driver
3. Sharing of interrupts
Kindly provide us some information, we are in high pressure.
With regards,
mams
.
- Follow-Ups:
- Prev by Date: Re: WINCE hang
- Next by Date: Re: Wince Migration howto
- Previous by thread: PEAP + MSChapV2 problem
- Next by thread: Re: Synchronization between ISR and IST - I2C Based device
- Index(es):
Relevant Pages
|
Loading