All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
1answer
36 views

How to enable PIC16 watchdog timer for software control?

I am working on a project where I have an I2C slave application running on a PIC16F1829. I am finding that because the ISR must read the slave address, wait for a new byte, then read that byte, that ...
1
vote
1answer
78 views

PIC16F884 keeps resetting even though WDT should be off

I just bought a PIC16F884 and put a simple C program on it using MPLAB: ...
0
votes
0answers
229 views

How to change PIC watch dog expiration duration in run time?

In one of my application using PIC18F25K20, I set the Watchdog Timer Postscale Select bits as following for the CONFIG2H register at the beginning of the c code under configuration bits. pragma ...
3
votes
1answer
690 views

How do I wake from sleep on PIC10F200 via watchdog?

So far I have worked with many other micro controllers but not the PIC-family. I'm having trouble with waking from sleep via watchdog on a PIC10F200. I'm programming it in C using the MPLAB X IDE v2....
2
votes
1answer
2k views

Understanding PIC32 watchdog timer operation

I'm new to uC development and have been fooling around with the PIC series for about 6 months now. I recently started working with the PIC32 and Microchip's XC32 C++ compiler. I don't know if I have a ...
0
votes
2answers
129 views

Which is better after rewriting the ROM on a PIC16F? A software reset instruction or a watchdog reset

I am working on a project where the uP can be calibrate at any time. The new calibrated values are stored in the uPs ROM. After the calibration is complete, I have to reset the uP such that the ...
1
vote
2answers
826 views

Correct ways for implementing standard inbuilt watch dog timers

I'm bit new with using applications that use watch dog timers and i'm up to use one for the first time. I'm using pic18f26j50 and it got an internal watch dog timer which got a limit from 2ms and can ...
2
votes
1answer
2k views

PIC32 sleep mode with watchdog wakeup failing

I am in the process of trying to get a PIC32MX795F512L to run with lower power consumption. I'm trying to get it to enter sleep mode and then be woken by the watchdog timer. All pretty standard ...
0
votes
1answer
449 views

Using both watchdog timers in PIC

I want to use both the conventional WDT and deep sleep WDT. I will be using WDT to prevent any code lock cases if any. And the other after entering deep sleep mode to wake up periodically in deep ...
2
votes
2answers
213 views

Reporting crashes/resets in Embedded Systems(8 bit)

I'm using PIC controllers, and I have used watch dog timers to trigger a reset in case of the s/w gets stuck somewhere, and also to support in case of severe hardware crashes. I think that resetting ...
0
votes
1answer
3k views

PIC:How to enable watch dog timer in PIC18F67K22 controller? [closed]

I am using PIC18F67K22 controller in my circuit. I don't know how to enable or configure Watch Dog Timers(WDT) in my controller. Any one have explanation with some demo code of Enable Watch Dog Timer ?...
0
votes
2answers
364 views

PIC: Watchdog timer off by a factor of 4

I have a PIC16 (datasheet here) for which I use the watchdog timer. I configure the watchdog timer as follows: WDTCONbits.WDTPS = 0b01110; According to page 105 ...
3
votes
2answers
2k views

Watchdog reset using C32 v2.00 compiler

Compiling an existing PIC32 project using the v2.00 C compiler produces a continual watchdog reset. This problem does not appear using the previous v1.12 compiler. Changing the watchdog postscaler ...