mcf51jf128 Freescale Semiconductor, Inc, mcf51jf128 Datasheet - Page 454

no-image

mcf51jf128

Manufacturer Part Number
mcf51jf128
Description
Mcf51jf128 Reference Manual
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mcf51jf128VLH
Manufacturer:
MITSUBISHI
Quantity:
321
Part Number:
mcf51jf128VLH
Manufacturer:
FREESCALE
Quantity:
5 097
Part Number:
mcf51jf128VLH
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mcf51jf128VLH
Manufacturer:
FREESCALE
Quantity:
5 097
Initialization / Application Information
Before the ATM can be enabled, the ATM expected count needs to get derived and stored
into the ATCV register. The ATCV expected count is derived based on the required
target Internal Reference Clock (IRC) frequency, the frequency of the external reference
clock, and using the following formula:
If the auto trim is being performed on the 4 MHz IRC, the calculated expected count
value must be multiplied by 128 before storing it in the ATCV register. Therefore, the
ATCV Expected Count Value for trimming the 4 MHz IRC is calculated using the
following farmula.
20.5 Initialization / Application Information
This section describes how to initialize and configure the MCG module in an application.
The following sections include examples on how to initialize the MCG and properly
switch between the various available modes.
20.5.1 MCG Module Initialization Sequence
The MCG comes out of reset configured for FEI mode. The internal reference will
stabilize in t
reference is stable, the FLL will acquire lock in t
20.5.1.1 Initializing the MCG
Because the MCG comes out of reset in FEI mode, the only MCG modes that can be
directly switched to upon reset are FEE, FBE, and FBI modes (see
Reaching any of the other modes requires first configuring the MCG for one of these
three intermediate modes. Care must be taken to check relevant status bits in the MCG
status register reflecting all configuration changes within each mode.
To change from FEI mode to FEE or FBE modes, follow this procedure:
454
1. Enable the external clock source by setting the appropriate bits in C2 register.
• Fr = Target Internal Reference Clock (IRC) Trimmed Frequency
• Fe = External Clock Frequency
irefsts
microseconds before the FLL can acquire lock. As soon as the internal
ATCV
MCF51JF128 Reference Manual, Rev. 2, 03/2011
Preliminary
fll_acquire
milliseconds.
(128)
Figure
Freescale Semiconductor, Inc.
20-12).

Related parts for mcf51jf128