
Introduction
MPC5644A Microcontroller Reference Manual, Rev. 6
36
Freescale Semiconductor
•
Automatic pushing or popping of preempted priority to or from a LIFO
•
Ability to modify the ISR or task priority to implement the priority ceiling protocol for accessing
shared resources
•
Low latency—three clocks from receipt of interrupt request from peripheral to interrupt request to
processor
This device also includes a non-maskable interrupt (NMI) pin that bypasses the INTC and multiplexing
logic.
1.4.6
Memory protection unit (MPU)
The Memory Protection Unit (MPU) provides hardware access control for all memory references
generated in a device. Using preprogrammed region descriptors, which define memory spaces and their
associated access rights, the MPU concurrently monitors all system bus transactions and evaluates the
appropriateness of each transfer. Memory references with sufficient access control rights are allowed to
complete; references that are not mapped to any region descriptor or have insufficient rights are terminated
with a protection error response.
The MPU has these major features:
•
Support for 16 memory region descriptors, each 128 bits in size
— Specification of start and end addresses provide granularity for region sizes from 32 bytes to
4 GB
— MPU is invalid at reset, thus no access restrictions are enforced
— Two types of access control definitions: processor core bus master supports the traditional
{read, write, execute} permissions with independent definitions for supervisor and user mode
accesses; the remaining non-core bus masters (eDMA, FlexRay, and EBI
1
) support {read,
write} attributes
— Automatic hardware maintenance of the region descriptor valid bit removes issues associated
with maintaining a coherent image of the descriptor
— Alternate memory view of the access control word for each descriptor provides an efficient
mechanism to dynamically alter the access rights of a descriptor only
1
— For overlapping region descriptors, priority is given to permission granting over access
denying as this approach provides more flexibility to system software
•
Support for two XBAR slave port connections (SRAM and PBRIDGE)
— For each connected XBAR slave port (SRAM and PBRIDGE), MPU hardware monitors every
port access using the pre-programmed memory region descriptors
— An access protection error is detected if a memory reference does not hit in any memory region
or the reference is flagged as illegal in all memory regions where it does hit. In the event of an
access error, the XBAR reference is terminated with an error response and the MPU inhibits
the bus cycle being sent to the targeted slave device
— 64-bit error registers, one for each XBAR slave port, capture the last faulting address,
attributes, and detail information
1. EBI not available on all packages and is not available, as a master, for customer.
Summary of Contents for MPC5644A
Page 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Page 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Page 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Page 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Page 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Page 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Page 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...