mc9s08ac32 Freescale Semiconductor, Inc, mc9s08ac32 Datasheet - Page 184

no-image

mc9s08ac32

Manufacturer Part Number
mc9s08ac32
Description
Hcs08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s08ac32CFGE
Manufacturer:
FREESCALE
Quantity:
3 000
Part Number:
mc9s08ac32CFGE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s08ac32CFGE
Manufacturer:
FREESCALE
Quantity:
3 000
Part Number:
mc9s08ac32CFGE
Manufacturer:
FREESCALE/NXP
Quantity:
20 000
Part Number:
mc9s08ac32CFGER
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s08ac32CFGER
Manufacturer:
FREESCALE/PBF
Quantity:
160
Part Number:
mc9s08ac32CFJE
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc9s08ac32CFUE
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc9s08ac32CPUE
Manufacturer:
FREESCALEQFP
Quantity:
20 000
Chapter 10 Internal Clock Generator (S08ICGV4)
10.6.3
In this example, the FLL will be used (in FEE mode) to multiply the external 4 MHz oscillator up to
40-MHz to achieve 20 MHz bus frequency.
After the MCU is released from reset, the ICG is in self-clocked mode (SCM) and supplies approximately
8 MHz on ICGOUT which corresponds to a 4 MHz bus frequency (f
During reset initialization software, the clock scheme will be set to FLL engaged, external (FEE). So
Solving for N / R gives:
The values needed in each register to set up the desired operation are:
ICGC1 = $78 (%01111000)
ICGC2 = $30 (%00110000)
ICGS1 = $xx
ICGS2 = $xx
ICGFLTLU/L = $xx
ICGTRM
184
Bit 7
Bit 6
Bit 5
Bits 4:3 CLKS
Bit 2
Bit 1
Bit 0
Bit 7
Bit 6:4 MFD
Bit 3
Bit 2:0 RFD
This is read only except for clearing interrupt flag
This is read only. Should read DCOS before performing any time critical tasks
Not used in this example
Not used in this example
Example #2: External Crystal = 4 MHz, Bus Frequency = 20 MHz
HGO
RANGE
REFS
OSCSTEN 0
LOCD
LOLRE
LOCRE
N / R = 40 MHz /(4 MHz * 1) = 10 ; We can choose N = 10 and R = 1
f
0
1
1
11
0
0
0
011 Sets the MFD multiplication factor to 10
0
000 Sets the RFD division factor to ÷1
ICGOUT
Configures oscillator for low power
Configures oscillator for high-frequency range; FLL prescale factor is 1
Requests an oscillator
FLL engaged, external reference clock mode
Disables the oscillator
Loss-of-clock detection enabled
Unimplemented or reserved, always reads zero
Generates an interrupt request on loss of lock
Generates an interrupt request on loss of clock
= f
MC9S08AC60 Series Data Sheet, Rev. 2
ext
* P * N / R ; P = 1, f
ext
= 4.00 MHz
Bus
).
Freescale Semiconductor
Eqn. 10-3
Eqn. 10-4

Related parts for mc9s08ac32