HT46R01B-1/HT46R01N-1
HT48R01B-1/HT48R01N-1
Oscillator
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.
System Oscillator Overview
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.
Type
Name Freq. Pins
External Crystal
HXT
400kHz~
12MHz
OSC1
OSC2
External RC
ERC
400kHz~
12MHz
OSC1
Internal High Speed RC HIRC
4, 8 or
12MHz
¾
External Low Speed
Crystal
LXT
32768Hz
OSC1
OSC2
Internal Low Speed RC LIRC 13kHz
¾
Oscillator Types
System Clock Configurations
There are four system oscillators implemented in this
device, three high speed oscillators and one low speed
oscillator. The high speed oscillators are the external
crystal/ceramic oscillator -- HXT, the external RC oscil-
lator -- ERC and the internal RC oscillator -- HIRC. The
low speed oscillator is the external 32.768 kHz crystal
oscillator -- LXT. The LXT oscillator can be used as the
system oscillator only when the HIRC oscillator is se-
lected as the high speed system oscillator for the de-
vices. Also there is an internal 15kHz RC oscillator
named LIRC oscillator used as the clock source for the
C1
O SC1
In te r n a l
O s c illa to r
C ir c u it
Rp
Rf
T o in te r n a l
C2
O SC2
c ir c u its
N o te : 1 . R p is n o r m a lly n o t r e q u ir e d . C 1 a n d C 2 a r e r e q u ir e d .
2 . A lth o u g h n o t s h o w n O S C 1 /O S C 2 p in s h a v e a p a r a s itic
c a p a c ita n c e o f a r o u n d 7 p F .
Crystal/Resonator Oscillator - HXT
WDT function. More details are described in the accom-
panying sections.
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.
Crystal Oscillator C1 and C2 Values
Crystal Frequency
C1
C2
12MHz
8pF
10pF
8MHz
8pF
10pF
4MHz
8pF
10pF
1MHz
100pF
100pF
Note: C1 and C2 values are for guidance only.
Crystal Recommended Capacitor Values
External RC Oscillator - ERC
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. Refer to the A.C. Characteris-
tics for more frequency accuracy details. 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.
V DD
R O SC
470pF
P A 6 /O S C 1
P A 5 /O S C 2
External RC Oscillator - ERC
Rev.1.00
20
June 9, 2011