KL70 RTC not running

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

KL70 RTC not running

825 次查看
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 项奖励
回复
1 回复

756 次查看
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 项奖励
回复