Rev. 1.50 44 August 28, 2017 Rev. 1.50 45 August 28, 2017
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
Operating Modes and System Clocks
Presentdayapplicationsrequirethattheirmicrocontrollershavehighperformancebutoftenstill
demandthattheyconsumeaslittlepoweraspossible,conictingrequirementsthatareespecially
trueinbatterypoweredportableapplications.Thefastclocksrequiredforhighperformancewill
bytheirnatureincreasecurrentconsumptionandofcoursevice-versa,lowerspeedclocksreduce
currentconsumption.AsHoltekhasprovidedthesedeviceswithbothhighandlowspeedclock
sourcesandthemeanstoswitchbetweenthemdynamically,theusercanoptimisetheoperationof
theirmicrocontrollertoachievethebestperformance/powerratio.
System Clocks
ThedeviceshavemanydifferentclocksourcesforboththeCPUandperipheralfunctionoperation.
Byprovidingtheuserwithawiderangeofclockoptionsusingcongurationoptionsandregister
programming,aclocksystemcanbeconguredtoobtainmaximumapplicationperformance.
Themainsystemclock,cancomefromeitherahighfrequencyf
H
orlowfrequencyf
SUB
source,and
isselectedusingtheHLCLKbitandCKS2~CKS0bitsintheSMODregister.Thehighspeedsystem
clockcanbesourcedfromeitheranHXTorHIRCoscillator,selectedviaacongurationoption.
Thelowspeedsystemclocksourcecanbesourcedfrominternalclockf
SUB
.Iff
SUB
isselectedthenit
canbesourcedbyeithertheLXTorLIRCoscillator,selectedviaacongurationoption.Theother
choice,whichisadividedversionofthehighspeedsystemoscillatorhasarangeoff
H
/2~f
H
/64.
Therearetwoadditionalinternalclocksfortheperipheralcircuits,thesubstituteclock,f
SUB
,and
theTimeBaseclock,f
TBC
.EachoftheseinternalclocksissourcedbyeithertheLXTorLIRC
oscillators,selectedviacongurationoptions.Thef
SUB
clockisusedtoprovideasubstituteclockfor
themicrocontrollerjustafterawake-uphasoccurredtoenablefasterwake-uptimes.
HIRC
Prescaler
f
H
LXT
High Speed
Oscillator
Low Speed
Oscillator
f
H
/2
f
H
/16
f
H
/64
f
H
/8
f
H
/4
f
H
/32
HLCLK,
CKS2~CKS0
f
SYS
f
SUB
f
SUB
LIRC
HXT
f
H
High Speed Oscillator
Configuration Option
Low Speed Oscillator
Configuration Option
Fast Wake-up from IDLE
or SLEEP Mode Control
(for HXT only )
f
SUB
IDLEN
f
TBC
f
SYS
/4
TBCK
f
TB
Time Base
WDT
f
SUB
f
TBC
Device Clock Congurations
Note:Whenthesystemclocksourcef
SYS
isswitchedtof
SUB
fromf
H
,thehighspeedoscillatorwill
stoptoconservethepower.Thusthereisnof
H
~f
H
/64forperipheralcircuittouse.