Download RM0038 Reference manual
Transcript
Window watchdog (WWDG) RM0038 In some applications, the EWI interrupt can be used to manage a software system check and/or system recovery/graceful degradation, without generating a WWDG reset. In this case, the corresponding interrupt service routine (ISR) should reload the WWDG counter to avoid the WWDG reset, then trigger the required actions. The EWI interrupt is cleared by writing '0' to the EWIF bit in the WWDG_SR register. Note: When the EWI interrupt cannot be served, e.g. due to a system lock in a higher priority task, the WWDG reset will eventually be generated. 22.4 How to program the watchdog timeout You can use the formula in Figure 168 to calculate the WWDG timeout. Warning: When writing to the WWDG_CR register, always write 1 in the T6 bit to avoid generating an immediate reset. Figure 168. Window watchdog timing diagram 4;=#.4DOWNCOUNTER 7;= X& 2EFRESHNOTALLOWED 2EFRESHALLOWED 4IME 4BIT 2%3%4 AIC The formula to calculate the timeout value is given by: WDGTB[1:0] t WWDG = t PCLK1 × 4096 × 2 × ( T[5:0] + 1 ) where: tWWDG: WWDG timeout tPCLK1: APB1 clock period measured in ms 4096: value corresponding to internal divider 554/901 DocID15965 Rev 13 ( ms )
Related documents
Thesis - JFDuval
Errata sheet - STMicroelectronics
Modicon 984 Programmable Controller Systems Manual
BACHELOR THESIS
AN3413 - STMicroelectronics
ACL for Windows Version 7 Workbook
Getting started with the STM32 Nucleo board firmware package
User`s Manual Operations Manual Very Efficient Transmission
Description of STM32F30xx/31xx Standard Peripheral Library
Manual ARM Microcontroller Course E.T.S.V. Scintilla
Nor-840 User Manual - Campbell Associates
SYSMAC CX-Programmer Ver. 9._ OPERATION MANUAL