Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

PIC and wdtcon problem

Status
Not open for further replies.

koky

Full Member level 2
Joined
May 12, 2001
Messages
145
Helped
11
Reputation
22
Reaction score
8
Trophy points
1,298
Location
Italy
Activity points
1,097
pic wdtcon

i have notice with pic16f737 and 12f683 that when i set wdtcon timer0 not work right.
also if in the option register i set PSA=0 (prescaler assignet to Tmr0), the interrupt for tmr0 non work

tipical setting of wtdcon that i have used was:

Bank1
bcf OPTION_REG,PSA ; assign prescaler to TMR0
movlw b'00010111' ; bit0 wdt on/off (4-1) presc 1011 =65536 *(1/31.25Khz)=2.097sec
Bank2 ;
movwf WDTCON ;
Bank0 ;
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top