Hi all,
I have some circuits that are professionally made using an 18F26J53. I cannot remove the 32 KHz clock that is at the timer1 input pins. The chip's primary oscillator is a 16 MHz crystal. I was wondering if it is possible to 'overclock' the RTC? I want to test some code to see if the unit behaves itself over a period of months (it has various tasks to do every day and at the end of a period of weeks/months) and I'd prefer to not have to wait months to test the routine only to find it fails on the last day!
Essentially, is there a way to 'up the pulse rate' from the internal oscillator that the RTC unit sees so that an hour can be compressed for instance into 1 second or something relatively rapid?
I've had a nose through the datasheet (RTC section and the Oscillator config section mainly) but can't be sure if this is possible, as it's not something that would normally be done. If it comes to it, I could sacrifice a semi-'duff' board and connect up another crystal in place of the 32 KHz but thought that would be messy - by software is the preferred method...
Any hints/tips on this issue would be gratefully received.
Best wishes for Christmas and the New Year to all out there!
Jimbo Stlawrence
Cheers
Mark
Bookmarks