SlideShare a Scribd company logo
1 of 1
Registers of Watch dog Timer:
1. WDMOD (Watchdog Mode Register)
It is an 8-bit read-write register
It is used to control the operation of the
watchdog.
Bit 0 – WDEN (Watchdog Interrupt Enable)
Bit 1 – WDRESET (Watchdog Reset Enable)
Bit 2 – WDTOF (Watchdog Time-Out Flag)
This bit is set when the watchdog times out.It is
cleared by software.
Bit 3 – WDINT (Watchdog Interrupt Flag)
This bit is set when the watchdog times out. This
bit is cleared when any reset occurs.It is a read
only bit.
2. WDTV (Watchdog Timer Value Register)
It is a 32-bit read only register.
It is used to read the current value of watchdog
timer.
3. WDFEED (Watchdog Feed Register)
It is an 8-bit write only register.
Writing a 0xAA followed by 0x55 to this register
will reload the watchdog timer with the WDTC
value..
uilt watchdog timer of LPC2148:
he watchdog consists of a fixed divide by 4 prescalar
d a 32-bit counter. The clock is fed to the timer
rough the prescalar.
he counter can be loaded with any value between 0xFF
d 0xFFFFFFFF. If the counter is loaded with any value
ss than 0xFF, the counter is initialized with a value
FF.
he watchdog needs to be fed with a pre-determined
quence of 0xAA followed by 0x55 before watchdog
mer underflows to prevent reset/interrupt.
tures of WatchDog Timer:
chdog Timer (WDT) can be helpful to
matically reset the system whenever a
out occurs.
em reset is required for preventing failure of
ystem in a situation of a hardware fault or
ram error.
e are countless applications where the system
ot afford to get stuck at a point (not even for
all duration of time). For example, in a radar
m, if the system hangs for 5 minutes, it can
t in serious repercussions (an enemy plane or
ile may go undetected resulting in huge
es).
system should be robust enough to
matically detect the failures quickly and reset
in order to recover from the failures and
tion normally without errors.
t is not always feasible to manually reset the
m, especially once it has been deployed.
vercome such problems, a watchdog timer is
ssary to automatically reset the system
out human intervention.
Applications Of Watchdog Timer:
An application in mobile phone is that display is off in case no GUI interaction takes place within a
watched time interval. This will save good amount of battery power.
• An application in temperature controller is that if controller takes no action to switch off the
current within preset watched time interval, the current is switched off and warning signal is
raised as indication of controller failure. Failure to switch off current may burst a boiler in which
water is heated.
• If Software hangs due to some bug/issue, it helps to reset the system automatically without any
human interactions.
4. WDTC (Watchdog Timer Constant
Register)
It is a 32-bit read-write register.
Every time a sequence feed occurs, the
WDTC content is loaded into the
watchdog timer.
The 8 least significant bits (bits 7:0) of this
register are set to 1 on reset.
Any value below 0xFF will cause 0xFF to
be loaded in this register. Hence, the
minimum timeout interval is (TPCLK * 256
* 4).
How to use the Watchdog in
LPC2148?
• Set the watchdog timer constant
reload value in the WDTC register
• Select the mode using the
WDMOD register
• Start the watchdog by feeding it
with 0xAA followed by 0x55 in
WDFEED register
• Make sure to feed the watchdog
again before the timer counter
underflows in order to prevent
reset/interrupt
• WDTOF can be monitored to
determine if the watchdog has
caused reset condition. The
WDTOF flag must be cleared using
software.
Prepared By-
TETB310-Shubham Patil.
TETB132-Srishti Kakade.

More Related Content

What's hot

Handling Interrupts in Microchip MCUs
Handling Interrupts in Microchip MCUsHandling Interrupts in Microchip MCUs
Handling Interrupts in Microchip MCUsCorrado Santoro
 
Micro controller 8051 Interrupts
Micro controller 8051 InterruptsMicro controller 8051 Interrupts
Micro controller 8051 Interruptsdharmesh nakum
 
32bit Cortex Arduinoの布教とラパイド実験のススメ
32bit Cortex Arduinoの布教とラパイド実験のススメ32bit Cortex Arduinoの布教とラパイド実験のススメ
32bit Cortex Arduinoの布教とラパイド実験のススメYuya Yamada
 
Exercises with timers and UART
Exercises with timers and UARTExercises with timers and UART
Exercises with timers and UARTCorrado Santoro
 
Timer And Counter in 8051 Microcontroller
Timer And Counter in 8051 MicrocontrollerTimer And Counter in 8051 Microcontroller
Timer And Counter in 8051 MicrocontrollerJay Makwana
 
Using Timer2 in Microchip MCUs
Using Timer2 in Microchip MCUsUsing Timer2 in Microchip MCUs
Using Timer2 in Microchip MCUsCorrado Santoro
 
Interrupt programming
Interrupt programming Interrupt programming
Interrupt programming vijaydeepakg
 
Microchip NANOWatt Technology
Microchip NANOWatt TechnologyMicrochip NANOWatt Technology
Microchip NANOWatt TechnologyEmanuele Bonanni
 
Using Timers in PIC18F Microcontrollers
Using Timers in PIC18F MicrocontrollersUsing Timers in PIC18F Microcontrollers
Using Timers in PIC18F MicrocontrollersCorrado Santoro
 
Handling Asynchronous Events in MCUs
Handling Asynchronous Events in MCUsHandling Asynchronous Events in MCUs
Handling Asynchronous Events in MCUsCorrado Santoro
 

What's hot (20)

Handling Interrupts in Microchip MCUs
Handling Interrupts in Microchip MCUsHandling Interrupts in Microchip MCUs
Handling Interrupts in Microchip MCUs
 
Jtagppt
JtagpptJtagppt
Jtagppt
 
Dsp 2812
Dsp 2812Dsp 2812
Dsp 2812
 
Micro controller 8051 Interrupts
Micro controller 8051 InterruptsMicro controller 8051 Interrupts
Micro controller 8051 Interrupts
 
Lecture 2 timers, pwm, state machine IN PIC
Lecture 2   timers, pwm, state machine IN PIC Lecture 2   timers, pwm, state machine IN PIC
Lecture 2 timers, pwm, state machine IN PIC
 
32bit Cortex Arduinoの布教とラパイド実験のススメ
32bit Cortex Arduinoの布教とラパイド実験のススメ32bit Cortex Arduinoの布教とラパイド実験のススメ
32bit Cortex Arduinoの布教とラパイド実験のススメ
 
Timers
TimersTimers
Timers
 
Exercises with timers and UART
Exercises with timers and UARTExercises with timers and UART
Exercises with timers and UART
 
Lpc 1768 timers
Lpc 1768 timersLpc 1768 timers
Lpc 1768 timers
 
Timer And Counter in 8051 Microcontroller
Timer And Counter in 8051 MicrocontrollerTimer And Counter in 8051 Microcontroller
Timer And Counter in 8051 Microcontroller
 
Using Timer2 in Microchip MCUs
Using Timer2 in Microchip MCUsUsing Timer2 in Microchip MCUs
Using Timer2 in Microchip MCUs
 
Using Timer1 and CCP
Using Timer1 and CCPUsing Timer1 and CCP
Using Timer1 and CCP
 
Interrupt programming
Interrupt programming Interrupt programming
Interrupt programming
 
Mc module5 ppt_msj
Mc module5 ppt_msjMc module5 ppt_msj
Mc module5 ppt_msj
 
Microchip NANOWatt Technology
Microchip NANOWatt TechnologyMicrochip NANOWatt Technology
Microchip NANOWatt Technology
 
Interrupts
InterruptsInterrupts
Interrupts
 
89c5131datasheet
89c5131datasheet89c5131datasheet
89c5131datasheet
 
Using Timers in PIC18F Microcontrollers
Using Timers in PIC18F MicrocontrollersUsing Timers in PIC18F Microcontrollers
Using Timers in PIC18F Microcontrollers
 
8051e
8051e8051e
8051e
 
Handling Asynchronous Events in MCUs
Handling Asynchronous Events in MCUsHandling Asynchronous Events in MCUs
Handling Asynchronous Events in MCUs
 

Similar to Poster on Watchdog Timer in LPC2148

03- introduction in Interrupts AndTimers.ppt
03- introduction in Interrupts AndTimers.ppt03- introduction in Interrupts AndTimers.ppt
03- introduction in Interrupts AndTimers.pptssuser3cbb4c
 
Unit 3 timer and counter and there application .pptx
Unit 3 timer and counter and there application .pptxUnit 3 timer and counter and there application .pptx
Unit 3 timer and counter and there application .pptxnaveen088888
 
Lecture on PIC-1.pptx
Lecture on PIC-1.pptxLecture on PIC-1.pptx
Lecture on PIC-1.pptxgodfrey35
 
Intro to micro controller (Atmega16)
Intro to micro controller (Atmega16)Intro to micro controller (Atmega16)
Intro to micro controller (Atmega16)Ramadan Ramadan
 
Manual Motion Sensor - Z-Wave Plus - Hank
Manual Motion Sensor - Z-Wave Plus - HankManual Motion Sensor - Z-Wave Plus - Hank
Manual Motion Sensor - Z-Wave Plus - HankDomotica daVinci
 
Water meter secure start guide
Water meter secure start guideWater meter secure start guide
Water meter secure start guideDomotica daVinci
 
Overview of LPC214x MCUs
Overview of LPC214x MCUsOverview of LPC214x MCUs
Overview of LPC214x MCUsPremier Farnell
 
IRJET- FPGA Implementation of an Improved Watchdog Timer for Safety-Critical ...
IRJET- FPGA Implementation of an Improved Watchdog Timer for Safety-Critical ...IRJET- FPGA Implementation of an Improved Watchdog Timer for Safety-Critical ...
IRJET- FPGA Implementation of an Improved Watchdog Timer for Safety-Critical ...IRJET Journal
 
Overview of LPC213x MCUs
Overview of LPC213x MCUsOverview of LPC213x MCUs
Overview of LPC213x MCUsPremier Farnell
 
Manual radiator thermostat -Aeotec
Manual radiator thermostat -AeotecManual radiator thermostat -Aeotec
Manual radiator thermostat -AeotecDomotica daVinci
 
timer counter (1).pptx
timer counter (1).pptxtimer counter (1).pptx
timer counter (1).pptxSujalKumar73
 
unit 2 lect 6 AND 7 8254.pptx
unit 2 lect 6 AND 7 8254.pptxunit 2 lect 6 AND 7 8254.pptx
unit 2 lect 6 AND 7 8254.pptxDrVikasMahor
 

Similar to Poster on Watchdog Timer in LPC2148 (20)

03- introduction in Interrupts AndTimers.ppt
03- introduction in Interrupts AndTimers.ppt03- introduction in Interrupts AndTimers.ppt
03- introduction in Interrupts AndTimers.ppt
 
R718WBUsermanual.pdf
R718WBUsermanual.pdfR718WBUsermanual.pdf
R718WBUsermanual.pdf
 
Unit 3 timer and counter and there application .pptx
Unit 3 timer and counter and there application .pptxUnit 3 timer and counter and there application .pptx
Unit 3 timer and counter and there application .pptx
 
Lecture on PIC-1.pptx
Lecture on PIC-1.pptxLecture on PIC-1.pptx
Lecture on PIC-1.pptx
 
Intro to micro controller (Atmega16)
Intro to micro controller (Atmega16)Intro to micro controller (Atmega16)
Intro to micro controller (Atmega16)
 
Arduino 101
Arduino 101Arduino 101
Arduino 101
 
Manual Motion Sensor - Z-Wave Plus - Hank
Manual Motion Sensor - Z-Wave Plus - HankManual Motion Sensor - Z-Wave Plus - Hank
Manual Motion Sensor - Z-Wave Plus - Hank
 
Interrupts.ppt
Interrupts.pptInterrupts.ppt
Interrupts.ppt
 
Water meter secure start guide
Water meter secure start guideWater meter secure start guide
Water meter secure start guide
 
What is POR,LVD,WDT ?
What is POR,LVD,WDT ?What is POR,LVD,WDT ?
What is POR,LVD,WDT ?
 
Overview of LPC214x MCUs
Overview of LPC214x MCUsOverview of LPC214x MCUs
Overview of LPC214x MCUs
 
IRJET- FPGA Implementation of an Improved Watchdog Timer for Safety-Critical ...
IRJET- FPGA Implementation of an Improved Watchdog Timer for Safety-Critical ...IRJET- FPGA Implementation of an Improved Watchdog Timer for Safety-Critical ...
IRJET- FPGA Implementation of an Improved Watchdog Timer for Safety-Critical ...
 
Overview of LPC213x MCUs
Overview of LPC213x MCUsOverview of LPC213x MCUs
Overview of LPC213x MCUs
 
Timers and Endge-aligned PWM
Timers and Endge-aligned PWMTimers and Endge-aligned PWM
Timers and Endge-aligned PWM
 
Manual zxt 600
Manual zxt 600Manual zxt 600
Manual zxt 600
 
Manual radiator thermostat -Aeotec
Manual radiator thermostat -AeotecManual radiator thermostat -Aeotec
Manual radiator thermostat -Aeotec
 
timer counter (1).pptx
timer counter (1).pptxtimer counter (1).pptx
timer counter (1).pptx
 
unit 2 lect 6 AND 7 8254.pptx
unit 2 lect 6 AND 7 8254.pptxunit 2 lect 6 AND 7 8254.pptx
unit 2 lect 6 AND 7 8254.pptx
 
S emb t7-arch_bus
S emb t7-arch_busS emb t7-arch_bus
S emb t7-arch_bus
 
Atmega 128 datasheet
Atmega 128   datasheetAtmega 128   datasheet
Atmega 128 datasheet
 

More from Srishti Kakade

Keypad scanner using Verilog code in VLSI Systems
Keypad scanner using Verilog code in VLSI SystemsKeypad scanner using Verilog code in VLSI Systems
Keypad scanner using Verilog code in VLSI SystemsSrishti Kakade
 
Linear Predictive Coding
Linear Predictive CodingLinear Predictive Coding
Linear Predictive CodingSrishti Kakade
 

More from Srishti Kakade (6)

Keypad scanner using Verilog code in VLSI Systems
Keypad scanner using Verilog code in VLSI SystemsKeypad scanner using Verilog code in VLSI Systems
Keypad scanner using Verilog code in VLSI Systems
 
Real time systems
Real time systemsReal time systems
Real time systems
 
Linear Predictive Coding
Linear Predictive CodingLinear Predictive Coding
Linear Predictive Coding
 
Image Restoration
Image RestorationImage Restoration
Image Restoration
 
Audio stegnography
Audio stegnographyAudio stegnography
Audio stegnography
 
Black Box
Black BoxBlack Box
Black Box
 

Recently uploaded

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptMsecMca
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...SUHANI PANDEY
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spaintimesproduction05
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 

Recently uploaded (20)

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spain
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 

Poster on Watchdog Timer in LPC2148

  • 1. Registers of Watch dog Timer: 1. WDMOD (Watchdog Mode Register) It is an 8-bit read-write register It is used to control the operation of the watchdog. Bit 0 – WDEN (Watchdog Interrupt Enable) Bit 1 – WDRESET (Watchdog Reset Enable) Bit 2 – WDTOF (Watchdog Time-Out Flag) This bit is set when the watchdog times out.It is cleared by software. Bit 3 – WDINT (Watchdog Interrupt Flag) This bit is set when the watchdog times out. This bit is cleared when any reset occurs.It is a read only bit. 2. WDTV (Watchdog Timer Value Register) It is a 32-bit read only register. It is used to read the current value of watchdog timer. 3. WDFEED (Watchdog Feed Register) It is an 8-bit write only register. Writing a 0xAA followed by 0x55 to this register will reload the watchdog timer with the WDTC value.. uilt watchdog timer of LPC2148: he watchdog consists of a fixed divide by 4 prescalar d a 32-bit counter. The clock is fed to the timer rough the prescalar. he counter can be loaded with any value between 0xFF d 0xFFFFFFFF. If the counter is loaded with any value ss than 0xFF, the counter is initialized with a value FF. he watchdog needs to be fed with a pre-determined quence of 0xAA followed by 0x55 before watchdog mer underflows to prevent reset/interrupt. tures of WatchDog Timer: chdog Timer (WDT) can be helpful to matically reset the system whenever a out occurs. em reset is required for preventing failure of ystem in a situation of a hardware fault or ram error. e are countless applications where the system ot afford to get stuck at a point (not even for all duration of time). For example, in a radar m, if the system hangs for 5 minutes, it can t in serious repercussions (an enemy plane or ile may go undetected resulting in huge es). system should be robust enough to matically detect the failures quickly and reset in order to recover from the failures and tion normally without errors. t is not always feasible to manually reset the m, especially once it has been deployed. vercome such problems, a watchdog timer is ssary to automatically reset the system out human intervention. Applications Of Watchdog Timer: An application in mobile phone is that display is off in case no GUI interaction takes place within a watched time interval. This will save good amount of battery power. • An application in temperature controller is that if controller takes no action to switch off the current within preset watched time interval, the current is switched off and warning signal is raised as indication of controller failure. Failure to switch off current may burst a boiler in which water is heated. • If Software hangs due to some bug/issue, it helps to reset the system automatically without any human interactions. 4. WDTC (Watchdog Timer Constant Register) It is a 32-bit read-write register. Every time a sequence feed occurs, the WDTC content is loaded into the watchdog timer. The 8 least significant bits (bits 7:0) of this register are set to 1 on reset. Any value below 0xFF will cause 0xFF to be loaded in this register. Hence, the minimum timeout interval is (TPCLK * 256 * 4). How to use the Watchdog in LPC2148? • Set the watchdog timer constant reload value in the WDTC register • Select the mode using the WDMOD register • Start the watchdog by feeding it with 0xAA followed by 0x55 in WDFEED register • Make sure to feed the watchdog again before the timer counter underflows in order to prevent reset/interrupt • WDTOF can be monitored to determine if the watchdog has caused reset condition. The WDTOF flag must be cleared using software. Prepared By- TETB310-Shubham Patil. TETB132-Srishti Kakade.