Electronic Components Datasheet Search
  English  ▼

X  

4570 Datasheet(PDF) 26 Page - Renesas Technology Corp

Part # 4570
Description  SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
PDF  69 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

4570 Datasheet(HTML) 26 Page - Renesas Technology Corp

Back Button 4570 Datasheet HTML 22Page - Renesas Technology Corp 4570 Datasheet HTML 23Page - Renesas Technology Corp 4570 Datasheet HTML 24Page - Renesas Technology Corp 4570 Datasheet HTML 25Page - Renesas Technology Corp 4570 Datasheet HTML 26Page - Renesas Technology Corp 4570 Datasheet HTML 27Page - Renesas Technology Corp 4570 Datasheet HTML 28Page - Renesas Technology Corp 4570 Datasheet HTML 29Page - Renesas Technology Corp 4570 Datasheet HTML 30Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 26 / 69 page
background image
25
MITSUBISHI MICROCOMPUTERS
4570 Group
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
WATCHDOG TIMER
Watchdog timer provides a method to reset the system when a
program runs wild. Watchdog timer consists of 16-bit timer (WDT),
watchdog timer enable flag (WEF), and watchdog timer flags
(WDF1, WDF2).
Timer WDT starts downcounting the instruction clocks as the
count source immediately after system is released from reset.
The underflow signal is generated when the count value reaches
“000016.” This underflow signal can be used as the timer 2 count
source.
When the WRST instruction is executed after system is released
from reset, the WEF flag is set to “1.” At this time, the watchdog
timer starts operating.
When the count value of timer WDT reaches “BFFF16” or
“3FFF16,” WDF1 flag is set to “1.” Then, if the WRST instruction
is not executed while the timer WDT counts 32767, the WDF2
______
flag is set to “1” and the RESET pin outputs “L” level to reset the
microcomputer. In software using the watchdog timer, make sure
that the WRST instruction is executed in 32766 machine cycles
or less in order to keep the microcomputer operating normally.
To prevent the watchdog timer from stopping in the event of
misoperation, the WEF flag is designed not to be initialized once
the WRST instruction has been executed. Note also that, if the
WRST instruction is never executed, the watchdog timer does
not start.
Fig. 20 Watchdog timer function
Fig. 21 Program example to enter the RAM back-up mode
when using the watchdog timer
Value of timer WDT
Flag WDF2
RESET pin output
System reset
WRST instruction
execution
Flag WEF
FFFF16
0000 16
Flag WDF1
3FFF16
BFFF16
WRST instruction
execution
The contents of the WEF flag, the WDF1 and WDF2 flags and
the timer WDT are initialized at the RAM back-up mode.
However, if the WDF2 flag is set to “1” at the same time that the
microcomputer enters the RAM back-up mode, system reset may
be performed.
When using the watchdog timer and the RAM back-up mode,
initialize the WDF1 flag with the WRST instruction just before
the microcomputer enters the RAM back-up mode (refer to Figure
21).
•
•
••
•
•
POF
EPOF
; POF instruction execution enabled
(RAM back-up mode)
Oscillation stop
WRST
; Clear WDF1 flag



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


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