Is there a way to keep the RTC operating while the processor is powered down. The oscillator (EXTAL32) continues to run but the RTC_TSR register is not updated. When the board is powered up, it still has the time value that it had when it was powered down. I am trying to get it to function as a battery backed RTC should and continue to keep the time updating while the other parts of the CPU are powered down or in reset.
The actual problem that was preventing the RTC from operating properly was accidentally installing the resistor across the crystal. Removing the resistor got the RTC running as expected. Lesson of the day, RTFM and don't install capacitors or resistor on the 32KHz clock crystal circuit.
Hi, Kelly
Yes, K60 provide a VBAT pin which can provide power to RTC module. This pin is used for backup battery supply for RTC and VBAT register file. So if you keep the power on VBAT pin, the RTC will continue.
Hope my reply can help you.
Best Regards
Paul