Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

FIQ Interrupt latency

FIQ Interrupt latency

2004-02-02 by Brian C. Lane

Does anyone have information on how many CPU cycles it takes to get into 
and out of a FIQ interrupt? Does it matter what interrupt triggered it? 
I'm trying to calculate interrupt overhead.

Thanks,

Brian

-- 
-----------------------------------------------------
Brian C. Lane (W7BCL)                      Programmer
www.shinemicro.com   RF, DSP & Microcontroller Design

Re: [lpc2100] FIQ Interrupt latency

2004-02-02 by microbit

Hi Brian,

The document DDI0029_7TDMI_trm.pdf explains the minimum and maximum
interrupt latencies
in Section 2.9 for FIQs and IRQs, which is 5-29 cycles for time till entry
at the vector's first instruction.
The 29 cycles account for worst case LDM instruction that loads all
registers + PC (20 cycles in
Zero Wait State)

Someone very recently posted about a newer document I think that applies to
LPC2100.

-- Kris
Show quoted textHide quoted text
> Does anyone have information on how many CPU cycles it takes to get into
> and out of a FIQ interrupt? Does it matter what interrupt triggered it?
> I'm trying to calculate interrupt overhead.
>
> Thanks,
>
> Brian
>
> --
> -----------------------------------------------------
> Brian C. Lane (W7BCL)                      Programmer
> www.shinemicro.com   RF, DSP & Microcontroller Design

Re: [lpc2100] FIQ Interrupt latency

2004-02-03 by Brian C. Lane

microbit wrote:
> Hi Brian,
> 
> The document DDI0029_7TDMI_trm.pdf explains the minimum and maximum
> interrupt latencies
> in Section 2.9 for FIQs and IRQs, which is 5-29 cycles for time till entry
> at the vector's first instruction.
> The 29 cycles account for worst case LDM instruction that loads all
> registers + PC (20 cycles in
> Zero Wait State)

I found DDI0234A_7TDMIS_R4.pdf from the ARM website (ARM7 TDMI-S core 
document) and it says the worst case is 27 cycles. Still haven't sorted 
out the return cycle count, it looks like it uses a SUB instruction?

> 
> Someone very recently posted about a newer document I think that applies to
> LPC2100.
> 

I'd be interested in seeing that as well.

Brian

-- 
-----------------------------------------------------
Brian C. Lane (W7BCL)                      Programmer
www.shinemicro.com   RF, DSP & Microcontroller Design

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.