Jump to content
Sign in to follow this  
Neetee

How to use internal rtc for msp430f5529

Recommended Posts

I am putting 2nd query on this forum

I am using msp430f5529 launch pad interested in using internal rtc of this launch pad

As i am kindoff weak in coding thus cannot develop my own library so can anyone help me in this situation and provide some libraries particularly ment for msp430f5529 internal rtc using timer A

Share this post


Link to post
Share on other sites

Have a look at this post:  http://forum.43oh.com/topic/5421-energia-library-rtc-a/

 

I haven't used it in a project, but the post states that it runs with the F5529.  It is not clear what your final objective is and whether you are trying any of this code yourself - try to get it working yourself first.  If you have specific problems then post your objective, the code and the issue / error message you are getting.  The original author may be willing to help and I will help as time permits.  I may try running it myself this evening.

Share this post


Link to post
Share on other sites

I modified the code in the link above a bit and wrote a new example to demonstrate retrieval of the date and time as well as a few other features. It was not extensively tested.  To use, post all of the files into a folder called RTC_F5529 where Energia can reach it.  It is posted here:  https://github.com/fmilburn3/RTC_F5529

 

Real credit for the work belongs to the original author.

Share this post


Link to post
Share on other sites

Thanks alot sir i will test the code which you put there in link thank you for your help.

I am working on UI designing for one of the instruments

Share this post


Link to post
Share on other sites

@@Fmilburn

If i can make date time programable by user so that if user wants to program it as per requirement. what changes should i make in the updated cpp file you posted here ?

Can you suggest

Share this post


Link to post
Share on other sites

Hello dear,

                       I started working on MSP430F5529 .I was using Internal RTC .I saw above library (http://forum.43oh.com/topic/5421-energia-library-rtc-a/)  But It is not Working Fine .Can you help me out. Error below:

 

C:\Users\Balwinder\Documents\Energia\libraries\RTC_A-master\RTC_A.cpp:260:27: error: 'RTC_A_VECTOR' was not declared in this scope

C:\Users\Balwinder\Documents\Energia\libraries\RTC_A-master\RTC_A.cpp: In function 'void RTC_int()':

C:\Users\Balwinder\Documents\Energia\libraries\RTC_A-master\RTC_A.cpp:261:6: error: interrupt vector offset must be an even non-negative integer constant

 

Thanks in advance

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×