KL70 RTC not running

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

KL70 RTC not running

826件の閲覧回数
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 返信

757件の閲覧回数
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 件の賞賛
返信