Interrupt Controller Modules
MCF52277 Reference Manual, Rev. 1
15-2
Freescale Semiconductor
space within the interrupt controller. The fetched data provides an index into the exception vector table
that contains 256 addresses, each pointing to the beginning of a specific exception service routine. In
particular, vectors 64 - 255 of the exception vector table are reserved for user interrupt service routines.
The first 64 exception vectors are reserved for the processor to manage reset, error conditions (access,
address), arithmetic faults, system calls, etc. After the interrupt vector number has been retrieved, the
processor continues by creating a stack frame in memory. For ColdFire, all exception stack frames are 2
longwords in length, and contain 32 bits of vector and status register data, along with the 32-bit program
counter value of the instruction that was interrupted (see
Section 3.3.3.1, “Exception Stack Frame
for more information on the stack frame format). After the exception stack frame is stored in
memory, the processor accesses the 32-bit pointer from the exception vector table using the vector number
as the offset, and then jumps to that address to begin execution of the service routine. After the status
register is stored in the exception stack frame, the SR[I] mask field is set to the level of the interrupt being
acknowledged, effectively masking that level and all lower values while in the service routine.
The processing of the interrupt acknowledge cycle is fundamentally different than previous 68K/ColdFire
cores. In this approach, all IACK cycles are directly managed by the interrupt controller, so the requesting
peripheral device is not accessed during the IACK. As a result, the interrupt request must be explicitly
cleared in the peripheral during the interrupt service routine. For more information, see
“Interrupt Vector Determination
ColdFire processors guarantee that the first instruction of the service routine is executed before sampling
for interrupts is resumed. By making this initial instruction a load of the SR, interrupts can be safely
disabled, if required.
For more information on exception processing, see the
ColdFire Programmer’s Reference Manual
at
http://www.freescale.com/coldfire
15.2
Memory Map/Register Definition
The register programming model for the interrupt controllers is memory-mapped to a 256-byte space. In
the following discussion, there are a number of program-visible registers greater than 32 bits in size. For
these control fields, the physical register is partitioned into two 32-bit values: a register high (the upper
longword) and a register low (the lower longword). The nomenclature <reg_name>H and <reg_name>L
is used to reference these values.
The registers and their locations are defined in
. The base addresses for the interrupt controllers
are listed below.
Table 15-1. Interrupt Controller Base Addresses
Interrupt Controller Number
Base Address
INTC0
0xFC04_8000
INTC1
0xFC04_C000
Global IACK Registers Space
1
1
This address space only contains the global SWIACK and global L1ACK-L7IACK registers. See
Section 15.2.10, “Software and Level 1–7 IACK Registers (SWIACKn, L1IACKn–L7IACKn)
" for more
information
0xFC05_4000
Summary of Contents for MCF52277
Page 22: ...MCF52277 Reference Manual Rev 1 Freescale Semiconductor xxii...
Page 32: ...MCF52277 Reference Manual Rev 0 xxxii Freescale Semiconductor...
Page 60: ...Signal Descriptions MCF52277 Reference Manual Rev 1 2 16 Freescale Semiconductor...
Page 128: ...Static RAM SRAM MCF52277 Reference Manual Rev 1 6 6 Freescale Semiconductor...
Page 140: ...Clock Module MCF52277 Reference Manual Rev 1 7 12 Freescale Semiconductor...
Page 172: ...Chip Configuration Module CCM MCF52277 Reference Manual Rev 1 9 16 Freescale Semiconductor...
Page 180: ...Serial Boot Facility SBF MCF52277 Reference Manual Rev 1 10 8 Freescale Semiconductor...
Page 188: ...Reset Controller Module MCF52277 Reference Manual Rev 1 11 8 Freescale Semiconductor...
Page 210: ...Crossbar Switch XBS MCF52277 Reference Manual Rev 1 13 8 Freescale Semiconductor...
Page 542: ...FlexCAN MCF52277 Reference Manual Rev 1 23 32 Freescale Semiconductor...
Page 724: ...UART Modules MCF52277 Reference Manual Rev 1 30 34 Freescale Semiconductor...
Page 740: ...I2 C Interface MCF52277 Reference Manual Rev 1 31 16 Freescale Semiconductor...
Page 790: ...Debug Module MCF52277 Reference Manual Rev 1 32 50 Freescale Semiconductor...