Re: Synchronization between ISR and IST - I2C Based device
- From: "Srivathsan" <srivathsan.a@xxxxxxxxx>
- Date: 29 Dec 2006 00:43:08 -0800
Hi Greats
We solved the problem by masking the UART Interrupt on every read /
Write Operation.
The logic is
Read / Write Smbus()
{
EnterCriticalSection()
InterruptMask(UART_INTERRUPT, TRUE)
SMBus Read / Write Operation
InterruptMask(UART_INTERRUPT, FALSE)
LeaveCriticalSection()
}
Now the Interrupt is being masked and the ISR will not occur when the
bus is being accessed. Since the UART is producing only Level Interrupt
it will not be cleared and will not process any more interrupts. Thus
when the bus access is finished the interrupt is served immediately.
Thanks
Mams and Team
.
- Follow-Ups:
- Re: Synchronization between ISR and IST - I2C Based device
- From: bluesphere
- Re: Synchronization between ISR and IST - I2C Based device
- From: Remi de Gravelaine
- Re: Synchronization between ISR and IST - I2C Based device
- From: Remi de Gravelaine
- Re: Synchronization between ISR and IST - I2C Based device
- References:
- Synchronization between ISR and IST - I2C Based device
- From: Mams
- Re: Synchronization between ISR and IST - I2C Based device
- From: Geoff
- Re: Synchronization between ISR and IST - I2C Based device
- From: Srivathsan
- Re: Synchronization between ISR and IST - I2C Based device
- From: Steve Maillet \(eMVP\)
- Re: Synchronization between ISR and IST - I2C Based device
- From: Srivathsan
- Re: Synchronization between ISR and IST - I2C Based device
- From: Steve Maillet \(eMVP\)
- Re: Synchronization between ISR and IST - I2C Based device
- From: Remi de Gravelaine
- Re: Synchronization between ISR and IST - I2C Based device
- From: Steve Maillet \(eMVP\)
- Re: Synchronization between ISR and IST - I2C Based device
- From: Remi de Gravelaine
- Re: Synchronization between ISR and IST - I2C Based device
- From: Steve Maillet \(eMVP\)
- Re: Synchronization between ISR and IST - I2C Based device
- From: Remi de Gravelaine
- Re: Synchronization between ISR and IST - I2C Based device
- From: Steve Maillet \(eMVP\)
- Re: Synchronization between ISR and IST - I2C Based device
- From: Remi de Gravelaine
- Synchronization between ISR and IST - I2C Based device
- Prev by Date: Re: some question about WM5 update loader
- Next by Date: Re: about samsung smdk2440 sd driver questions
- Previous by thread: Re: Synchronization between ISR and IST - I2C Based device
- Next by thread: Re: Synchronization between ISR and IST - I2C Based device
- Index(es):
Relevant Pages
|
|