LPC2106 RTC Init
2004-03-19 by jpsg123
I'm initializing the RTC in this sequence: 1. Clear bit 0 of CCR. 2. Clear CIIR (no interrupts) 3. 0xFF to AMR (no alarms) 4. Set PREINT to 1799 (I'm running the PLL @58982400) 5. Set PREFRAC to 0 6. Set bit 0 of CCR Should this work? I'm reading CTIME0 every two seconds and it seems the time is getting incremented by ~8 Hours. Anybody? -John G-