BS83A04A-3/BS83A04A-4
8-bit Touch Key Flash MCU
System Operation Modes
Thereꢀareꢀfiveꢀdifferentꢀmodesꢀofꢀoperationꢀforꢀtheꢀmicrocontroller,ꢀeachꢀoneꢀwithꢀitsꢀownꢀ
specialꢀcharacteristicsꢀandꢀwhichꢀcanꢀbeꢀchosenꢀaccordingꢀtoꢀtheꢀspecificꢀperformanceꢀandꢀ
powerꢀrequirementsꢀofꢀtheꢀapplication.ꢀThereꢀareꢀtwoꢀmodesꢀallowingꢀnormalꢀoperationꢀofꢀtheꢀ
microcontroller,ꢀtheꢀNORMALꢀModeꢀandꢀSLOWꢀMode.ꢀTheꢀremainingꢀthreeꢀmodes,ꢀtheꢀSLEEP,ꢀ
IDLE0ꢀandꢀIDLE1ꢀModeꢀareꢀusedꢀwhenꢀtheꢀmicrocontrollerꢀCPUꢀisꢀswitchedꢀoffꢀtoꢀconserveꢀpower.
Description
Operation Mode
CPU
On
On
Off
fSYS
fH~fH/64
fSUB
fSUB
On
On
On
On
On
fS
NORMAL Mode
SLOW Mode
IDLE0 Mode
IDLE1 Mode
SLEEP Mode
On
On
On
On
On
Off
Off
On
Off
Off
NORMAL Mode
Asꢀtheꢀnameꢀsuggestsꢀthisꢀisꢀoneꢀofꢀtheꢀmainꢀoperatingꢀmodesꢀwhereꢀtheꢀmicrocontrollerꢀhasꢀallꢀofꢀ
itsꢀfunctionsꢀoperationalꢀandꢀwhereꢀtheꢀsystemꢀclockꢀisꢀprovidedꢀbyꢀtheꢀhighꢀspeedꢀoscillator.ꢀThisꢀ
modeꢀallowsꢀtheꢀmicrocontrollerꢀtoꢀoperateꢀnormallyꢀwithꢀaꢀclockꢀsourceꢀthatꢀwillꢀcomeꢀfromꢀtheꢀ
HIRCꢀoscillator.ꢀTheꢀhighꢀspeedꢀoscillatorꢀwillꢀhoweverꢀfirstꢀbeꢀdividedꢀbyꢀaꢀratioꢀrangingꢀfromꢀ1ꢀ
toꢀ64,ꢀtheꢀactualꢀratioꢀbeingꢀselectedꢀbyꢀtheꢀCKS2~CKS0ꢀandꢀHLCLKꢀbitsꢀinꢀtheꢀSMODꢀregister.ꢀ
Althoughꢀaꢀhighꢀspeedꢀoscillatorꢀisꢀused,ꢀrunningꢀtheꢀmicrocontrollerꢀatꢀaꢀdividedꢀclockꢀratioꢀreducesꢀ
theꢀoperatingꢀcurrent.
SLOW Mode
Thisꢀisꢀalsoꢀaꢀmodeꢀwhereꢀtheꢀmicrocontrollerꢀoperatesꢀnormallyꢀalthoughꢀnowꢀwithꢀaꢀslowerꢀ
speedꢀclockꢀsource.ꢀTheꢀclockꢀsourceꢀusedꢀwillꢀbeꢀsourcedꢀfromꢀtheꢀlowꢀspeedꢀoscillator,ꢀtheꢀLIRC.ꢀ
Runningꢀtheꢀmicrocontrollerꢀinꢀthisꢀmodeꢀallowsꢀitꢀtoꢀrunꢀwithꢀmuchꢀlowerꢀoperatingꢀcurrents.ꢀInꢀtheꢀ
SLOWꢀMode,ꢀfHꢀisꢀoff.
SLEEP Mode
TheꢀSLEEPꢀModeꢀisꢀenteredꢀwhenꢀanꢀHALTꢀinstructionꢀisꢀexecutedꢀandꢀtheꢀIDLENꢀbitꢀinꢀtheꢀ
SMODꢀregisterꢀisꢀlow.ꢀInꢀtheꢀSLEEPꢀmodeꢀtheꢀCPUꢀwillꢀbeꢀstopped.ꢀHoweverꢀtheꢀfSUBꢀandꢀfSꢀclocksꢀ
willꢀcontinueꢀtoꢀoperateꢀifꢀtheꢀWatchdogꢀTimerꢀfunctionꢀisꢀenabledꢀandꢀitsꢀclockꢀsourceꢀisꢀfromꢀfSUB
.
IDLE0 Mode
TheꢀIDLE0ꢀModeꢀisꢀenteredꢀwhenꢀaꢀHALTꢀinstructionꢀisꢀexecutedꢀandꢀwhenꢀtheꢀIDLENꢀbitꢀinꢀtheꢀ
SMODꢀregisterꢀisꢀhighꢀandꢀtheꢀFSYSONꢀbitꢀinꢀtheꢀCTRLꢀregisterꢀisꢀlow.ꢀInꢀtheꢀIDLE0ꢀModeꢀtheꢀ
systemꢀoscillatorꢀwillꢀbeꢀinhibitedꢀfromꢀdrivingꢀtheꢀCPUꢀbutꢀsomeꢀperipheralꢀfunctionsꢀwillꢀremainꢀ
operationalꢀsuchꢀasꢀtheꢀWatchdogꢀTimerꢀandꢀTimer/EventꢀCounter.ꢀInꢀtheꢀIDLE0ꢀMode,ꢀtheꢀsystemꢀ
oscillatorꢀwillꢀbeꢀstoppedꢀandꢀtheꢀWatchdogꢀTimerꢀclock,ꢀfS,ꢀwillꢀbeꢀstillꢀon.
IDLE1 Mode
TheꢀIDLE1ꢀModeꢀisꢀenteredꢀwhenꢀanꢀHALTꢀinstructionꢀisꢀexecutedꢀandꢀwhenꢀtheꢀIDLENꢀbitꢀinꢀ
theꢀSMODꢀregisterꢀisꢀhighꢀandꢀtheꢀFSYSONꢀbitꢀinꢀtheꢀCTRLꢀregisterꢀisꢀhigh.ꢀInꢀtheꢀIDLE1ꢀModeꢀ
theꢀsystemꢀoscillatorꢀwillꢀbeꢀinhibitedꢀfromꢀdrivingꢀtheꢀCPUꢀbutꢀmayꢀcontinueꢀtoꢀprovideꢀaꢀclockꢀ
sourceꢀtoꢀkeepꢀsomeꢀperipheralꢀfunctionsꢀoperationalꢀsuchꢀasꢀtheꢀWatchdogꢀTimerꢀandꢀTimer/Eventꢀ
Counter.ꢀInꢀtheꢀIDLE1ꢀMode,ꢀtheꢀsystemꢀoscillatorꢀwillꢀcontinueꢀtoꢀrun,ꢀandꢀthisꢀsystemꢀoscillatorꢀ
mayꢀbeꢀhighꢀspeedꢀorꢀlowꢀspeedꢀsystemꢀoscillator.ꢀInꢀtheꢀIDLE1ꢀModeꢀtheꢀWatchdogꢀTimerꢀclock,ꢀ
fS,ꢀwillꢀbeꢀon.
Rev. 1.00
ꢄ6
�eꢀꢁꢂaꢁꢃ ꢄꢅꢆ ꢄ01ꢇ