MPC8536E-ANDROID Freescale Semiconductor, MPC8536E-ANDROID Datasheet - Page 429

no-image

MPC8536E-ANDROID

Manufacturer Part Number
MPC8536E-ANDROID
Description
HARDWARE/SOFTWARE ANDROID OS
Manufacturer
Freescale Semiconductor
Series
PowerQUICC ™r
Type
MPUr

Specifications of MPC8536E-ANDROID

Contents
Board
For Use With/related Products
MPC8536
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
When the PIC is in mixed mode (GCR[M] = 1), the following guidelines are recommended:
In addition, the following initialization sequence is recommended:
Depending on the interrupt system configuration, the PIC may generate spurious interrupts to clear
interrupts latched during power-up. A spurious or non-spurious vector is returned for an interrupt
acknowledge cycle in this case. See the programming note below for the non-spurious case.
Freescale Semiconductor
1. Write the vector, priority, and polarity values in each interrupt’s vector/priority register, leaving
2. Clear CTPR (CTPR = 0x0000_0000).
3. Program the PIC to mixed mode by setting GCR[M].
4. Clear the MSK bit in the vector/priority registers to be used.
5. Perform a software loop to clear all pending interrupts:
6. Set the processor core CTPR values to the desired values.
7. Read the MSIRs to clear any pending message signaled interrupts that may have been pending
8. Set MER to 0x0000_000F. See
All PIC registers must be located in a cache-inhibited, guarded area (configured through the core’s
MMU).
The PIC portion of the address map must be set up appropriately.
their MSK (mask) bit set. This is required only if interrupts are used.
— Load counter with FRR[NIRQ].
— While counter > 0, read IACK and write EOI to guarantee all the IPR and ISR bits are cleared.
before a soft reset.
information.
Because the default polarity/sense for external interrupts is edge-sensitive,
and edge-sensitive interrupts are not cleared until they are acknowledged, it
is possible for the PIC to store spurious edges detected during power-up as
pending external interrupts. If software permanently configures an external
interrupt source to be edge-sensitive, it may receive the vector for the
interrupt source and not a spurious interrupt vector when software clears the
mask bit. This can occur once for any edge-sensitive interrupt when its mask
bit is first cleared and the PIC is in mixed mode.
To avoid a false interrupt for this case, software can clear the IPR of these
spurious edge detections by first configuring the polarity/sense of external
interrupt sources to be level-sensitive: high-level if the input is a
positive-edge source and low-level if it is a negative-edge source (while the
mask bit remains set). After this is complete, configuring the external
interrupt source as edge-sensitive does not cause a false interrupt.
MPC8536E PowerQUICC III Integrated Processor Reference Manual, Rev. 1
Section 9.3.5.2, “Message Enable Register
NOTE
Programmable Interrupt Controller (PIC)
(MER),” for more
9-59

Related parts for MPC8536E-ANDROID