LPC5526 Maximum Watchdog timeout value

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC5526 Maximum Watchdog timeout value

329 Views
jtauch1
Contributor I

From LPC55S6x/LPC55S2x/LPC552x User manual ch30

I just want to confirm that the following is the max watchdog time-out value. If this is the case is there 

any way to reach a time-out value of 10 minutes.

 

The user manual says:

The watchdog consists of a fixed (divide by 4) pre-scaler and a 24-bit counter which
decrements when clocked. This provides a  selectable time period from 1,024 watchdog clocks (TWDCLK × 256 × 4) to over 67 million watchdog clocks (TWDCLK × 2^24 × 4) in increments of four watchdog clocks.

Given that WDTCLK is 1MHZ and has a fixed divide by 4 = 250KHz, then the max timeout value is approx 268 sec or 4.47 min. 

Is the above correct? If so is there any way to change the Watchdog clock to a slower clock? ideally, we would like to have a 10 minute timeout value.

Thanks,

John

0 Kudos
1 Reply

269 Views
Xu_Zhang
NXP Employee
NXP Employee

hi,jtauch1

 The way you calculate the watchdog's maximum timeout value is fine, and if you want to change the watchdog clock to a slower clock, you can focus on the WDTCLKDIV register.

Xu_Zhang_0-1693360403399.pngXu_Zhang_1-1693360409874.png

BR

Xu Zhang

0 Kudos