Programmer’s Model
ARM DDI 0210C
Copyright © 2001, 2004 ARM Limited. All rights reserved.
2-23
2.9
Interrupt latencies
The calculations for maximum and minimum latency are described in:
•
Maximum interrupt latencies
•
Minimum interrupt latencies
.
2.9.1
Maximum interrupt latencies
When FIQs are enabled, the worst-case latency for FIQ comprises a combination of:
T
syncmax
The longest time the request can take to pass through the synchronizer.
T
syncmax
is four processor cycles.
T
ldm
The time for the longest instruction to complete. The longest instruction
is an LDM that loads all the registers including the PC. T
ldm
is 20 cycles
in a zero wait state system.
T
exc
The time for the Data Abort entry. T
exc
is three cycles.
T
fiq
The time for FIQ entry. T
fiq
is two cycles.
The total latency is therefore 29 processor cycles, just over 0.7 microseconds in a
system that uses a continuous 40MHz processor clock. At the end of this time, the
ARM7TDMI processor executes the instruction at
0x1c
.
The maximum IRQ latency calculation is similar, but must allow for the fact that FIQ,
having higher priority, can delay entry into the IRQ handling routine for an arbitrary
length of time.
2.9.2
Minimum interrupt latencies
The minimum latency for FIQ or IRQ is the shortest time the request can take through
the synchronizer, T
syncmin
, plus T
fiq
, a total of five processor cycles.
Summary of Contents for ARM7TDMI
Page 6: ...Contents vi Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Page 10: ...List of Tables x Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Page 14: ...List of Figures xiv Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Page 46: ...Introduction 1 26 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Page 120: ...Coprocessor Interface 4 18 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Page 142: ...Debug Interface 5 22 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...
Page 282: ...Glossary Glossary 6 Copyright 2001 2004 ARM Limited All rights reserved ARM DDI 0210C ...