RTC Init

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RTC Init

430 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Cusko on Fri Aug 09 03:20:10 MST 2013
My program breaks in a function RTC_Init() from the lpc18xx library, more exactly on this part:
do
{
/* Reset RTC clock*/
RTCx->CCR = RTC_CCR_CTCRST | RTC_CCR_CCALEN;
}
while(RTCx->CCR!=(RTC_CCR_CTCRST | RTC_CCR_CCALEN));

Could it be hardware related? I have external crystal 32kH.
Thanks.
Labels (1)
0 Kudos
0 Replies