13-36
MCF5272 User’s Manual
Application Examples
13.6.2 PLIC Initialization
The ports on the PLIC module of the MCF5272 require a number of registers to be
configured after power-on reset and prior to use. The following are the steps necessary for
initializing the ports.
The port configuration register, PLCR, and the interrupt configuration register, PLICR,
must be initialized before using any port.
13.6.2.1 Port Configuration Example
•
Specify which ports are active.
•
Specify the operational modes, IDL8, IDL10, and so on, for the active ports,
PLCRn[M].
•
If GCI mode is specified in PLCRn[M], select whether GCI SCIT mode is to be
used, PLCRn[G/S]
•
If port 1 is used, program whether the 2-KHz frame interrupt is to be derived from
port 0 or port 1, PLCRn[FSM].
•
If port 1 is used, program whether it receives as inputs DCL and FSC or whether it
drives these signals as outputs.
•
If the port is in GCI mode, the PLCRn[ACT] bit may be set if GCI Activation should
be requested.
•
If port 3 is used, program the PLCRn[DMX] bit if this port is routed through
physical interface 3 (DIN3/DOUT3).
•
Program the shift direction for the B1 and B2 channels, PLCRn[SHB1–SHB2], to
specify msb or lsb first.
•
Program PLCRn[ENB1–ENB2] to specify whether B1 or B2 is enabled at
initialization.
The following example shows a basic configuration of port 1, assuming the following:
•
port 1 is active as slave using IDL10 mode
•
2-KHz frame interrupt derived from port 1
•
msb first on B1 and B2
•
B1 and B2 disabled.
Содержание DigitalDNA ColdFire MCF5272
Страница 1: ...MCF5272UM D Rev 0 02 2001 MCF5272 ColdFire Integrated Microprocessor User s Manual ...
Страница 38: ...xxxviii MCF5272 User s Manual TABLES Table Number Title Page Number ...
Страница 58: ...1 10 MCF5272 User s Manual MCF5272 Specific Features ...
Страница 90: ...2 42 MCF5272 User s Manual Exception Processing Overview ...
Страница 96: ...3 6 MCF5272 User s Manual MAC Instruction Execution Timings ...
Страница 158: ...5 46 MCF5272 User s Manual Motorola Recommended BDM Pinout ...
Страница 184: ...7 12 MCF5272 User s Manual Interrupt Controller Registers ...
Страница 338: ...13 44 MCF5272 User s Manual Application Examples ...
Страница 414: ...18 6 MCF5272 User s Manual PWM Programming Model ...
Страница 452: ...19 38 MCF5272 User s Manual Power Supply Pins ...
Страница 482: ...20 30 MCF5272 User s Manual Reset Operation ...
Страница 492: ...21 10 MCF5272 User s Manual Non IEEE 1149 1 Operation ...
Страница 548: ...INDEX Index 12 MCF5272 User s Manual ...