QE128, real-time counter, and ERCLK

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

QE128, real-time counter, and ERCLK

ソリューションへジャンプ
427件の閲覧回数
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 解決策
292件の閲覧回数
AndrewCulpepper
Contributor II

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

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
293件の閲覧回数
AndrewCulpepper
Contributor II

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

0 件の賞賛
返信