QE128, real-time counter, and ERCLK

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

QE128, real-time counter, and ERCLK

Jump to solution
540 Views
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

Labels (1)
0 Kudos
Reply
1 Solution
405 Views
AndrewCulpepper
Contributor II

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

View solution in original post

0 Kudos
Reply
1 Reply
406 Views
AndrewCulpepper
Contributor II

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

0 Kudos
Reply