HT48R063/064/065/066/0662/067
Internal RC Oscillator - HIRC
external parallel feedback resistor, Rp, is required. For
the HT48R063/HT48R064/HT48R065/HT48R066 de-
vices the LXT oscillator must be used together with the
HIRC oscillator. For the HT48R0662/HT48R067 de-
vices the LXT oscillator must be used together with ei-
ther the HXT, ERC or HIRC register.
The internal RC oscillator is a fully integrated system os-
cillator requiring no external components. The internal
RC oscillator has three fixed frequencies of either
4MHz, 8MHz or 12MHz. Device trimming during the
manufacturing process and the inclusion of internal fre-
quency compensation circuits are used to ensure that
the influence of the power supply voltage, temperature
and process variations on the oscillation frequency are
minimised. As a result, at a power supply of either 3V or
5V and at a temperature of 25 degrees, the fixed oscilla-
tion frequency of 4MHz, 8MHz or 12MHz will have a tol-
erance within 2%. Note that if this internal system clock
option is selected, as it requires no external pins for its
operation, I/O pins PA5 and PA6 are free for use as nor-
mal I/O pins.
LXT Oscillator C1 and C2 Values
Crystal Frequency
C1
C2
32768Hz
8pF
10pF
Note: 1. C1 and C2 values are for guidance only.
2. RP=5M~10MW is recommended.
32768 Hz Crystal Recommended Capacitor Values
For the HT48R0662/HT48R067, a configuration option
determines if the XT1/XT2 pins are used for the LXT os-
cillator or as I/O pins.
P
P
A
A
5
6
/
/
O
O
S
S
C
C
2
1
·
If the I/O option is selected then the XT1/XT2 pins can
be used as normal I/O pins.
I
n
t
e
r
n
a
l
R
C
O
s
c
i
l
l
a
t
o
r
·
If the ²LXT oscillator²is selected then the 32kHz crys-
tal should be connected to the XT1/XT2 pins.
N
o
P
t
e
A
:
5
/
P
A
6
u
s
e
d
a
s
Internal RC Oscillator - HIRC
External 32768Hz Crystal Oscillator - LXT
LXT Oscillator Low Power Function
The LXT oscillator can function in one of two modes, the
Quick Start Mode and the Low Power Mode. The mode
selection is executed using the LXTLP bit in the CTRL0
register.
When the microcontroller enters the Idle/Sleep Mode,
the system clock is switched off to stop microcontroller
activity and to conserve power. However, in many
microcontroller applications it may be necessary to keep
the internal timers operational even when the
microcontroller is in the Power-down Mode. To do this,
another clock, independent of the system clock, must be
provided. To do this a configuration option exists to allow
a high speed oscillator to be used in conjunction with a a
low speed oscillator, known as the LXT oscillator. The
LXT oscillator is implemented using a 32768Hz crystal
connected to pins OSC1/OSC2 for the HT48R063/
HT48R064/HT48R065/HT48R066 or connected to pins
XT1/XT2 for the HT48R0662/HT48R067. However, for
some crystals, to ensure oscillation and accurate fre-
quency 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. The
LXTLP Bit
LXT Mode
Quick Start
Low-power
0
1
After power on the LXTLP bit will be automatically
cleared to zero ensuring that the LXT oscillator is in the
Quick Start operating mode. In the Quick Start Mode the
LXT oscillator will power up and stabilise quickly. How-
ever, after the LXT oscillator has fully powered up it can
be placed into the Low-power mode by setting the
LXTLP bit high. The oscillator will continue to run but
with reduced current consumption, as the higher current
consumption is only required during the LXT oscillator
start-up. In power sensitive applications, such as battery
applications, where power consumption must be kept to
a minimum, it is therefore recommended that the appli-
cation program sets the LXTLP bit high about 2 seconds
after power-on.
I
O
C
n
t
e
r
n
a
C
1
s
c
i
l
l
a
i
r
c
u
i
t
It should be noted that, no matter what condition the
LXTLP bit is set to, the LXT oscillator will always func-
tion normally, the only difference is that it will take more
time to start up if in the Low-power mode.
R
p
z
3
2
7
6
8
H
I
n
t
e
r
n
a
O
s
c
i
l
l
a
T
c
o
i
n
t
e
i
r
c
u
i
t
C
2
Internal Low Speed Oscillator - LIRC
The LIRC is a fully self-contained free running on-chip
RC oscillator with a typical frequency of 13kHz at 5V re-
quiring no external components. When the device en-
ters the Idle/Sleep Mode, the system clock will stop
N
o
t
e
:
1
.
R
p
,
C
1
a
n
d
C
2
2
.
A
l
t
h
o
u
g
h
n
o
t
s
h
o
p
a
r
a
s
i
t
i
c
c
a
p
a
c
i
External LXT Oscillator
Rev. 1.10
26
June 9, 2009