Re: Synchronization between ISR and IST - I2C Based device
- From: "Remi de Gravelaine" <gravelaine at aton dash sys dot fr>
- Date: Fri, 29 Dec 2006 12:22:29 +0100
Hi,
As everyone here pointed-out before, this is a really ugly solution.
Furthermore, I am not sure at all that it works.
Does the ISR really call *this* code?
If yes, what happens when a DUART interrupt is pending while you execute
"InterruptMask(UART_INTERRUPT, FALSE)"? What happens when the ISR tries to
EnterCriticalSection?
If no, how do you prevent the I2C bus from being used by both the ISR and
driver code?
You should really tell us more about the way the whole thing is supposed to
work.What is really doing your ISR? How is the SMBus/I2C bus used (how many
I2C slave devices being operated at the same time)? How are your UART used?
Remi
.
- 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
- Re: Synchronization between ISR and IST - I2C Based device
- From: Srivathsan
- Synchronization between ISR and IST - I2C Based device
- Prev by Date: Multiple frame buffer support in Display driver
- Next by Date: Re: Conversion of YCbCr (4:2:2) to jpeg
- 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
|
|