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.

WATCHDOG TIMER IN LAUNCHXL2-RM46

Other Parts Discussed in Thread: HALCOGEN

Hi,


I am new to embedded systems and i want to know the basic usage of watchdog timer in luanchxl2-rm46.

How to use watchdog timers without RTOS?

Can anyone please give a pseudocode as how to use watchdog timer to keep polling for adc_inputs every 100ms. and The basic settings to be done in halcogen to enable this.Please guide me.

Thanks in advance,

Shruthi

  • The watchdog timer is not the correct peripheral to use to generate time events such as reading an ADC input every 100ms. The RTI (real time interrupt) compare is a better choice. The watchdog timer is used to reset the part in case the device is stuck in some "infinite" loop and no longer able to respond and service realtime tasks.