I am using a F737 which shares the pre-scaler between the Watchdog and TMR0.
Re-reading the data sheet I can see where I was getting a bit confused <code>(From the datasheet)
When assigned to the Timer0 module, all instructions
writing to the TMR0 register (e.g., CLRF 1, MOVWF 1,
BSF 1,x....etc.) will clear the prescaler. When assigned
to WDT, a CLRWDT instruction will clear the prescaler
along with the Watchdog Timer.
The prescaler is not
readable or writable.
</code>
I was thinking Pre-Scaler meant the ratio rather than the count. Looks like it should work. Might be time to break out the breadboard and see what happens...
bill
Bookmarks