Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
CS 220 / ARM / ARM7TDMI_TechnicalReferenceManual.pdf
Скачиваний:
102
Добавлен:
16.04.2015
Размер:
1.63 Mб
Скачать

Programmer’s Model

2.9Interrupt latencies

The calculations for maximum and minimum latency are described in:

Maximum interrupt latencies

Minimum interrupt latencies.

2.9.1Maximum interrupt latencies

When FIQs are enabled, the worst-case latency for FIQ comprises a combination of:

The longest time the request can take to pass through the synchronizer, Tsyncmax (four processor cycles).

The time for the longest instruction to complete, Tldm. The longest instruction, is an LDM which loads all the registers including the PC. Tldm is 20 cycles in a zero wait state system.

The time for the Data Abort entry, Texc (three cycles).

The time for FIQ entry, Tfiq (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.2Minimum interrupt latencies

The minimum latency for FIQ or IRQ is the shortest time the request can take through the synchronizer, Tsyncmin, plus Tfiq, a total of five processor cycles.

ARM DDI 0029G

Copyright © 1994-2001. All rights reserved.

2-23

Соседние файлы в папке ARM