mc68hc908kx8 Freescale Semiconductor, Inc, mc68hc908kx8 Datasheet - Page 83

no-image

mc68hc908kx8

Manufacturer Part Number
mc68hc908kx8
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc908kx8CDW
Manufacturer:
FSC
Quantity:
364
Part Number:
mc68hc908kx8CDW
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc68hc908kx8CDWE
Manufacturer:
FREESCALE
Quantity:
20 000
Company:
Part Number:
mc68hc908kx8CDWE
Quantity:
588
Part Number:
mc68hc908kx8MDWE
Manufacturer:
MOT
Quantity:
6 238
Company:
Part Number:
mc68hc908kx8VP
Quantity:
13
period tolerance plus 10%) must be added. This adjustment can be reduced with trimming.
shows some typical values for settling time.
7.4.7 Trimming Frequency on the Internal Clock Generator
The unadjusted frequency of the low-frequency base clock (IBASE), when the comparators in the
frequency comparator indicate zero error, will vary as much as ±25% due to process, temperature, and
voltage dependencies. These dependencies are in the voltage and current references, the offset of the
comparators, and the internal capacitor. The voltage and temperature dependencies have been designed
to be a maximum of approximately ±1% error. The process dependencies account for the rest.
Fortunately, for an individual part, the process dependencies are constant. An individual part can operate
at approximately ±2% variance from its unadjusted operating point over the entire spec range of the
application. If the unadjusted operating point can be changed, the entire variance can be limited to ±2%.
The method of changing the unadjusted operating point is by changing the size of the capacitor. This
capacitor is designed with 639 equally sized units. 384 of these units are always connected. The
remaining 255 units are put in by adjusting the ICG trim factor (TRIM). The default value for TRIM is $80,
or 128 units, making the default capacitor size 512. Each unit added or removed will adjust the output
frequency by about ±0.195% of the unadjusted frequency (adding to TRIM will decrease frequency).
Therefore, the frequency of IBASE can be changed to ±25% of its unadjusted value, which is enough to
cancel the process variability mentioned before.
The best way to trim the internal clock is to use the timer to measure the width of an input pulse on an
input capture pin (this pulse must be supplied by the application and should be as long or wide as
possible). Considering the prescale value of the timer and the theoretical (zero error) frequency of the bus
(307.2 kHz *N/4), the error can be calculated. This error, expressed as a percentage, can be divided by
0.195% and the resultant factor added or subtracted from TRIM. This process should be repeated to
eliminate any residual error.
7.5 Low-Power Modes
The WAIT and STOP instructions put the MCU in low power-consumption standby modes.
7.5.1 Wait Mode
The ICG remains active in wait mode. If enabled, the ICG interrupt to the CPU can bring the MCU out of
wait mode.
In some applications, low power consumption is desired in wait mode and a high frequency clock is not
needed. In these applications, reduce power consumption by either selecting a low-frequency external
clock and turn the internal clock generator off, or reduce the bus frequency by minimizing the ICG
multiplier factor (N) before executing the WAIT instruction.
Freescale Semiconductor
1/ (307.2 kHz)
1/ (6.45 MHz)
1/ (25.8 MHz)
1/ (25.8 MHz)
MC68HC908KX8 • MC68HC908KX2 • MC68HC08KX8 Data Sheet, Rev. 2.1
τ
1
Table 7-4. Typical Settling Time Examples
1/ (307.2 kHz)
1/ (25.8 MHz)
1/ (6.45 MHz)
1/ (25.8 MHz)
τ
2
84
21
84
N
1
11.9 ms
430 µs
107 µs
141 µs
τ
15
1165 µs
12.6 ms
840 µs
875 µs
τ
tot
Low-Power Modes
Table 7-4
83

Related parts for mc68hc908kx8