Freescale Semiconductor
User Guide
Contents
© Freescale Semiconductor, Inc., 2008. All rights reserved.
This section discusses the clock structure, relationships
between various clocks, and how different module
clocks are derived on the MPC5121e.
1 Introduction
The wide range of applications supported by the
MPC5121e require a complex clocking structure with
different primary clock domains derived from four
separate oscillator sources. Internal PLLs and clock
dividers allow generation of a wide range of clock
references. Each peripheral clock may be individually
controlled; in other words, gated individually or scaled in
frequency to minimize total power consumption of the
device. The MPC5121e system requires a system-level
clock input: SYS_XTALI. This clock input may be
driven directly from an external oscillator or with a
crystal using the internal oscillator. The SYS_PLL is
programmed at reset by the reset configuration word
(RST_CONFIG) sampled at the rising edge
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 Initialization and Configuration . . . . . . . . . . . . . . . . . . . . 6
2.1 Reset Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2 Enable/Disable Clock to Individual Modules . . . . . . 8
2.3 Changing the Frequency of the Clock . . . . . . . . . . . 8
3 Measurements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4 PSC Clock Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4.1 PSC in UART Mode. . . . . . . . . . . . . . . . . . . . . . . . 10
4.2 PSC in Codec Mode . . . . . . . . . . . . . . . . . . . . . . . 11
4.3 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4.4 Configuring and Observing PSC_MCLK_OUT . . . 12
5 PSC in AC97 Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
6 PSC in SPI Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
7 CAN Module Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
8 General Clock and Power Circuitry Layout Guidelines . 17
8.1 Clock Circuitry . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
8.2 Power Circuitry . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
8.3 Ferrite Beads in Filtering . . . . . . . . . . . . . . . . . . . . 19
Appendix A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
A.1 Example Code for Pin Multiplexing of I/O Pads. . . 20
A.2 I/O Control Register Table for Clocks . . . . . . . . . . 20
A.3 Block Diagram of Various Clock Structures in
MPC5121e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Appendix B References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
MPC5121e Clocks
by: Rakesh Chennamadhavuni
MSG Applications Engineering