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

X  

RM0312 Datasheet(PDF) 93 Page - STMicroelectronics

Part # RM0312
Description  STM8TL5xxx microcontroller family
PDF  275 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

RM0312 Datasheet(HTML) 93 Page - STMicroelectronics

Back Button RM0312 Datasheet HTML 89Page - STMicroelectronics RM0312 Datasheet HTML 90Page - STMicroelectronics RM0312 Datasheet HTML 91Page - STMicroelectronics RM0312 Datasheet HTML 92Page - STMicroelectronics RM0312 Datasheet HTML 93Page - STMicroelectronics RM0312 Datasheet HTML 94Page - STMicroelectronics RM0312 Datasheet HTML 95Page - STMicroelectronics RM0312 Datasheet HTML 96Page - STMicroelectronics RM0312 Datasheet HTML 97Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 93 / 275 page
background image
DocID022352 Rev 3
93/275
RM0312
Window watchdog (WWDG)
97
14
Window watchdog (WWDG)
14.1
Introduction
The window watchdog is used to detect the occurrence of a software fault, usually
generated by external interference or by unforeseen logical conditions, which causes the
application program to abandon its normal sequence. The watchdog circuit generates an
MCU reset on expiry of a programmed time period, unless the program refreshes the
contents of the downcounter before the T6 bit becomes cleared. An MCU reset is also
generated if the 7-bit downcounter value (in the control register) is refreshed before the
downcounter has reached the window register value. This implies that the counter must be
refreshed in a limited window.
14.2
WWDG main features
Programmable free-running downcounter
Conditional reset
Reset (if watchdog activated) when the downcounter value becomes less than
0x40
Reset (if watchdog activated) if the downcounter is reloaded outside the window
(see Figure 17)
Hardware/software watchdog activation (selectable by option byte)
Optional reset on HALT instruction (configurable by option byte)
14.3
WWDG functional description
If the watchdog is activated (the WDGA bit is set) and when the 7-bit downcounter (T[6:0]
bits) rolls over from 0x40 to 0x3F (T6 becomes cleared), it initiates a reset cycle pulling low
the reset pin. If the software refreshes the counter while the counter is greater than the
value stored in the window register, then a reset is generated.
Figure 16. Watchdog block diagram
RESET
WDGA
6-BIT DOWNCOUNTER (CNT)
T6
WATCHDOG CONTROL REGISTER (wWDG_CR)
T1
T2
T3
T4
T5
-
W6
W0
WATCHDOG WINDOW REGISTER (WWDG_WR)
W1
W2
W3
W4
W5
comparator
T6:0 > W6:0
CMP
= 1 when
Write WWDG_CR
WDG PRESCALER
DIV 12288
fMASTER
T0



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