s908ey16g2vfar Freescale Semiconductor, Inc, s908ey16g2vfar Datasheet - Page 100

no-image

s908ey16g2vfar

Manufacturer Part Number
s908ey16g2vfar
Description
M68hc08 Microcontrollers Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Internal Clock Generator (ICG) Module
Settling time depends primarily on how many corrections it takes to change the clock period and the
period of each correction. Since the corrections require four periods of the low-frequency base clock
(4*τ
IBASE, each correction takes 4*N*τ
8.4.6.1 Settling to Within 15 Percent
When the error is greater than 15 percent, the filter takes eight corrections to double or halve the clock
period. Due to how the DCO increases or decreases the clock period, the total period of these eight
corrections is approximately 11 times the period of the fastest correction. (If the corrections were perfectly
linear, the total period would be 11.5 times the minimum period; however, the ring must be slightly
nonlinear.) Therefore, the total time it takes to double or halve the clock period is 44*N*τ
If the clock period needs more than doubled or halved, the same relationship applies, only for each time
the clock period needs doubled, the total number of cycles doubles. That is, when transitioning from fast
to slow, going from the initial speed to half speed takes 44*N*τ
takes 88*N*τ
series can be expressed as (2
doubled or halved. Since 2
44*N*(τ
Note that increasing speed takes much longer than decreasing speed since N is higher. This can be
expressed in terms of the initial clock period (τ
8.4.6.2 Settling to Within 5 Percent
Once the clock period is within 15 percent of the desired clock period, the filter starts making smaller
adjustments. When between 15 percent and 5 percent error, each correction will adjust the clock period
between 1.61 percent and 2.94 percent. In this mode, a maximum of eight corrections will be required to
get to less than 5 percent error. Since the clock period is relatively close to desired, each correction takes
approximately the same period of time, or 4*τ
be set and the clock frequency is usable, although the error will be as high as 5 percent. The total time to
this point is:
8.4.6.3 Total Settling Time
Once the clock period is within 5 percent of the desired clock period, the filter starts making minimum
adjustments. In this mode, each correction will adjust the frequency between 0.202 percent and 0.368
percent. A maximum of 24 corrections will be required to get to the minimum error. Each correction takes
approximately the same period of time, or 4*τ
this makes 32 corrections (128*τ
minimum error is:
The equations for τ
the nominal. This means the variability in the ICLK frequency due to process, temperature, and voltage
must be considered. Additionally, other process factors and noise can affect the actual tolerances of the
points at which the filter changes modes. This means a worst case adjustment of up to 35 percent (ICLK
100
IBASE
ICLKSLOW
), and since ICLK is N (the ICG multiply factor for the desired frequency) times faster than
ICLKFAST
–τ
15
ICLKFAST
, τ
; going from quarter speed to eighth speed takes 176*N*τ
5
, and τ
x
MC68HC908EY16A • MC68HC908EY8A Data Sheet, Rev. 1
).
happens to be equal to τ
x
tot
–1)*44*N*τ
IBASE
τ
are dependent on the actual initial and final clock periods τ
tot
τ
5
ICLK
=
=
) to get from 15 percent to the minimum error. The total time to the
τ
abs 44N τ
abs 44N τ
. The period of ICLK, however, will vary as the corrections occur.
15
ICLKFAST
=
[
[
IBASE
IBASE
abs 44N τ
1
) minus the final clock period (τ
(
(
[
. Added to the corrections for 15 percent to 5 percent,
. At this point, the internal clock stable bit (ICGS) will
1
1
, where x is the number of times the speed needs
ICLKSLOW
τ
τ
2
2
(
)
)
1
]
]
+
+
32τ
128τ
τ
ICLKFAST
2
)
]
ICLKFAST
IBASE
IBASE
; from half speed to quarter speed
, the equation reduces to
ICLKFAST
2
) as such:
Freescale Semiconductor
; and so on. This
ICLKFAST
1
and τ
.
2
, not

Related parts for s908ey16g2vfar