public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Moving serial processing into ISR..
@ 2001-02-13  8:18 David Airlie
  2001-02-13 10:09 ` Robin Farine
  0 siblings, 1 reply; 2+ messages in thread
From: David Airlie @ 2001-02-13  8:18 UTC (permalink / raw)
  To: ecos-discuss

Has anyone ever moved the serial processing for a driver from the DSR into
the ISR, and if so has anyone got any examples of this, or a quick note on
what not do to do while trying this ..

Dave.

-- 
      David Airlie, Software Engineer, Parthus Technologies plc.,
       Mary Rosse Centre, National Tech Park, Limerick, Ireland.
   t: +353-61-508116 / f: +353-61-508101 / David.Airlie@parthus.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] Moving serial processing into ISR..
  2001-02-13  8:18 [ECOS] Moving serial processing into ISR David Airlie
@ 2001-02-13 10:09 ` Robin Farine
  0 siblings, 0 replies; 2+ messages in thread
From: Robin Farine @ 2001-02-13 10:09 UTC (permalink / raw)
  To: ecos-discuss

"David Airlie" <David.Airlie@parthus.com> writes:

> Has anyone ever moved the serial processing for a driver from the DSR into
> the ISR, and if so has anyone got any examples of this, or a quick note on
> what not do to do while trying this ..

If you need this than I guess you have a dumb UART without FIFO and loose
characters at speeds higher than 9600 bps ... I had once to deal with such a
problem. My solution implemented a software FIFO (aka ring buffer) shared
between the ISR and the DSR; the ISR just took characters out of the UART data
register and added them to the ring (about 12 MIPS instructions) while the DSR
performed the rest of the work.

HTH

Robin

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-02-13 10:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-13  8:18 [ECOS] Moving serial processing into ISR David Airlie
2001-02-13 10:09 ` Robin Farine

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).