Has anybody software for MCF54415 RTC ?

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

Has anybody software for MCF54415 RTC ?

ソリューションへジャンプ
856件の閲覧回数
pierreschneider
Contributor I

Has anybody software for MCF54415 RTC ?

ラベル(1)
1 解決策
689件の閲覧回数
PaoloRenzo
Contributor V

Hope attachment might help

------------------

//do something

    rtc_unlock_seq();

    printf("RTC: %x\n\r",MCF_RB_RTC_CFG_DATA);    

    MCF_RB_RTC_CFG_DATA = 0x00000008;

    printf("RTC: %x\n\r",MCF_RB_RTC_CFG_DATA);

    RTC_GetTime();

------------------

Good luck


元の投稿で解決策を見る

3 返答(返信)
690件の閲覧回数
PaoloRenzo
Contributor V

Hope attachment might help

------------------

//do something

    rtc_unlock_seq();

    printf("RTC: %x\n\r",MCF_RB_RTC_CFG_DATA);    

    MCF_RB_RTC_CFG_DATA = 0x00000008;

    printf("RTC: %x\n\r",MCF_RB_RTC_CFG_DATA);

    RTC_GetTime();

------------------

Good luck


688件の閲覧回数
pierreschneider
Contributor I

Hi Paolo,

Thanks for the information. It was helpfull, now my RTC is clocking.

One question about RTC:

What is the meaning of OSCBYP=0 On-chip 32-kHz oscillator not bypassed ?

Does it mean that the 32Khz is taken from the internally clock system and not from the external 32KHz crystal at RTC_EXTAL ?

Best regards

Pierre Schneider

0 件の賞賛
返信
689件の閲覧回数
PaoloRenzo
Contributor V

Nice to hear things are working at your side Pierre. OSCBYP=0 means ext 32.768KHz is used as the RTC reference. If this post helps you, don't forget to mark it as the solution :-)

0 件の賞賛
返信