Rev. 1.71 38 April 11, 2017 Rev. 1.71 39 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
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
LIRC
High Speed Oscillation
WDT
f
SYS
/4
f
TB
Time Base 0
Time Base 1
TBCK
f
L
f
TBC
IDLEN
System Clock Congurations
Note:Whenthesystemclocksourcef
SYS
isswitchedtof
L
fromf
H
,thehighspeedoscillationwill
stoptoconservethepower.Thusthereisnof
H
~f
H
/64forperipheralcircuittouse.
System Operation Modes
Therearesixdifferentmodesofoperationforthemicrocontroller, eachonewithitsown
specialcharacteristicsandwhichcanbechosenaccordingtothespecificperformanceand
powerrequirementsoftheapplication.Therearetwomodesallowingnormaloperationofthe
microcontroller,theNORMALModeandSLOWMode.Theremainingfourmodes,theSLEEP0,
SLEEP1,IDLE0andIDLE1modesareusedwhenthemicrocontrollerCPUisswitchedoffto
conservepower.
Operating
Mode
Description
CPU f
SYS
f
LIRC
f
TBC
NORMAL mode On f
H
~f
H
/64 On On
SLOW mode On f
L
On On
IDLE0 mode Off Off On On
IDLE1 mode Off On On On
SLEEP0 mode Off Off Off Off
SLEEP1 mode Off Off On Off
NORMAL Mode
Asthenamesuggeststhisisoneofthemainoperatingmodeswherethemicrocontrollerhasall
ofitsfunctionsoperationalandwherethesystemclockisprovidedthehighspeedoscillator.This
modeoperatesallowingthemicrocontrollertooperatenormallywithaclocksourcewillcomefrom
thehighspeedoscillatorHIRC.Thehighspeedoscillatorwillhoweverrstbedividedbyaratio
rangingfrom1to64,theactualratiobeingselectedbytheCKS2~CKS0andHLCLKbitsinthe
SMODregister.Althoughahighspeedoscillatorisused,runningthemicrocontrolleratadivided
clockratioreducestheoperatingcurrent.