2 memory map, 3 register descriptions, 1 low-power interrupt control register (lpicr) – Motorola ColdFire MCF5281 User Manual

Page 138: 2 memory map -2 7.2.3 register descriptions -2, 1 low-power interrupt control register (lpicr) -2

Advertising
background image

Power Management

7-2

Freescale Semiconductor

7.2.2

Memory Map

7.2.3

Register Descriptions

The following subsection describes the PMM registers.

7.2.3.1

Low-Power Interrupt Control Register (LPICR)

Implementation of low-power stop mode and exit from a low-power mode via an interrupt require
communication between the CPU and logic associated with the interrupt controller. The LPICR is an 8-bit
register that enables entry into low-power stop mode, and includes the setting of the interrupt level needed
to exit a low-power mode.

NOTE

The setting of the low-power mode select (LPMD) field in the power
management module’s low-power control register (LPCR) determines
which low-power mode the device enters when a STOP instruction is issued.

If this field is set to enter stop mode, then the ENBSTOP bit in the LPICR
must also be set.

Following is the sequence of operations needed to enable this functionality:

1. The LPICR is programmed, setting the ENBSTOP bit (if stop mode is the desired low-power

mode) and loading the appropriate interrupt priority level.

2. At the appropriate time, the processor executes the privileged STOP instruction. Once the

processor has stopped execution, it asserts a specific Processor Status (PST) encoding. Issuing the
STOP instruction when the LPICR[ENBSTOP] bit is set causes the SCM to enter stop mode.

3. The entry into a low-power mode is processed by the low-power mode control logic, and the

appropriate clocks (usually those related to the high-speed processor core) are disabled.

4. After entering the low-power mode, the interrupt controller enables a combinational logic path

which evaluates any unmasked interrupt requests. The device waits for an event to generate an
interrupt request with a priority level greater than the value programmed in
LPICR[XLPM_IPL[2:0]].

Table 7-1. Chip Configuration Module Memory Map

IPSBAR Offset

Bits 31–24

Bits 23–16

Bits 15–8

Bits 7–0

Access

1

1

S = CPU supervisor mode access only. User mode accesses to supervisor only addresses have no effect and result in
a cycle termination transfer error.

0x0000_0010

Core Reset Status

Register (CRSR)

2

2

The CRSR, CWCR, and CWSR are described in the System Integration Module. They are shown here only to warn
against accidental writes to these registers when accessing the LPICR.

Core Watchdog

Control Register

(CWCR)

Low-Power

Interrupt Control

Register (LPICR)

Core Watchdog

Service Register

(CWSR)

S

0x0011_0004

Chip Configuration Register (CCR)

3

3

The CCR is described in the Chip Configuration Module. It is shown here only to warn against accidental writes to this
register when accessing the LPCR.

Reserved

Low-Power Control

Register (LPCR)

S

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

Advertising
This manual is related to the following products: