參數(shù)資料
型號: M38507M8-XXXFP
廠商: Mitsubishi Electric Corporation
英文描述: SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
中文描述: 單芯片8位CMOS微機
文件頁數(shù): 44/99頁
文件大?。?/td> 1384K
代理商: M38507M8-XXXFP
44
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
3850 Group (Spec. H/A)
WATCHDOG TIMER
The watchdog timer gives a mean of returning to the reset status
when a program cannot run on a normal loop (for example, be-
cause of a software run-away). The watchdog timer consists of an
8-bit watchdog timer L and an 8-bit watchdog timer H.
Standard Operation of Watchdog Timer
When any data is not written into the watchdog timer control reg-
ister (address 0039
16
) after reset, the watchdog timer is in the
stop state. The watchdog timer starts to count down by writing an
optional value into the watchdog timer control register (address
0039
16
) and an internal reset occurs at an underflow of the watch-
dog timer H.
Accordingly, programming is usually performed so that writing to
the watchdog timer control register (address 0039
16
) may be
started before an underflow. When the watchdog timer control reg-
ister (address 0039
16
) is read, the values of the high-order 6 bits
of the watchdog timer H, STP instruction disable bit, and watch-
dog timer H count source selection bit are read.
G
Initial value of watchdog timer
At reset or writing to the watchdog timer control register (address
0039
16
), each watchdog timer H and L are set to
FF
16
.
Fig. 47 Structure of Watchdog timer control register
G
Watchdog timer H count source selection bit operation
Bit 7 of the watchdog timer control register (address 0039
16
) per-
mits selecting a watchdog timer H count source. When this bit is
set to
0
, the count source becomes the underflow signal of
watchdog timer L. The detection time is set to 131.072 ms at f(X
IN
)
= 8 MHz frequency and 32.768 s at f(X
CIN
) = 32 kHz frequency.
When this bit is set to
1
, the count source becomes the signal
divided by 16 for f(X
IN
) (or f(X
CIN
)). The detection time in this case
is set to 512
μ
s at f(X
IN
) = 8 MHz frequency and 128 ms at f(X
CIN
)
= 32 kHz frequency. This bit is cleared to
0
after reset.
G
Operation of STP instruction disable bit
Bit 6 of the watchdog timer control register (address 0039
16
) per-
mits disabling the STP instruction when the watchdog timer is in
operation.
When this bit is
0
, the STP instruction is enabled.
When this bit is
1
, the STP instruction is disabled, once the STP
instruction is executed, an internal reset occurs. When this bit is
set to
1
, it cannot be rewritten to
0
by program. This bit is
cleared to
0
after reset.
Fig. 46 Block diagram of Watchdog timer
X
IN
Data bus
X
CIN
1
0
0
0
0
1
Main clock division
ratio selection bits
(Note)
0
1
1
/
1
6
Watchdog timer H count
source selection bit
R
c
e
r
s
c
e
u
t
t
i
i
STP instruction disable bit
STP instruction
W
a
t
c
h
d
o
g
t
i
m
e
r
H
(
8
)
F
w
c
w
F
1
a
t
o
n
r
i
6
h
r
o
e
d
l
n
i
s
o
r
t
g
e
o
s
e
t
g
.
t
m
s
w
e
t
e
h
r
r
e
i
n
c
t
t
i
i
s
t
In
t
e
r
n
a
l
r
e
s
e
t
R
E
S
E
T
W
a
t
c
h
d
o
g
t
i
m
e
r
L
(
8
)
N
o
t
e
:
A
n
y
o
n
e
o
f
h
i
g
h
-
s
p
e
e
d
,
m
i
d
d
l
e
-
s
p
e
e
d
o
r
l
o
w
-
s
p
e
e
d
m
o
d
e
i
s
s
e
l
e
c
t
e
d
b
y
b
i
t
s
7
a
n
d
6
o
f
t
h
e
C
P
U
m
o
d
e
r
e
g
i
s
t
e
r
.
FF
16
is set when
watchdog timer
control register is
written to.
b
0
STP instruction disable bit
0: STP instruction enabled
1: STP instruction disabled
Watchdog timer H count source selection bit
0: Watchdog timer L underflow
1: f(X
IN
)/16 or f(X
CIN
)/16
W
a
t
c
h
d
o
g
t
i
m
e
r
H
(
f
o
r
r
e
a
d
-
o
u
t
o
f
h
i
g
h
-
o
r
d
e
r
6
b
i
t
)
Watchdog timer control register
(WDTCON : address 0039
16
)
b
7
相關(guān)PDF資料
PDF描述
M38504E6SP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38504E6SS SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38504M6-XXXSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38503M2H-XXXSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38504E6FP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M3851 BK001 制造商:Alpha Wire Company 功能描述:CBL 7COND 14AWG BLK 1000'
M3851 BK002 制造商:Alpha Wire Company 功能描述:CBL 7COND 14AWG BLK 500'
M3851 BK005 制造商:Alpha Wire Company 功能描述:CBL 7COND 14AWG BLK 100'
M38510/00102BCB 制造商:n/a 功能描述:38510/00102 S6I6B 制造商: 功能描述: 制造商:undefined 功能描述:
M38510/00103BCA 制造商:QP Semiconductor 功能描述:NAND GATE, TRIPLE 3-INPUT