Anyone gotten the RTC timer to work without interrupts - only using the RTCF flag on the LPC93x? I can't seem to get the timer to start. I've used this chip for a while on various designs, and use Timer0 and Timer1. But, can't seem to figure out RTC Timer. It never moves from 0x3842, and sits in the while loop forever. What flag/bit am I missing? Thanks.
void delayrtc(unsigned int x) { PCONA &= 0x7F; // Power on RTC RTCCON &= 0x7F; // flag reset RTCH = 0x38; // roughly 1 MS RTCL = 0x42; RTCCON = 0x61; // uses internal clock, start timer while ((RTCCON & 0x80) == 0); RTCCON = 0x60; // stop timer and reset flag Print_Text(1,1,"Delay Done"); }