I know this pretty much defeats the purpose of a RTC, but does it actually need a clock signal?
I've been looking for ways to implement a battery backup system in my project so I can store data between on and off cycles without having to write it to eeprom all the time (which I always forget to save before reprogramming!!) So far a simple RTC seems to be easiest and smartest way to do it.
What I'm thinking is since I'm more after this for the battery backed RAM than the current time I could use the clock part more as a run time counter by supplying a clock signal only when I want to increment time. The clock signal to the RTC will be then supplied by a microcontroller PWM or oscillator. Everything I've read seems to indicate this is possible with a few changes to registers... I'm assuming since you can turn off the oscillator input on some RTCs you have to be able to turn it back on also which would mean the clock source is just for timekeeping.
At the moment I'm considering the MCP7940... datasheet here --> http://www.microchip.com/mymicrochip/filehandler.aspx?ddocname=en557502
I've been looking for ways to implement a battery backup system in my project so I can store data between on and off cycles without having to write it to eeprom all the time (which I always forget to save before reprogramming!!) So far a simple RTC seems to be easiest and smartest way to do it.
What I'm thinking is since I'm more after this for the battery backed RAM than the current time I could use the clock part more as a run time counter by supplying a clock signal only when I want to increment time. The clock signal to the RTC will be then supplied by a microcontroller PWM or oscillator. Everything I've read seems to indicate this is possible with a few changes to registers... I'm assuming since you can turn off the oscillator input on some RTCs you have to be able to turn it back on also which would mean the clock source is just for timekeeping.
At the moment I'm considering the MCP7940... datasheet here --> http://www.microchip.com/mymicrochip/filehandler.aspx?ddocname=en557502