KL70 RTC not running

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

KL70 RTC not running

379 Views
philmac
Contributor I

Whenever I attempt to read the time from the RTC it will always return the same value that I originally set it to.  It does not update.   I have checked the external clock and it is producing a 32khz signal into the EXTAL32 pins.   I have checked the BSP code and it is executing the _rtc_init function on startup.  I have traced the code and it does get into that function.  As I said I can write and read the RTC and it retains the time that I sent to it.   Any other ideas?

0 Kudos
1 Reply

310 Views
philmac
Contributor I

Discovered the problem.  Internal Loading Capacitance needed to be set in the RTC_CR register.   The CPU board does not have any cap's populated in the external clock circuit.

0 Kudos