public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS]  On ARM7 can one of FIQ/IRQ be used for non-eCos stuff?
@ 2008-04-02 16:48 Grant Edwards
  2008-04-02 16:51 ` Chris Zimman
  0 siblings, 1 reply; 22+ messages in thread
From: Grant Edwards @ 2008-04-02 16:48 UTC (permalink / raw)
  To: ecos-discuss

I've got an application where some low-level interrupt driven
stuff needs to happen with minimal latency (a hard deadline of
20us). It's an ARM7 running at 22Mhz, and preliminary
measurements indicate that the eCos ISR latency is going to be
too large.

One thought was to use IRQ for normal eCos stuff, and dedicate
FIQ to the low-latency stuff.  The theory was that since the
FIQ service routine wouldn't do anything with any eCos data
structures, it would be allowed to interrupt normal eCos ISRs.
That would allow the FIQ latency to be kept low.

From looking at the ARM/arch hal stuff, it looks like eCos
expects to handle both IRQ and FIQ interrupts.  AFAICT, all of
the interrupt sources in my part (Samsung S3C4530) can be
assigned to either IRQ or FIQ.

Is there any reason why eCos has to have control of both
interrupt sources if all of the peripherals which eCos is
handling are on just one of them?

-- 
Grant Edwards                   grante             Yow! Nipples, dimples,
                                  at               knuckles, NICKLES,
                               visi.com            wrinkles, pimples!!


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

end of thread, other threads:[~2008-04-02 21:20 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-02 16:48 [ECOS] On ARM7 can one of FIQ/IRQ be used for non-eCos stuff? Grant Edwards
2008-04-02 16:51 ` Chris Zimman
2008-04-02 17:23   ` [ECOS] " Grant Edwards
2008-04-02 17:39     ` Chris Zimman
2008-04-02 18:48       ` Grant Edwards
2008-04-02 19:21         ` Alexander Neundorf
2008-04-02 19:30           ` Andrew Lunn
2008-04-02 19:40             ` Grant Edwards
2008-04-02 19:47               ` Andrew Lunn
2008-04-02 21:12                 ` Grant Edwards
2008-04-02 19:33           ` Grant Edwards
2008-04-02 19:42             ` Andrew Lunn
2008-04-02 20:23               ` Alexander Neundorf
2008-04-02 20:59         ` Paul D. DeRocco
2008-04-02 21:20           ` Grant Edwards
2008-04-02 18:59       ` Andrew Lunn
2008-04-02 19:27         ` Grant Edwards
2008-04-02 19:35           ` Andrew Lunn
2008-04-02 19:39             ` Grant Edwards
2008-04-02 20:01         ` David Roethig
2008-04-02 20:17           ` Andrew Lunn
2008-04-02 21:15           ` Grant Edwards

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).