Created Tue, 06 Mar 2012 19:20:38 +0000 by owendelong
Tue, 06 Mar 2012 19:20:38 +0000
I want to use the WDT in my Max32 application. It appears that the PostScaler value (time period) can only be controlled by setting a configuration variable.
I'm using MPIDE which apparently does not provide access to the configuration registers (at least not through #pragma config). How do I go about setting the WDT PostScaler value in an MPIDE sketch?
Thu, 08 Mar 2012 12:22:40 +0000
Hello,
The WDT post scale value can be modified in the DEVCFG1 register. This register is described on page 1085 of this document:
http://ww1.microchip.com/downloads/en/DeviceDoc/61132B.pdf
Best Regards, Ryan K