What is watchdog timer in LPC2148?

What is watchdog timer in LPC2148?

LPC2148 has an inbuilt watchdog timer. The watchdog when enabled generates a system reset if the user program fails to feed (or reload) the watchdog within a predetermined amount of time. The watchdog consists of a fixed divide by 4 prescalar and a 32-bit counter. The clock is fed to the timer through the prescalar.

How do you set a watchdog timer?

Click the Start menu and then choose Control Panel. In the Windows control panel, select the System and Security category, and then click RTX64. Click Configure the RTSS Subsystem > Configure the Watchdog Timer.

What is the purpose of watchdog timer?

A watchdog timer (WDT) is a timer that monitors microcontroller (MCU) programs to see if they are out of control or have stopped operating. It acts as a “watchdog” watching over MCU operation. A microcontroller (MCU) is a compact processor for controlling electronic devices.

How many timers are available on LPC2148?

LPC2148 has two 32-bit timers/counters:Timer0/Counter0 & Timer1/Counter1.

What happens when the watchdog timer overflows?

A watchdog timer (WDT for short) is a simple timer used to monitor whether the program is operating normally or not. The timer itself can be cleared from the program it is monitoring, but it cannot be stopped. When the watchdog timer overflows, the WDT interrupt is generated and a reset occurs.

What does the watchdog timer peripheral offer the developer?

The WDT is activated when its time-out period is exceeded. It is a free running timer independent of the main system clock. It’s when those instructions are not executed, such as when an external interference affects the proper operation, that the WDT will engage and reset the device.

How much electric Do timers use?

Power consumption of timers A mechanical timer consumes about 1 Watt per hour. That means 24 Watt per day. A digital timer usually consumes a little bit more power. Here, the power consumption is about 2 Watt per hour.

What is the size of timers in LPC2148?

32-bit
The LPC2148 has two functionally identical general purpose timers: Timer0 and Timer1. These both timers are 32-bit along with 32-bit prescaler. Timer allows us to generate precise time delay.

What is the most accurate timer?

According to the most accurate caesium atomic clock in the world, 1 second is the time that elapses during 9,192,631,770 cycles of the radiation produced by the transition between two levels of the caesium 133 atom.

What are the three types of timers?

There are three types of PLC timers:

  • ON delay timer (TON)
  • OFF delay timer (TOFF)
  • Retentive Timer (RTO)

What is timer in LPC2148?

Most microcontrollers comes with built-in timer peripheral. The LPC2148 has two functionally identical general purpose timers: Timer0 and Timer1. These both timers are 32-bit along with 32-bit prescaler. Timer allows us to generate precise time delay.

What is the function of thetimer control register?

Timer Control Register is used to control the functions of the timer/counter. It is used to enable/disable or reset the Timer Counter. When the first bit (TSR [0]) is 0, Timer Counter and Prescale Counter are disabled.

What is timer and counter in microcontroller?

In general, timer means exactly how it sounds. Timer and counter is very important feature which allows us to provide time variable to our microcontroller based project. Most microcontrollers comes with built-in timer peripheral.

What are matchmatch and timer counter registers?

Match Registers: The Match register values are continuously compared to the Timer Counter value. When the two values are equal, actions can be triggered automatically. The action possibilities are to generate an interrupt, reset the Timer Counter, or stop the timer. Actions are controlled by the settings in the MCR register.

author

Back to Top