Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

DS83C320-WNL Scheda tecnica(PDF) 135 Page - Dallas Semiconductor

Il numero della parte DS83C320-WNL
Spiegazioni elettronici  High-Speed Microcontroller User Guide
PDF  175 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  DALLAS [Dallas Semiconductor]
Homepage  https://www.maximintegrated.com/en.html
Logo DALLAS - Dallas Semiconductor

DS83C320-WNL Scheda tecnica(HTML) 135 Page - Dallas Semiconductor

Back Button DS83C320-WNL Datasheet HTML 131Page - Dallas Semiconductor DS83C320-WNL Datasheet HTML 132Page - Dallas Semiconductor DS83C320-WNL Datasheet HTML 133Page - Dallas Semiconductor DS83C320-WNL Datasheet HTML 134Page - Dallas Semiconductor DS83C320-WNL Datasheet HTML 135Page - Dallas Semiconductor DS83C320-WNL Datasheet HTML 136Page - Dallas Semiconductor DS83C320-WNL Datasheet HTML 137Page - Dallas Semiconductor DS83C320-WNL Datasheet HTML 138Page - Dallas Semiconductor DS83C320-WNL Datasheet HTML 139Page - Dallas Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 135 / 175 page
background image
High-Speed Microcontroller User’s Guide
135 of 175
The Watchdog Timer is a free running timer. When used as a simple timer with both the reset and
interrupt functions disabled (EWT = 0 and EWDI = 0), the timer will continue to set the Watchdog
Interrupt flag each time the timer completes the selected timer interval as programmed by WD1
(CKCON.7) and WD0 (CKCON.6).
Restarting the timer using the RWT (WDCON.0) bit, allows
software to use the timer in a polled time-out mode. The WDIF bit is cleared by software or any reset.
The Watchdog Interrupt is also available for applications that do not need a true Watchdog Reset but
simply a very long timer. The interrupt is enabled using the Enable Watchdog Timer Interrupt (EWDI =
EIE.4) bit. When the time-out occurs, the Watchdog Timer will set the WDIF bit (WDCON.3), and an
interrupt will occur if the global interrupt enable (EA = IE.7) is set. Note that WDIF is set 512 clocks
before a potential Watchdog Reset. The Watchdog Interrupt Flag will indicate the source of the interrupt,
and must be cleared by software.
Using the Watchdog Interrupt during software development can allow the user to select ideal watchdog
reset locations. Code is first developed without enabling the Watchdog Interrupt or Reset functions.
Once the program is complete, the Watchdog Interrupt function is enabled to identify the required
locations in code to set the RWT (WDCON.0) bit.
Incrementally adding instructions to reset the
Watchdog Timer prior to each address location (identified by the Watchdog Interrupt) will allow the code
to eventually run without receiving a Watchdog Interrupt. At this point the Watchdog Timer Reset can be
enabled without the potential of generating unwanted resets. At the same time the Watchdog Interrupt
may also be disabled. Proper use of the Watchdog Interrupt with the Watchdog Reset allows interrupt
software to survey the system for errant conditions.
When using the Watchdog Timer as a system monitor, the Watchdog Reset function should be used. If
the Interrupt function were used, the purpose of the watchdog would be defeated. For example, assume
the system is executing errant code prior to the Watchdog Interrupt. The interrupt would temporarily
force the system back into control by vectoring the CPU to the interrupt service routine. Restarting the
Watchdog and exiting by an RETI or RET, would return the processor to the lost position prior to the
interrupt. By using the Watchdog Reset function, the processor is restarted from the beginning of the
program, and therefore placed into a known state.
The Watchdog has four time-out selections based on the input crystal frequency as shown in the figure.
The selections are a preselected number of clocks. Therefore, the actual time-out interval is dependent on
the crystal frequency. Shown below are the four time-outs with some example periods for different
crystal speeds. Note that the time period shown is for the interrupt event. The reset, when enabled, will
occur 512 clocks later regardless of whether the interrupt is used. Therefore the actual Watchdog time-
out period is the number shown below plus 512 clocks. Watchdog generated resets will last for two
machine cycles.
WD1
WD0
WATCHDOG
INTERVAL
NUMBER
OF
CLOCKS
TIME AT
1.8432 MHz
TIME AT
11.0592 MHz
TIME AT
16 MHz
TIME AT
20 MHz
TIME AT
25 MHz
0
0
2
17
131072
71.11 ms
11.85 ms
8.19 ms
6.55 ms
5.24 ms
0
1
2
20
1048576
568.89 ms
94.81 ms
65.54 ms
52.43 ms
41.94 ms
1
0
2
23
8388608
4551.11 ms
758.52 ms
524.29 ms
419.43 ms
335.54 ms
1
1
2
26
67108864
36408.88 ms
6068.15 ms
4194.30 ms
3355.44 ms
2684.35 ms



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


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
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