Re: tricky challenge for getting round level-driven interrupt problem: help!

From: Luke Kenneth Casson Leighton
Date: Thu May 05 2005 - 06:25:45 EST


On Wed, May 04, 2005 at 10:43:35PM +0100, Alan Cox wrote:

> > hence the redesign to do alternate read-write-read-write, and making
> > reads exclusive of writes, etc.
>
> and maybe even turn the IRQ off and use a timer if its slow and not
> sensitive to latency.. ?

good suggestion...

been there, tried that [i really _am_ sending to lkml as
last resort, not first!]

jiffies equals approx 250? per second?

baud rate from PIC is determined by GPS - 4800 baud - approx
600 per second.

so that'd explain why i only got one character every 3.

*cold sweat*.

i could always use the FIQ, which will be running off the back
of the Audio DAC/ADC's interrupts, 8khz....

*shudder*...

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/