Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

HT49R50A-1 View Datasheet(PDF) - Holtek Semiconductor

Part Name
Description
MFG CO.
HT49R50A-1
Holtek
Holtek Semiconductor Holtek
'HT49R50A-1' PDF : 45 Pages View PDF
HT49R50A-1/HT49C50-1/HT49C50L
Watchdog Timer - WDT
The WDT clock source is implemented by a dedicated
RC oscillator (WDT oscillator) or an instruction clock
(system clock/4) or a real time clock oscillator (RTC os-
cillator). The timer is designed to prevent a software
malfunction or sequence from jumping to an unknown
location with unpredictable results. The WDT can be
disabled by option. But if the WDT is disabled, all execu-
tions related to the WDT lead to no operation.
The WDT time-out period is as fS/216~fS/215.
If the WDT clock source chooses the internal WDT oscilla-
tor, the time-out period may vary with temperature, VDD,
and process variations. On the other hand, if the clock
source selects the instruction clock and the ²HALT² in-
struction is executed, WDT may stop counting and lose its
protecting purpose, and the logic can only be restarted by
an external logic.
When the device operates in a noisy environment, using
the on-chip RC oscillator (WDT OSC) is strongly recom-
mended, since the HALT can stop the system clock.
The WDT overflow under normal operation initializes a
²chip reset² and sets the status bit ²TO². In the HALT
mode, the overflow initializes a ²warm reset², and only
the program counter and SP are reset to zero. To clear
the contents of the WDT, there are three methods to be
adopted, i.e., external reset (a low level to RES), soft-
ware instruction, and a ²HALT² instruction. There are
two types of software instructions; ²CLR WDT² and the
other set - ²CLR WDT1² and ²CLR WDT2². Of these
two types of instruction, only one type of instruction can
be active at a time depending on the options - ²CLR
WDT² times selection option. If the ²CLR WDT² is se-
lected (i.e., CLR WDT times equal one), any execution
of the ²CLR WDT² instruction clears the WDT. In the
case that ²CLR WDT1² and ²CLR WDT2² are chosen
(i.e., CLR WDT times equal two), these two instructions
have to be executed to clear the WDT; otherwise, the
WDT may reset the chip due to time-out.
Multi-function Timer
These devices provide a multi-function timer for the WDT,
time base and RTC but with different time-out periods. The
multi-function timer consists of a 7-stage divider and an
8-bit prescaler, with the clock source coming from the
WDT OSC or RTC OSC or the instruction clock (i.e., sys-
tem clock divided by 4). The multi-function timer also pro-
vides a selectable frequency signal (ranges from fS/22 to
fS/28) for LCD driver circuits, and a selectable frequency
signal (ranges from fS/22 to fS/29) for the buzzer output by
option. It is recommended to select a near 4kHz signal to
LCD driver circuits for proper display.
Time Base
The time base offers a periodic time-out period to gener-
ate a regular internal interrupt. Its time-out period
ranges from fS/212 to fS/215 selected by options. If time
base time-out occurs, the related interrupt request flag
(TBF; bit 5 of INTC1) is set. But if the interrupt is en-
abled, and the stack is not full, a subroutine call to loca-
tion 14H occurs. The time base time-out signal also can
be applied to be a clock source of Timer/Event Counter
1 for getting a longer timer-out period.
fS
D iv id e r
P r e s c a le r
O p tio n
O p tio n
L C D D r iv e r ( fS /2 2 ~ fS /2 8 )
B u z z e r (fS /2 2 ~ fS /2 9 )
Time Base
T im e B a s e In te rru p t
(fS /2 12 ~ fS /2 15 )
Real Time Clock - RTC
The real time clock (RTC) is operated in the same man-
ner as the time base that is used to supply a regular in-
ternal interrupt. Its time-out period ranges from fS/28 to
fS/215 by software programming . Writing data to RT2,
RT1 and RT0 (bit2, 1, 0 of RTCC;09H) yields various
time-out periods. If the RTC time-out occurs, the related
interrupt request flag (RTF; bit 6 of INTC1) is set. But if
the interrupt is enabled, and the stack is not full, a sub-
routine call to location 18H occurs. The real time clock
fS
D iv id e r
P r e s c a le r
R T2
R T1
R T0
8 to 1
M ux.
f S / 2 1 2~ f S / 2 1 5
R T C In te rru p t
Real Time Clock
S y s te m C lo c k /4
R TC
O SC
32768H z
W
O
DT
SC
12kH
z
O p tio n fS
S e le c t
D iv id e r
P r e s c a le r
W D T C le a r
Watchdog Timer
CK T
CK T
R
R
T im e - o u t R e s e t
fS /2 16 ~ fS /2 15
Rev. 2.40
14
July 30, 2012
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]