K66 RTC issue after power off

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

K66 RTC issue after power off

1,249件の閲覧回数
anand_s
Contributor III

Hi all,

        In our design we are using K66 controller with MQX RTOS. For RTC we are provided a crystal  32.768Khz and VBAT 3.3V. With MQX API's we are able to set time and it's working fine. even though we provided battery for RTC after power off RTC showing default time. For testing after setting the rtc we read back the register value and it is also fine. Could you please suggest anything we are missing?

Thanks in advance,

Regards.

Anand.S

ラベル(1)
タグ(2)
0 件の賞賛
返信
2 返答(返信)

1,165件の閲覧回数
mjbcswitzerland
Specialist V

Hi

Are you sure that there is not some demo code being executed that is setting the RTC on each start?

By checking the TIF flag in RTC_SR you can see whether the time is valid and then avoid reconfiguring/reseting the RTC on each startup.

Regards

Mark


Complete Kinetis solutions for professional needs, training and support: http://www.utasker.com/kinetis.html
Kinetis K66:
- http://www.utasker.com/kinetis/TWR-K65F180M.html
- http://www.utasker.com/kinetis/FRDM-K66F.html
- http://www.utasker.com/kinetis/TEENSY_3.6.html
uTasker: supporting >1'000 registered Kinetis users get products faster and cheaper to market
Request Free emergency remote desk-top consulting at http://www.utasker.com/services.html

RTC and time keeping: http://www.utasker.com/docs/uTasker/uTasker_Time.pdf

Open Source version at https://github.com/uTasker/uTasker-Kinetis

0 件の賞賛
返信

1,165件の閲覧回数
anand_s
Contributor III

Thank you Mark, i'll check that.

0 件の賞賛
返信