Using the watchdog (IAR)

Started by Darren Logan in MSP43012 years ago 2 replies

Hi, I'm wanting to setup the watchdog, in watchdog mode. My clock source is 3.68MHz and i'm using ACLK as the watchdog clock source. As a...

Hi, I'm wanting to setup the watchdog, in watchdog mode. My clock source is 3.68MHz and i'm using ACLK as the watchdog clock source. As a simple exercise, I do: WDTCTL = WDTPW + WDTSSEL + WDTCNTCL; while(1) { WDTCTL |= 8; // clear watchdog } but even in the while loop, the watchdog keeps triggering... why is the watchdog NOT being cleared in the loop???? Darren Logan


Help about watchdog reset !!

Started by skylooroo in MSP43011 years ago 4 replies

hi! everyone! I'm using watchdog reset of MSP430F122. Anyway, watchdog reset is not working. i tested . When i setting Watchdog registor...

hi! everyone! I'm using watchdog reset of MSP430F122. Anyway, watchdog reset is not working. i tested . When i setting Watchdog registor then system immediately reset. Watchdog reset time is determined. I want to use the 250msec or 500msec .but device is determined 64msec per 4MHZ crystal I want to seclect watchdog reset time. how can registor setting ? or do you have idea? and how ca...


Use of internal WATCHDOG for MSP430F2418

Started by ti2tt in MSP4308 years ago 24 replies

Hello Forum members, I am using MSP430F2418 with CrossStudio. I want to use internal watchdog of this controller. I have configured the...

Hello Forum members, I am using MSP430F2418 with CrossStudio. I want to use internal watchdog of this controller. I have configured the watchdog as WDTCTL = WDTPW + WDTHOLD; WDTCTL = WDT_ARST_1000; The refresh routine for watchdog counter consists as: WDTCTL = WDTPW + WDTCNTCL; With this configuration, I am getting a watchdog reset after certain intervals. Here I am using a XTAL ...


Watchdog Question

Started by matthewbuza1 in MSP43011 years ago 3 replies

Hey, I'm using a 1612 and i code in assembler. I'm trying to use the watchdog in watchdog mode. I run solar cells for power, and if my gps...

Hey, I'm using a 1612 and i code in assembler. I'm trying to use the watchdog in watchdog mode. I run solar cells for power, and if my gps does not have enough power it will get locked up in my code. I'm trying to set the watchdog for a 1000ms delay using the ACKL(32k). A one second delay will give me enough time to run through a routine. I'm hoping to set the watchdog throughout the ...


Variable in RAM that shall keep its value after watchdog reset

Started by cmaybisher in MSP43010 years ago 1 reply

Hi, I need to define a variable in ram that must keep its value after watchdog reset. I defined simply a unsigned long variable. I wrote a...

Hi, I need to define a variable in ram that must keep its value after watchdog reset. I defined simply a unsigned long variable. I wrote a value but after watchdog reset its value was different. I need to do it to check if I came to some software sentence from power up or from watchdog. I haven't possibility for doint it in EEPROM. Please, could somebody help me? Thanks. Clau...


Watchdog and PID

Started by acastel in MSP43013 years ago 8 replies

Hi I'm having problems with the watchdog in a C program. When I set the flags, the program reset and it doesn't go to main(). If I don't stop...

Hi I'm having problems with the watchdog in a C program. When I set the flags, the program reset and it doesn't go to main(). If I don't stop the watchdog, the program work fine, and if I stop the watchdog, the program work fine too. Can anyone help me? Another question.... Did someone make a PID algorithm in msp430f149? Thanks a lot!!! Anderson Castellar ____________________________


WTD+ expiration value?

Started by Aaron Greer in MSP43010 years ago 1 reply

In the MSP430F20xx family user guide it states that "The WDTCNT is controlled and time intervals selected through the watchdog timer+ control...

In the MSP430F20xx family user guide it states that "The WDTCNT is controlled and time intervals selected through the watchdog timer+ control register WDTCTL." Then, it gives the following data for configuring the time "interval". WDTISx Bits Watchdog timer+ interval select. These bits select the watchdog timer+ interval to set the WDTIFG flag and/or generate a PUC. 00 Watchdog clock source...


Question about Watchdog as interval timer

Started by cmaybisher in MSP43010 years ago

Hi, I used the watchdog as interval timer. In its interrupt, I write a different number of the password to cause reset. My problem is that I...

Hi, I used the watchdog as interval timer. In its interrupt, I write a different number of the password to cause reset. My problem is that I configured the watchdog for interrupting every second and I saw after the first reset that second reset occurred after some miliseconds. Please, could somebody help me? Thanks in advance. Claudio


Re: Question about Watchdog as interval timer

Started by bb_stefan in MSP43010 years ago

A little piece of your code would help very much to help you! --- In m...@yahoogroups.com, "cmaybisher" wrote: > > Hi, > I used the...

A little piece of your code would help very much to help you! --- In m...@yahoogroups.com, "cmaybisher" wrote: > > Hi, > I used the watchdog as interval timer. In its interrupt, I write a > different number of the password to cause reset. My problem is that I > configured the watchdog for interrupting every second and I saw after > the first reset that second reset occu


Watchdog during flash operations

Started by yuriz in MSP43013 years ago 1 reply

All examples of flash operations in the msp430 user guide disable watchdog for the period of working with flash. Presumably, one can avoid ...

All examples of flash operations in the msp430 user guide disable watchdog for the period of working with flash. Presumably, one can avoid watchdog timer expiry by resetting the wd timer right before each operation (assuming the wd expiry is reasonably long). Wouldn't that have exactly the same effect ? Are there reasons other than avoiding wd timer expiraton not to have the wd running whi


Re: Watchdog during flash operations

Started by "Robert J. Wilson" in MSP43011 years ago 1 reply

--- In m...@yahoogroups.com, "yuriz" wrote: > > All examples of flash operations in the msp430 user guide disable > watchdog for the...

--- In m...@yahoogroups.com, "yuriz" wrote: > > All examples of flash operations in the msp430 user guide disable > watchdog for the period of working with flash. Presumably, one can > avoid watchdog timer expiry by resetting the wd timer right before > each operation (assuming the wd expiry is reasonably long). Wouldn't > that have exactly the same effect ? Did you ever get


Reg:Watchdog Timer

Started by sundarixx_4 in MSP43010 years ago 5 replies

Hi all, I am new for MSP430F2370.i want to know why we are stooping watchdog timer in every application programming (like as i/o, uart...

Hi all, I am new for MSP430F2370.i want to know why we are stooping watchdog timer in every application programming (like as i/o, uart , etc). Please help me to clear my doubt Thanks and Regards, S.Soms


watchdog current consumption

Started by Felipe H in MSP43010 years ago 2 replies

Hi, does anyone knows how many current the watchdog module consumes when active and using ACKL (32.768khz)? I'm using...

Hi, does anyone knows how many current the watchdog module consumes when active and using ACKL (32.768khz)? I'm using msp430f148. Thanks Heuer


Debugging with external watchdog?

Started by aekalman in MSP43012 years ago 2 replies

Hi All. I'm wondering how people debug MSP430-based systems that have external watchdogs, e.g. one that will hit the MSP430 with an NMI if...

Hi All. I'm wondering how people debug MSP430-based systems that have external watchdogs, e.g. one that will hit the MSP430 with an NMI if the external watchdog (chip) isn't hit by the MSP430 within the watchdog timeout period. Is it feasible to single-step, etc? Do you need to have special "while debugging" code that differs from production code? Do people simply disable / dis


Quick Watchdog question

Started by matthewbuza1 in MSP43011 years ago 1 reply

hey guys I am using a 430F1612 with IAR, and I code in assembler. What I am trying to do is implement a watchdog timer to reset our program....

hey guys I am using a 430F1612 with IAR, and I code in assembler. What I am trying to do is implement a watchdog timer to reset our program. Our device is solar powered and sometimes during clouds, some of our components will die out and lock up the code. This is not a big problem. There will always be enough power for just the micro. I use the TA and adjust conditions to vary between 5/...


Re: status of RAM after PUC

Started by Aaron Greer in MSP43010 years ago 4 replies

Trust me, if I could think of a way to accomplish what I need to without the watchdog reset, I would. I'm doing a fairly complex design using a...

Trust me, if I could think of a way to accomplish what I need to without the watchdog reset, I would. I'm doing a fairly complex design using a pretty cut-rate part (F2012). The USI/I2C hardware pretty much sucks and it gets stuck periodically for various reasons. I use the watchdog to get unstuck. I'm using almost all of my available resources and this has been the most compact and reliable met...


Watchdog timer

Started by GM M in MSP43015 years ago 12 replies

Hello All, Once again i m caught up with a problem. Can anyone tell me how following line of code can stop the WatchDog timer?? WDTCTL=...

Hello All, Once again i m caught up with a problem. Can anyone tell me how following line of code can stop the WatchDog timer?? WDTCTL= WDTPW + WDTHOLD; plz reply as soon as possible as this is quite urgent,,, thankyou very much --------------------------------- Do you Yahoo!? New DSL Internet Access from SBC & Yahoo!


most efficient watchdog and supervisor

Started by Matthias Weingart in MSP43013 years ago 10 replies

For my application I was looking for a very low current reset chips - supervisor and watchdog with no external components and in a small case...

For my application I was looking for a very low current reset chips - supervisor and watchdog with no external components and in a small case (SO8 is too big). After searching at ti.com I only found the TPS3813 - with 10uA current consumption. Too much. But then I stumbled through my archive of this list and there was a suggestion: TI TPS3110K33 (2uA) - quite good. And there is the MAX686


Does updating the watchdog reset its settings?

Started by achillea88 in MSP43014 years ago 7 replies

Hello everyone, I want to have the 1000ms watchdog for my application, sourced from ACLK, so I have started it with this: WDTCTL =...

Hello everyone, I want to have the 1000ms watchdog for my application, sourced from ACLK, so I have started it with this: WDTCTL = WDT_ARST_1000; And then in my main processing loop, I update it as often as possible with WDTCTL = WDTPW + WDTCNTCL; However, in the debug session when I read the WDTCTL register, it does not retain the settings it previously had with the WDT_ARST_1000.


Re: MSP430 failing ESD tests

Started by David Peters in MSP43010 years ago 4 replies

FYI =96 We=92ve added an external watchdog IC. We can get the system to lo= ck up and the watchdog IC is pulling the reset line high/low, but...

FYI =96 We=92ve added an external watchdog IC. We can get the system to lo= ck up and the watchdog IC is pulling the reset line high/low, but the MSP430 neve= r seems to recover. I'm looking for other clues as to what might be going on= . What could keep the micro from starting up after the reset line is released= ? David Peters On 12/12/07, Michael Iverson