| Electronic Components Datasheet Search |
|
RM0312 Datasheet(PDF) 93 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
RM0312 Datasheet(HTML) 93 Page - STMicroelectronics |
|
93 / 275 page ![]() 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 |
|
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 |
| 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 |