Page 1 of 1

PIC18F26K22 WDT CONFIG2H Config Register

Posted: Tue Aug 18, 2020 11:30 pm
by Jon Chandler
NEVERMIND. I was being stupid - first time for everything you know!

I'm working on a very low power app, and I'd like to use the WDT to wake from sleep periodically to acquire a measurement and then go back to sleep. I'm using the 18F26k22 micro. It appears that the WDT post-scaler gives me the time intervals I'd like.

The data sheet say the WDT post-scaler and config is in register CONFIG2H. The 18F26K22 doesn't contain this register. Is it named something different? Can I access it directly?

I updated Swordfish to the most recent version a few days ago, so I believe I have the current files.

Thanks,

Jon

Re: PIC18F26K22 WDT CONFIG2H Config Register

Posted: Wed Aug 19, 2020 12:03 am
by Jon Chandler
Nevermind. Oops. Something else is going on in my code that made me think this wasn't working.