![NXP Semiconductors MSC8113 Скачать руководство пользователя страница 563](http://html1.mh-extra.com/html/nxp-semiconductors/msc8113/msc8113_reference-manual_1721628563.webp)
Architecture
MSC8113 Reference Manual, Rev. 0
Freescale Semiconductor
17-19
To mask interrupts up to a specified priority level, set the selected priority level in the SC140
status register via the interrupt mask bits I[2–0]. The core handles only
NMI
signals, or interrupts
with an IPL higher than the current interrupt mask value. At reset these bits are set, and all
interrupts are disabled. The interrupt mask bits, I2, I1 and I0, reflect the current IPL of the SC140
core. Refer to the SC140 DSP Core Reference Manual for details on the SC140 core status
registers. The interrupt programming model consists of:
Setting the interrupt table base address in the VBA Register
Programming the PIC ELIRx Registers
Masking interrupts in the core status register
Programming the interrupt service routines in the appropriate addresses starting from the
base address in VBA.
The memory allocation for each interrupt routine is 64 bytes, which constitutes four program
fetches. SC140 instructions are encoded as two to four bytes, with a minimum instruction size of
one word. An average of 20 instructions can be held in the allocated memory area. To further
extend the code size, the use of service routines is recommended, as shown in the example in
Section 17.2.3, Clearing Pending Requests. The address calculation is based on the VBA
Register and the VAB vector, as shown in Figure 17-5.
Table 17-8 summarizes the routing of MSC8113 interrupts. Unless stated otherwise, all
IRQ
signals are level-triggered. For details on
IRQ
and
NMI
signals, refer to the relevant chapters The
PIC handles interrupts
IRQ[0–23]
and
NMI[0–7]
.
Address bits
0
1
2
3
4
5
6
7
8
9
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
VBA[31–12]
VAB[5–0]
0
0
0
0
0
0
Figure 17-5. Interrupt Service Routine Address Construction
Table 17-8. MSC8113 Interrupt Routing
VAB[0–5]
Signal
Description
Service Routine
Address (Offset from
VBA)
0x0
TRAP
Internal exception (generated by trap instruction)
0x0
0x1
—
Reserved
0x40
0x2
ILLEGAL
Illegal instruction or set
1
0x80
0x3
DEBUG
Debug exception (EOnCE)
0xC0
0x4
OVERFLOW
Overflow exception (DALU)
0x100
0x5
—
Reserved
0x140
0x6
DEFAULT NMI
In VAB disabled mode only
0x180
0x7
DEFAULT IRQ
In VAB disabled mode only
0x1C0
0x8–0x1F
—
Reserved
0x200–0x7FF
0x20
IRQ0
Ethernet Ring 0 receive frame event
0x800
0x21
IRQ1
Ethernet Ring 1 receive frame event
0x840
Содержание MSC8113
Страница 1: ...MSC8113 Reference Manual Tri Core 16 Bit Digital Signal Processor MSC8113RM Rev 0 May 2008 ...
Страница 20: ...MSC8113 Reference Manual Rev 0 xx Freescale Semiconductor Contents ...
Страница 28: ...MSC8113 Reference Manual Rev 0 xxviii Freescale Semiconductor ...
Страница 56: ...MSC8113 Reference Manual Rev 0 1 28 Freescale Semiconductor MSC8113 Overview ...
Страница 76: ...MSC8113 Reference Manual Rev 0 2 20 Freescale Semiconductor SC140 Core Overview ...
Страница 134: ...MSC8113 Reference Manual Rev 0 4 30 Freescale Semiconductor System Interface Unit SIU ...
Страница 168: ...MSC8113 Reference Manual Rev 0 6 18 Freescale Semiconductor Boot Program ...
Страница 180: ...MSC8113 Reference Manual Rev 0 7 12 Freescale Semiconductor Clocks ...
Страница 260: ...MSC8113 Reference Manual Rev 0 8 80 Freescale Semiconductor Memory Map ...
Страница 300: ...MSC8113 Reference Manual Rev 0 9 40 Freescale Semiconductor Extended Core ...
Страница 304: ...MSC8113 Reference Manual Rev 0 10 4 Freescale Semiconductor MQBus and M2 Memory ...
Страница 308: ...MSC8113 Reference Manual Rev 0 11 4 Freescale Semiconductor SQBus ...
Страница 544: ...MSC8113 Reference Manual Rev 0 16 46 Freescale Semiconductor Direct Memory Access DMA Controller ...
Страница 590: ...MSC8113 Reference Manual Rev 0 17 46 Freescale Semiconductor Interrupt Processing ...
Страница 614: ...MSC8113 Reference Manual Rev 0 18 24 Freescale Semiconductor Debugging ...
Страница 622: ...MSC8113 Reference Manual Rev 0 19 8 Freescale Semiconductor Internal Peripheral Bus IPBus ...
Страница 724: ...MSC8113 Reference Manual Rev 0 21 32 Freescale Semiconductor UART ...
Страница 920: ...MSC8113 Reference Manual Rev 0 25 150 Freescale Semiconductor Ethernet Controller ...
Страница 1171: ...MSC8113 Reference Manual Rev 0 Freescale Semiconductor C 61 EF wait_rts P 01077FFC 9F rts 71 ...
Страница 1172: ...MSC8113 Reference Manual Rev 0 C 62 Freescale Semiconductor MSC8113 Boot Code ...
Страница 1202: ...MSC8113 Reference Manual Rev 0 Index 30 Freescale Semiconductor Index ...