Electronic Components Datasheet Search
  English  ▼

X  

4502 Datasheet(PDF) 143 Page - Renesas Technology Corp

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

4502 Datasheet(HTML) 143 Page - Renesas Technology Corp

Back Button 4502 Datasheet HTML 139Page - Renesas Technology Corp 4502 Datasheet HTML 140Page - Renesas Technology Corp 4502 Datasheet HTML 141Page - Renesas Technology Corp 4502 Datasheet HTML 142Page - Renesas Technology Corp 4502 Datasheet HTML 143Page - Renesas Technology Corp 4502 Datasheet HTML 144Page - Renesas Technology Corp 4502 Datasheet HTML 145Page - Renesas Technology Corp 4502 Datasheet HTML 146Page - Renesas Technology Corp 4502 Datasheet HTML 147Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 143 / 214 page
background image
2.3 Timers
2-26
Rev.2.01
Feb 02, 2005
4502 Group
APPLICATION
REJ09B0193-0201
(4)
Timer operation: timer start by external input
Outline: The constant period can be measured by external input.
Specifications: System clock frequency f(XIN) = 4 MHz and timer 1 operates by INT input as a
trigger and an interrupt occurs after 1 ms.
Figure 2.3.6 shows the setting example of timer start.
(5)
Watchdog timer
Watchdog timer provides a method to reset the system when a program run-away occurs.
Accordingly, when the watchdog timer function is set to be valid, execute the WRST instruction at
a certain period which consists of timer 16-bit timers’ 65534 counts or less (execute WRST instruction
at a cycle of 65534 machine cycles or less).
Outline: Execute the WRST instruction in 16-bit timer’s 65534 counts at the normal operation. If a
program runs incorrectly, the WRST instruction is not executed and system reset occurs.
Specifications: System clock frequency f(XIN) = 4.0 MHz is used, and program run-away is detected
by executing the WRST instruction in 49 ms.
Figure 2.3.2 shows the watchdog timer function, and Figure 2.3.7 shows the example of watchdog
timer.
Fig. 2.3.2 Watchdog timer function
65534 count
(Note)
Value of 16-bit timer (WDT)
WDF1 flag
➂ WRST instruction
executed
(skip executed)
RESET pin output
WDF2 flag
➄ System reset
➀ Reset
released
➀ After system is released from reset (= after program is started), timer WDT starts count down.
➁ When timer WDT underflow occurs, WDF1 flag is set to “1.”
➂ When the WRST instruction is executed, WDF1 flag is cleared to “0,” the next instruction is skipped.
➃ When timer WDT underflow occurs while WDF1 flag is “1,” WDF2 flag is set to “1” and the
watchdog reset signal is output.
➄ The output transistor of RESET pin is turned “ON” by the watchdog reset signal and system reset is
executed.
Note: The number of count is equal to the number of machine cycle because the count source of watchdog timer
is the instruction clock.
FFFF16
000016
➁
➁
➃



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 89 90 91 92 93 94 95 96 97 98 99 100  ...More


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