The MCF52235 documentation for the Clock module list the RTCDR value as:
The Real Time Clock Divide Register is a 32 bit read/write register that divides down the oscillator clock
to a 1 Hz clock for the Real Time Clock module. If this register is programmed with zero then the clock to
the Real Time Clock module is disabled, otherwise the oscillator clock is divided by one more than the
value written to the register field (between 2 and 4,294,967,296).
Since 1 is added to the register, it seems that the correct value for a 25Mhz oscilator would be 24999999. Yet, all the examples I have seen use a even number of 25000000. I know it is only a small error but am I correct?
FlashToo