Rev. 1.50 48 August 28, 2017 Rev. 1.50 49 August 28, 2017
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
Fast Wake-up
TominimisepowerconsumptionthedevicecanentertheSLEEPorIDLE0Mode,wherethesystem
clocksourcetothedeviceswillbestopped.Howeverwhenthedevicesarewokenupagain,itcan
takeaconsiderabletimefortheoriginalsystemoscillatortorestart,stabiliseandallownormal
operationtoresume.ToensurethedevicesareupandrunningasfastaspossibleaFastWake-
upfunctionisprovided,whichallowsf
SUB
,namelyeithertheLXTorLIRCoscillator,toactasa
temporaryclocktorstdrivethesystemuntiltheoriginalsystemoscillatorhasstabilised.Asthe
clocksourcefortheFastWake-upfunctionisf
SUB
,theFastWake-upfunctionisonlyavailablein
theSLEEP1andIDLE0modes.WhenthedevicesarewokenupfromtheSLEEP0mode,theFast
Wake-upfunctionhasnoeffectbecausethef
SUB
clockisstopped.TheFastWake-upenable/disable
functioniscontrolledusingtheFSTENbitintheSMODregister.
IftheHXToscillatorisselectedastheNORMALModesystemclock,andiftheFastWake-up
functionisenabled,thenitwilltakeonetotwot
SUB
clockcyclesoftheLIRCorLXToscillatorfor
thesystemtowake-up.Thesystemwilltheninitiallyrununderthef
SUB
clocksourceuntil512HXT
clockcycleshaveelapsed,atwhichpointtheHTOagwillswitchhighandthesystemwillswitch
overtooperatingfromtheHXToscillator.
IftheHIRCoscillatororLIRCoscillatorisusedasthesystemoscillatorthenitwilltake15~16
clockcyclesoftheHIRCor1~2cyclesoftheLIRCtowakeupthesystemfromtheSLEEPor
IDLE0Mode.TheFastWake-upbit,FSTENwillhavenoeffectinthesecases.
System
Oscillator
FSTEN
Bit
Wake-up Time
(SLEEP0 Mode)
Wake-up Time
(SLEEP1 Mode)
Wake-up Time
(IDLE0 Mode)
Wake-up Time
(IDLE1 Mode)
HXT
0 128 HXT cycles 128 HXT cycles 1~2 HXT cycles
1 128 HXT cycles
1~2 f
SUB
cycles
(System runs with f
SUB
rst for 512 HXT cycles and
then switches over to run with the HXT clock)
1~2 HXT cycles
HIRC x 15~16 HIRC cycles 15~16 HIRC cycles 1~2 HIRC cycles
LIRC x 1~2 LIRC cycles 1~2 LIRC cycles 1~2 LIRC cycles
LXT x 128 HXT cycles 1~2 LXT cycles 1~2 LXT cycles
“x”: don’t care
Wake-up Times
NotethatiftheWatchdogTimerisdisabled,whichmeansthattheLXTandLIRCareallbothoff,
thentherewillbenoFastWake-upfunctionavailablewhenthedeviceswake-upfromtheSLEEP0
Mode.