LPC1347 - IRC as WatchDog Clock

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by BPC on Fri Feb 08 11:38:19 MST 2013
Are there any WatchDog examples for the LPC1347 which uses the IRC as the WatchDog clock?  I tried to implement it, but the device resets immediately.  This is what I tried.

- Enabled WDT config clock (SYSAHBCLKCTRL)
- Made sure the IRC was powered up (PDRUNCFG)
- Selected IRC as source (CLKSEL)
- Loaded timer value (TC)
- Enabled interrupt and armed to generate reset (MOD)
- Fed the watchdog with 0xAA then 0x55 (FEED)