I'm currently trying to transfer some RTC code from the 52235 CPU to the 52259 CPU.
Getting the RTC in the 52235 running is easy as can be - just write MCF_CLOCK_RTCDR with the appropriate value and the RTC starts running.
Doing the same in the 52259 doesn't appear to be enough though - probably because the RTC in the 52259 can have several sources as reference.
I just want the RTC in my 52259 to run from the main 48MHz crystal reference, but I can't figure out how and don't have the data sheets available (and they can't be found on the freescale web site either right now!).
So please, can anyone help me out?
Thanks in advance!