This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

432 wdt configuration

Other Parts Discussed in Thread: ENERGIA

Hi,

  I am trying to configure the WDT based on the examples provided, wdt_interval_mode, and wdt_service_the_dog

   The 432 examples don't change the core frequency, which I guess is 3Mhz. 

   I readjusted the core frequency to 48Mhz, and to no surprise, the timeout occurs too quickly. 

   I figured I would just increase the WDT_A_CLOCKITERATIONS_x value by 12, however, on referencing the source code I see that WDT_A_CLOCKITERATIONS_x is a coded value and not a count.

Rather than iteratively try the different and see what happens, does anyone here have a  equation for converting code to seconds timeout per core frequency? 

These are the choices:

WDT_A_CLOCKITERATIONS_512K -> the wdt example. 

WDT_A_CLOCKITERATIONS_8192K 

WDT_A_CLOCKITERATIONS_128M 

WDT_A_CLOCKITERATIONS_2G

**Attention** This is a public forum