sc9s08mz16 Freescale Semiconductor, Inc, sc9s08mz16 Datasheet - Page 144

no-image

sc9s08mz16

Manufacturer Part Number
sc9s08mz16
Description
Hcs08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Internal Clock Generator (S08ICGV4)
ICGC2 = $31 (%00110001)
ICGS1 = $xx
ICGS2 = $xx
ICGFLTLU/L = $xx
ICGTRM = $xx
144
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; good idea to read this before performing time critical operations
Not used in this example
Bit 7:0 TRIM
LOLRE
LOCRE
Figure 8-15. ICG Initialization and Stop Recovery for Example #3
FLL LOCK STATUS.
INITIALIZE ICG
ICGC1 = $28
ICGC2 = $31
CONTINUE
0
0
011 Sets the MFD multiplication factor to 10
0
001 Sets the RFD division factor to ÷2
LOCK = 1?
RESET
CHECK
YES
Unimplemented or reserved, always reads zero
Generates an interrupt request on loss of lock
Generates an interrupt request on loss of clock
Only need to write when trimming internal oscillator; done in separate
operation (see example #4)
SC9S08MZ16 MCU Data Sheet, Rev. 1
NO
NOTE: THIS WILL REQUIRE THE INTERAL REFERENCE CLOCK TO START AND
STABILIZE.
FLL LOCK STATUS.
FROM STOP
RECOVERY
CONTINUE
LOCK = 1?
CHECK
YES
NO
Freescale Semiconductor

Related parts for sc9s08mz16