Operating Modes and System Clocks
Present day applications require that their microcontrollers have high performance but often still
demand that they consume as little power as possible, conflicting requirements that are especially true
in battery powered portable applications. The fast clocks required for high performance will by their
nature increase current consumption and of course vice-versa, lower speed clocks reduce current
consumption. As Holtek has provided these devices with both high and low speed clock sources and
the means to switch between them dynamically, the user can optimise the operation of their
microcontroller to achieve the best performance/power ratio.
System Clocks
The main system clock, can come from either a high frequency, f
H
, or low frequency, f
L
, source, and is
selected using the HLCLK bit and CKS2~CKS0 bits in the SMOD register. Both the high and low
speed system clocks are sourced from internal RC oscillators.
Rev. 1.50
38
April 28, 2020
BS83B08-3/B12-3/B16-3/B16G-3/C24-3
8-Bit Touch Key Flash MCU
S L E E P
T i m e B a s e c l o c k s o u r c e
d i s a b l e d i n S l E E P M o d e
H I R C
8 M H z / 1 2 M H z / 1 6 M H z
H i g h S p e e d O s c i l l a t o r
3 2 k H z
f
H I R C
f
S Y S
T i m e B a s e
f
L I R C
f
L I R C
H i g h S p e e d C l o c k S e l e c t
H I R C S 0 , H I R C S 1 b i t s
C l o c k S e l e c t
C K S 0 ~ C K S 2 b i t s
6 - s t a g e P r e s c a l e r
f
H I R C
/ n
n = ( 2 , 4 , 8 , 1 6 , 3 2 o r 6 4 )
f
L I R C
L I R C
3 2 k H z
L o w S p e e d O s c i l l a t o r
P e r m a n e n t l y E n a b l e d
M
U
X
f
H I R C
/ n
o r
f
L I R C
M
U
X
F a s t / S l o w
C l o c k S e l e c t
H C L K b i t
W a t c h d o g T i m e r
T i m e r / E v e n t C o u n t e r
f
L I R C
f
H I R C
System Clock Configurations