EasyManuals Logo

Maxim Integrated MAX32665 User Manual

Maxim Integrated MAX32665
457 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #382 background imageLoading...
Page #382 background image
MAX32665-MAX32668 User Guide
Maxim Integrated Page 382 of 457
As soon as possible after a reset, the application software should interrogate the WDTn_CTRL.rst_flag to determine if the
reset event resulted from a watchdog timer reset. If so, application software should assume that there was a program
execution error and take whatever steps necessary to guard against a software corruption issue.
19.3 Interrupt and Reset Period Timeout Configuration
Each watchdog timer supports two independent timeout periods, the interrupt period timeout and reset period timeout.
Interrupt Period Timeout: WDTn_CTRL.int_period sets the number of PCLK cycles until a watchdog timer interrupt
is generated. This period must be less than the Reset Period Timeout for the watchdog timer interrupt to occur.
Reset Period Timeout: WDTn_CTRL.rst_period sets the number of PCLK cycles until a system reset event occurs.
The interrupt and reset period timeouts are calculated using Equation 19-1 and Equation 19-2 respectively, where


. Table 19-1 shows example interrupt period timeout values.
Equation 19-1: Watchdog Timer Interrupt Period


󰇛

󰇜
Equation 19-2. Watchdog Timer Reset Period


󰇛

󰇜
Table 19-1: Watchdog Timer Interrupt Period fSYS_CLK = 96MHz and fPCLK = 48MHz
WDTn_CTRL
int_period
T
INT_PERIOD
(seconds)
15
0.001
14
0.003
13
0.005
12
0.011
11
0.022
10
0.044
9
0.087
8
0.175
7
0.350
6
0.699
5
1.398
4
2.796
3
5.592
2
11.185
1
22.370
0
Disabled
19.4 Timed Access Protection
The WDT is a critical system safeguard, and is protected against accidental accesses that would enable, disable, or reset the
watchdog timer.
The timed-access protection requires software to write two specific values to the timed-access register WDTn_RST.wdt_rst
during consecutive instruction cycles. This simultaneously resets the WDT and unlocks access to WDTn_CTRL.wdt_en for a

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Maxim Integrated MAX32665 and is the answer not in the manual?

Maxim Integrated MAX32665 Specifications

General IconGeneral
BrandMaxim Integrated
ModelMAX32665
CategoryMotherboard
LanguageEnglish