QE128, real-time counter, and ERCLK

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

QE128, real-time counter, and ERCLK

跳至解决方案
414 次查看
AndrewCulpepper
Contributor II

Hi,

    The QE128 is running from an external 32kHz crystal with a bus speed of 1.245MHz.  I can't seem to get the real-time counter to work if the ERCLK is selected as the source.  These are the register settings:

 

ICSC1 = %10000000

ICSC2 = %11011111

ICSSC = %00100000

 

RTCSC = %10110001

 

    The RTC interrupt is called as expected if the LPO is selected or the IRCLK is enabled and selected as the source.

 

    What am I missing?

 

Thanks,

    Andrew

标签 (1)
0 项奖励
1 解答
279 次查看
AndrewCulpepper
Contributor II

I found the stupid error.  I switched to the external oscillator before enabling it. :smileysilly:

在原帖中查看解决方案

0 项奖励
1 回复
280 次查看
AndrewCulpepper
Contributor II

I found the stupid error.  I switched to the external oscillator before enabling it. :smileysilly:

0 项奖励