HT45F12
8-Bit Flash MCU with Op Amps & Comparators
Selectingꢀwhetherꢀtheꢀlowꢀorꢀhighꢀspeedꢀoscillatorꢀisꢀusedꢀasꢀtheꢀsystemꢀoscillatorꢀisꢀimplementedꢀ
usingꢀtheꢀHLCLKꢀbitꢀandꢀLCKS2~LCKS0ꢀbitsꢀinꢀtheꢀSYSMODꢀregisterꢀandꢀasꢀtheꢀsystemꢀclockꢀ
canꢀbeꢀdynamicallyꢀselected.ꢀTheꢀactualꢀsourceꢀclockꢀusedꢀforꢀeachꢀofꢀtheꢀhighꢀspeedꢀandꢀlowꢀspeedꢀ
oscillatorsꢀisꢀchosenꢀviaꢀconfigurationꢀoptions.ꢀTheꢀfrequencyꢀofꢀtheꢀslowꢀspeedꢀorꢀhighꢀspeedꢀ
systemꢀclockꢀisꢀalsoꢀdeterminedꢀusingꢀtheꢀHLCLKꢀbitꢀandꢀLCKS2~LCKS0ꢀbitsꢀinꢀtheꢀSYSMODꢀ
register.ꢀNoteꢀthatꢀtwoꢀoscillatorꢀselectionsꢀmustꢀbeꢀmadeꢀnamelyꢀoneꢀhighꢀspeedꢀandꢀoneꢀlowꢀspeedꢀ
systemꢀoscillators.ꢀItꢀisꢀnotꢀpossibleꢀtoꢀchooseꢀaꢀno-oscillatorꢀselectionꢀforꢀeitherꢀtheꢀhighꢀorꢀlowꢀ
speedꢀoscillator.
External Crystal/Ceramic Oscillator – HXT
TheꢀExternalꢀCrystal/CeramicꢀSystemꢀOscillatorꢀisꢀoneꢀofꢀtheꢀhighꢀfrequencyꢀoscillatorꢀchoices,ꢀ
whichꢀisꢀselectedꢀviaꢀconfigurationꢀoption.ꢀForꢀmostꢀcrystalꢀoscillatorꢀconfigurations,ꢀtheꢀsimpleꢀ
connectionꢀofꢀaꢀcrystalꢀacrossꢀOSC1ꢀandꢀOSC2ꢀwillꢀcreateꢀtheꢀnecessaryꢀphaseꢀshiftꢀandꢀfeedbackꢀforꢀ
oscillation,ꢀwithoutꢀrequiringꢀexternalꢀcapacitors.ꢀHowever,ꢀforꢀsomeꢀcrystalꢀtypesꢀandꢀfrequencies,ꢀ
toꢀensureꢀoscillation,ꢀitꢀmayꢀbeꢀnecessaryꢀtoꢀaddꢀtwoꢀsmallꢀvalueꢀcapacitors,ꢀC1ꢀandꢀC2.ꢀUsingꢀaꢀ
ceramicꢀresonatorꢀwillꢀusuallyꢀrequireꢀtwoꢀsmallꢀvalueꢀcapacitors,ꢀC1ꢀandꢀC2,ꢀtoꢀbeꢀconnectedꢀasꢀ
shownꢀforꢀoscillationꢀtoꢀoccur.ꢀTheꢀvaluesꢀofꢀC1ꢀandꢀC2ꢀshouldꢀbeꢀselectedꢀinꢀconsultationꢀwithꢀtheꢀ
crystalꢀorꢀresonatorꢀmanufacturer’sꢀspecification.
I
O
C
t
n
r
e
a
n
l
C
1
O
C
S
1
s
c
l
l
t
i
r
a
o
r
i
u
c
t
i
R
p
R
f
T
o
n
i
t
e
r
n
a
l
c
r
i
u
c
t
i
s
O
C
S
2
C
2
N
t
o
:
e
.
1
R
p
s
i
n
o
m
r
l
a
l
n
y
o
e
r
t
q
r
e
u
d
i
C
1
.
a
C
n
2
d
a
r
e
e
r
q
i
e
r
u
d
.
2
.
A
l
h
t
o
u
g
h
s
h
o
n
O
w
o
C
n
S
t
/
1
S
O
2
C
p
i
h
a
n
v
s
e
r
a
s
a
t
c
i
p
i
a
a
p
c
i
a
a
t
c
n
c
e
o
r
f
o
u
a
n
d
.
7
p
F
Crystal/Resonator Oscillator – HXT
Crystal Oscillator C1 and C2 Values
Crystal Frequency
1ꢄMHz
C1
0ꢀF
C2
0ꢀF
8MHz
0ꢀF
0ꢀF
4MHz
0ꢀF
0ꢀF
1MHz
100ꢀF
100ꢀF
Note: C1 and Cꢄ values aꢃe foꢃ guidance only.
Crystal Recommended Capacitor Values
Rev. 0.00
34
�eꢀteꢁꢂeꢃ ꢄꢅꢆ ꢄ01ꢄ