User`s guide
Rev. 1.10 40 November 14, 2014 Rev. 1.10 41 November 14, 2014
HT66FW2230
Wireless Charger A/D Flash 8-Bit MCU
Entering the IDLE2 Mode
ThereisonlyonewayforthedevicetoentertheIDLE2Modeandthatistoexecutethe“HALT”
instructionintheapplicationprogramwiththeFHIDENbitintheSCCregisterequalto“1”andthe
FLIDENbitinSCCregisterequalto“0”.Whenthisinstructionisexecutedundertheconditions
describedabove,thefollowingwilloccur:
• Thef
H
clockwillbeonbutthef
SUB
clockwillbeoffandtheapplicationprogramwillstopatthe
“HALT”instruction.
• TheDataMemorycontentsandregisterswillmaintaintheirpresentcondition.
• TheI/Oportsofperipheraldevicewillkeeptoworkwhenitisenabledandclockisfromf
SYS
.
•
Inthestatusregister,thePowerDownagPDFwillbeset,andWDTtimeoutagTOwillbe
cleared.
•
TheWDTwillbeclearedandresumecounting.
Standby Current Considerations
AsthemainreasonforenteringtheSLEEPorIDLEModeistokeepthecurrentconsumptionofthe
devicetoaslowavalueaspossible,perhapsonlyintheorderofseveralmicro-ampsexceptinthe
IDLE1andIDLE2Mode,thereareotherconsiderationswhichmustalsobetakenintoaccountby
thecircuitdesignerifthepowerconsumptionistobeminimised.Specialattentionmustbemade
totheI/Opinsonthedevice.Allhigh-impedanceinputpinsmustbeconnectedtoeitheraxed
highorlowlevelasanyoatinginputpinscouldcreateinternaloscillationsandresultinincreased
currentconsumption.Thisalsoappliestodeviceswhichhavedifferentpackagetypes,astheremay
beunbonbedpins.Thesemusteitherbesetupasoutputsorifsetupasinputsmusthavepull-high
resistorsconnected.
Caremustalsobetakenwiththeloads,whichareconnectedtoI/Opins,whicharesetupasoutputs.
Theseshouldbeplacedinaconditioninwhichminimumcurrentisdrawnorconnectedonlyto
externalcircuitsthatdonotdrawcurrent,suchasotherCMOSinputs.Alsonotethatadditional
standbycurrentwillalsoberequirediftheLIRCoscillatorhasenabled.
IntheIDLE1andIDLE2Modethehighspeedoscillatorison,ifthesystemoscillatorisfromthe
highspeedoscillator,theadditionalstandbycurrentwillalsobeperhapsintheorderofseveral
hundredmicro-amps.