6 system access control unit (sacu), 1 overview, System access control unit (sacu) -11 – Motorola ColdFire MCF5281 User Manual

Page 163: 1 overview -11

Advertising
background image

System Control Module (SCM)

Freescale Semiconductor

8-11

The initial state of the master priorities is M3 > M2 > M1 > M0. System software should guarantee that
the programmed Mn_PRTY fields are unique, otherwise the hardware defaults to the initial-state priorities.

NOTE

The M1_PRTY field should not be set for a priority higher than third
(default).

8.6

System Access Control Unit (SACU)

This section details the functionality of the System Access Control Unit (SACU) which provides the
mechanism needed to implement secure bus transactions to the address space mapped to the internal
modules.

8.6.1

Overview

The SACU supports the traditional model of two privilege levels: supervisor and user. Typically, memory
references with the supervisor attribute have total accessibility to all the resources in the system, while user
mode references cannot access system control and configuration registers. In many systems, the operating
system executes in supervisor mode, while application software executes in user mode.

The SACU further partitions the access control functions into two parts: one control register defines the
privilege level associated with each bus master, and another set of control registers define the access levels
associated with the peripheral modules and the memory space.

The SACU’s programming model is physically implemented as part of the System Control Module (SCM)
with the actual access control logic included as part of the arbitration controller. Each bus transaction
targeted for the IPS space is first checked to see if its privilege rights allow access to the given memory
space. If the privilege rights are correct, the access proceeds on the bus. If the privilege rights are
insufficient for the targeted memory space, the transfer is immediately aborted and terminated with an
exception, and the targeted module not accessed.

14

FIXED

Fixed or round robin arbitration
0 round robin arbitration
1 fixed arbitration

13

TIMEOUT

Timeout Enable
0 disable count for when a master is locked out by other masters.
1 enable count for when a master is locked out by other masters and allow access when

LCKOUT_TIME is reached.

12

PRKLAST

Park on the last active master or highest priority master if no masters are active
0 park on last active master
1 park on highest priority master

11–8

LCKOUT_TIME Lock-out Time. Lock-out time for a master being denied the bus.

The lock out time is defined as 2^ LCKOUT_TIME[3:0].

7–0

Reserved, should be cleared.

Table 8-6. MPARK Field Description (continued)

Bits

Name

Description

MCF5282 and MCF5216 ColdFire Microcontroller User’s Manual, Rev. 3

Advertising
This manual is related to the following products: