Dear friends,
In my project i am trying to configure RTC. but had a doubt that as i am using clock source from the main crystal(in my case it is 12 Mhz).my question is if i turn off the device will my RTC work from this clock source.
it wil not work without battery power and need to use the standard crystal frequency(for RTC) i.e.,32.786KHZ -- can use 32KHz. With 12Mhz it wont work properly.
yes,my RTC is running properly and i am also able to assert the service routine.
but now my RTC gets reset when i restart the device.RTC is given seperate battery backup and 32khz crystal. how can i keep my data unchanged