Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

HMS87C1202A Datasheet(PDF) 62 Page - Hynix Semiconductor

Part # HMS87C1202A
Description  8-BIT SINGLE-CHIP MICROCONTROLLERS
PDF  88 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HYNIX [Hynix Semiconductor]
Direct Link  http://www.skhynix.com/kor/main.do
Logo HYNIX - Hynix Semiconductor

HMS87C1202A Datasheet(HTML) 62 Page - Hynix Semiconductor

Back Button HMS87C1202A Datasheet HTML 58Page - Hynix Semiconductor HMS87C1202A Datasheet HTML 59Page - Hynix Semiconductor HMS87C1202A Datasheet HTML 60Page - Hynix Semiconductor HMS87C1202A Datasheet HTML 61Page - Hynix Semiconductor HMS87C1202A Datasheet HTML 62Page - Hynix Semiconductor HMS87C1202A Datasheet HTML 63Page - Hynix Semiconductor HMS87C1202A Datasheet HTML 64Page - Hynix Semiconductor HMS87C1202A Datasheet HTML 65Page - Hynix Semiconductor HMS87C1202A Datasheet HTML 66Page - Hynix Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 62 / 88 page
background image
HMS87C130XA/120XA/110XA
Apr. 2001 ver1.0
59
16. WATCHDOG TIMER
The purpose of the watchdog timer is to detect the mal-
function (runaway) of program due to external noise or
other causes and return the operation to the normal condi-
tion. The watchdog timer has two types of clock source.
The first type is an on-chip RC oscillator which does not
require any external components. This RC oscillator is sep-
arate from the external oscillator of the Xin pin. But the in-
ternal RC oscillated clock source should be activated by
execution of STOP instruction. It means that the watchdog
timer can not run even if the clock on the Xin pin of the
device has been stopped, for example, by entering the
STOP mode.
The other type is a prescaled system clock.
The watchdog timer consists of 7-bit binary counter and
the watchdog timer data register. The source clock of
WDT is overflow of Basic Interval Timer. When the value
of 7-bit binary counter is equal to the lower 7 bits of
WDTR, the interrupt request flag is generated. This can be
used as WDT interrupt or CPU reset signal in accordance
with the bit WDTON .
Note: Because the watchdog timer counter is enabled af-
ter clearing Basic Interval Timer and setting the
Watchdog Timer Register, maximum error of timer
is depend on prescaler ratio of Basic Interval Timer.
The 7-bit binary counter is cleared by setting WDTCL(bit7
of WDTR) and the WDTCL is cleared automatically after
1 machine cycle.
The RC oscillated watchdog timer is activated by setting
the bit RCWDT of CKCTLR and executing the STOP in-
struction as shown below.
The RC oscillation period is variable according to the tem-
perature, VDD and process variations from part to part (ap-
proximately, 120~180uS at 5V). The following equation
shows the RC oscillated watchdog timer time-out.
T RCW DT=C LK RC×28×[W D TR .6~0]+ (C LK RC×28)/2
w h ere, C L K RC = 1 20~ 1 80u S
In addition, this watchdog timer can be used as a simple 7-
bit timer by interrupt WDTIF. The interval of watchdog
timer interrupt is decided by Basic Interval Timer. Interval
equation is as below.
TWDT = [WDTR.6~0] ×
××× Interval of BIT
Figure 16-1 Block Diagram of Watchdog Timer
:
LDM
CKCTLR,#3FH
; enable the RC-osc WDT
LDM
WDTR,#0FFH
; set the WDT period
STOP
; enter the STOP mode
NOP
NOP
; RC-osc WDT running
:
÷ 8
÷ 16
÷ 128
÷ 256
÷ 512
÷ 1024
÷ 32
÷ 64
0
1
MUX
8
3
fXIN
BITR (8-bit)
BTS[2:0]
Internal RC OSC
Basic Interval Timer
Interrupt
BTCL
Clear
Watchdog Timer
BITIF
7-bit Counter
WDTR (8-bit)
OFD
WDTCL
WDTON
Interrupt Request
CPU RESET
1
0
Clock Control Register
CKCTLR
ADDRESS : ECH
RESET VALUE : -0010111
-
WAKEUP RCWDT
WDTON
BTCL
BTS2
BTS1
BTS0
-
0X
1
X
XXX
Watchdog Timer Register
WDTR
ADDRESS : EDH
RESET VALUE : 01111111
WDTCL
7-bit Watchdog Counter Register
Overflow Detection
Bit Manipulation Not Available
Bit Manipulation Not Available
STOP
WAKEUP
RCWDT



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com