HT48R063/064/065/066/0662/067
Oscillator
I
O
C
n
t
e
r
n
C
1
O
S
C
1
s
c
i
l
l
Various oscillator options offer the user a wide range of
functions according to their various application require-
ments. The flexible features of the oscillator functions
ensure that the best optimisation can be achieved in
terms of speed and power saving. Oscillator selections
and operation are selected through a combination of
configuration options and registers.
i
r
c
u
i
R
p
R
f
T
o
i
n
t
c
i
r
c
u
i
O
S
C
2
C
2
N
o
t
e
:
1
.
R
p
i
s
n
o
r
m
a
l
l
y
2
.
A
l
t
h
o
u
g
h
n
o
t
v
s
e
h
o
a
w
n
p
System Oscillator Overview
c
a
p
a
c
i
t
a
n
c
e
o
f
a
r
o
Crystal/Resonator Oscillator - HXT
In addition to being the source of the main system clock
the oscillators also provide clock sources for the Watch-
dog Timer and Time Base functions. External oscillators
requiring some external components as well as a two
fully integrated internal oscillators, requiring no external
components, are provided to form a wide range of both
fast and slow system oscillators.
Crystal Oscillator C1 and C2 Values
Crystal Frequency
12MHz
C1
8pF
C2
10pF
10pF
10pF
8MHz
8pF
4MHz
8pF
Type
Name
Freq.
Pins
1MHz
100pF
100pF
400kHz~
12MHz
OSC1/
OSC2
External Crystal
HXT
Note: C1 and C2 values are for guidance only.
400kHz~
12MHz
Crystal Recommended Capacitor Values
External RC
ERC
OSC1
External RC Oscillator - ERC
Internal High
Speed RC
HIRC 4, 8 or 12MHz
¾
Using the ERC oscillator only requires that a resistor,
with a value between 24kW and 1.5MW, is connected
between OSC1 and VDD, and a capacitor is connected
between OSC and ground, providing a low cost oscilla-
tor configuration. It is only the external resistor that de-
termines the oscillation frequency; the external
capacitor has no influence over the frequency and is
connected for stability purposes only. Device trimming
during the manufacturing process and the inclusion of
internal frequency compensation circuits are used to en-
sure that the influence of the power supply voltage, tem-
perature and process variations on the oscillation
frequency are minimised. As a resistance/frequency ref-
erence point, it can be noted that with an external 120K
resistor connected and with a 5V voltage power supply
and temperature of 25 degrees, the oscillator will have a
frequency of 4MHz within a tolerance of 2%. Here only
the OSC1 pin is used, which is shared with I/O pin PA6,
leaving pin PA5 free for use as a normal I/O pin.
OSC1/
OSC2
External Low
Speed Crystal
LXT
32768Hz
XT1/
XT2*
Internal Low
Speed RC
LIRC
13kHz
¾
²*² For HT48R0662/HT48R067 only
System Clock Configurations
There are five system oscillators. Three high speed os-
cillators and two low speed oscillators. The high speed
oscillators are the external crystal/ceramic oscillator -
HXT, the external - ERC, and the internal RC oscillator -
HIRC. The two low speed oscillator are the external
32768Hz oscillator - LXT and the internal 13kHz
(VDD=5V) oscillator - LIRC.
V
D
D
External Crystal/Resonator Oscillator - HXT
The simple connection of a crystal across OSC1 and
OSC2 will create the necessary phase shift and feed-
back for oscillation. However, for some crystals and
most resonator types, to ensure oscillation and accurate
frequency generation, it is necessary to add two small
value external capacitors, C1 and C2. The exact values
of C1 and C2 should be selected in consultation with the
crystal or resonator manufacturer¢s specification.
R
O
S
C
P
A
6
/
O
S
C
1
4
7
0
p
F
P
A
5
/
O
S
C
2
External RC Oscillator - ERC
Rev. 1.10
25
June 9, 2009