Architecture
MSC8113 Reference Manual, Rev. 0
Freescale Semiconductor
17-11
Interrupt Group B has the following interrupt sources:
— Eight dedicated timers, with different timers for each SC140.
— Eight DMA channel interrupts, half of the channels connected to the LICs of SC140s 0
and 1, half to the LICs of SC140s 2 and 3.
— One global UART interrupt.
— Two global SIU interrupts from PIT and TMCNT.
— Five global
IRQ
s.
— Eight virtual system interrupts from the GIC (see Section 17.1.1.3, Virtual Interrupt
— Typically, the interrupt mapping is divided into one for DMA, one for SIU interrupts,
one for timers, and one for virtual interrupts, but any other combination is valid,
depending on the application.
Each interrupt source has the following programmable attributes:
Two bits of IMAP control field map it to one of four interrupt output lines to the PIC.
Two bits of EM (Edge Mode) select the interrupt source handling as level, edge, or dual
edge mode.
A primary status bit.
In dual edge mode, a second edge error status bit. The sum of all second edge error status
bits is sampled to generate a single second edge error detection interrupt output line to the
PIC.
For details on LIC interrupts received at the PIC, see Table 17-8.
17.1.2.1 Resolving LIC Interrupts by the SC140 Cores
The SC140 cores support counting of leading bits using the CLB instruction. This feature can be
used to achieve fast priority resolution between interrupts having the same priority level (that is,
mapped to the same PIC input). The primary priority level is separated by mapping an interrupt
source to different PIC inputs. Following is a simple SC140 core algorithm that uses both the PIC
vector system and the CLB instruction for rapid detection of the LIC interrupt source to be
serviced and for prioritizing the bit by location:
Interrupts with different primary priority levels are mapped to different PIC inputs. Each
group connects to four PIC inputs, and both groups share one PIC input for second edge
error interrupts.
While mapping and enabling a specific LIC interrupt source to a PIC input, the application
should also set the appropriate bit in the 32-bit mask value associated with that input. Each
bit set in this mask indicates that the specific LIC interrupt source is mapped to this PIC
input. At the end of this set up, each PIC-mappable input from the LIC has an associated
updated 32-bit mask value.
Summary of Contents for MSC8113
Page 1: ...MSC8113 Reference Manual Tri Core 16 Bit Digital Signal Processor MSC8113RM Rev 0 May 2008 ...
Page 20: ...MSC8113 Reference Manual Rev 0 xx Freescale Semiconductor Contents ...
Page 28: ...MSC8113 Reference Manual Rev 0 xxviii Freescale Semiconductor ...
Page 56: ...MSC8113 Reference Manual Rev 0 1 28 Freescale Semiconductor MSC8113 Overview ...
Page 76: ...MSC8113 Reference Manual Rev 0 2 20 Freescale Semiconductor SC140 Core Overview ...
Page 134: ...MSC8113 Reference Manual Rev 0 4 30 Freescale Semiconductor System Interface Unit SIU ...
Page 168: ...MSC8113 Reference Manual Rev 0 6 18 Freescale Semiconductor Boot Program ...
Page 180: ...MSC8113 Reference Manual Rev 0 7 12 Freescale Semiconductor Clocks ...
Page 260: ...MSC8113 Reference Manual Rev 0 8 80 Freescale Semiconductor Memory Map ...
Page 300: ...MSC8113 Reference Manual Rev 0 9 40 Freescale Semiconductor Extended Core ...
Page 304: ...MSC8113 Reference Manual Rev 0 10 4 Freescale Semiconductor MQBus and M2 Memory ...
Page 308: ...MSC8113 Reference Manual Rev 0 11 4 Freescale Semiconductor SQBus ...
Page 590: ...MSC8113 Reference Manual Rev 0 17 46 Freescale Semiconductor Interrupt Processing ...
Page 614: ...MSC8113 Reference Manual Rev 0 18 24 Freescale Semiconductor Debugging ...
Page 622: ...MSC8113 Reference Manual Rev 0 19 8 Freescale Semiconductor Internal Peripheral Bus IPBus ...
Page 724: ...MSC8113 Reference Manual Rev 0 21 32 Freescale Semiconductor UART ...
Page 920: ...MSC8113 Reference Manual Rev 0 25 150 Freescale Semiconductor Ethernet Controller ...
Page 1171: ...MSC8113 Reference Manual Rev 0 Freescale Semiconductor C 61 EF wait_rts P 01077FFC 9F rts 71 ...
Page 1172: ...MSC8113 Reference Manual Rev 0 C 62 Freescale Semiconductor MSC8113 Boot Code ...
Page 1202: ...MSC8113 Reference Manual Rev 0 Index 30 Freescale Semiconductor Index ...