RTC Init

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

RTC Init

439 次查看
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.
标签 (1)
0 项奖励
0 回复数