Has anybody software for MCF54415 RTC ?

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

Has anybody software for MCF54415 RTC ?

Jump to solution
709 Views
pierreschneider
Contributor I

Has anybody software for MCF54415 RTC ?

Labels (1)
1 Solution
542 Views
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


View solution in original post

3 Replies
543 Views
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


541 Views
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 Kudos
Reply
542 Views
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 Kudos
Reply