Rev. 1.71 36 April 11, 2017 Rev. 1.71 37 April 11, 2017
HT66F002/HT66F0025/HT66F003/HT66F004
Cost-Effective A/D Flash MCU with EEPROM
HT66F002/HT66F0025/HT66F003/HT66F004
Cost-Effective A/D Flash MCU with EEPROM
Oscillator
Variousoscillatoroptionsoffertheuserawiderangeoffunctionsaccordingtotheirvarious
applicationrequirements.Theflexiblefeaturesoftheoscillatorfunctionsensurethatthebest
optimisationcanbeachievedintermsofspeedandpowersaving.Oscillatorselectionsandoperation
areselectedthroughregisters.
Oscillator Overview
Inadditiontobeingthesourceofthemainsystemclocktheoscillatorsalsoprovideclocksources
fortheWatchdogTimerandTimeBaseInterrupts.Twofullyintegratedinternaloscillators,requiring
noexternalcomponents,areprovidedtoformawiderangeofbothfastandslowsystemoscillators.
Thehigherfrequencyoscillatorprovideshigherperformancebutcarrywithitthedisadvantageof
higherpowerrequirements,whiletheoppositeisofcoursetrueforthelowerfrequencyoscillator.
Withthecapabilityofdynamicallyswitchingbetweenfastandslowsystemclock,thesedevices
havetheexibilitytooptimizetheperformance/powerratio,afeatureespeciallyimportantinpower
sensitiveportableapplications.
Type Name Freq.
Internal High Speed RC HIRC 8MHz
Internal Low Speed RC LIRC 32kHz
Oscillator Types
System Clock Congurations
Therearetwomethodsofgeneratingthesystemclock,ahighspeedoscillatorandalowspeed
oscillator.Thehighspeedoscillatoristheinternal8MHzRCoscillator.Thelowspeedoscillatoris
theinternal32kHzRCoscillator.Selectingwhethertheloworhighspeedoscillatorisusedasthe
systemoscillatorisimplementedusingtheHLCLKbitandCKS2~CKS0bitsintheSMODregister
andasthesystemclockcanbedynamicallyselected.
HIRC
Prescaler
f
H
LIRC
Low Speed Oscillation
f
H
/2
f
H
/16
f
H
/64
f
H
/8
f
H
/4
f
H
/32
HLCLK
CKS2~CKS0 bits
f
SYS
f
L
High Speed Oscillation
System Clock Congurations