Neetee 0 Posted February 24, 2017 Share Posted February 24, 2017 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 Quote Link to post Share on other sites
Fmilburn 446 Posted February 24, 2017 Share Posted February 24, 2017 Hi @@Neetee, Don't double post - it is bad etiquette. Your original post was not ignored. Neetee 1 Quote Link to post Share on other sites
Neetee 0 Posted February 24, 2017 Author Share Posted February 24, 2017 Extremely sorry will not repeat it . Can you help out i tried rtcplus library also Quote Link to post Share on other sites
Fmilburn 446 Posted February 24, 2017 Share Posted February 24, 2017 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. Quote Link to post Share on other sites
Fmilburn 446 Posted February 25, 2017 Share Posted February 25, 2017 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. chicken and Neetee 2 Quote Link to post Share on other sites
Neetee 0 Posted February 25, 2017 Author Share Posted February 25, 2017 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 Quote Link to post Share on other sites
Neetee 0 Posted February 25, 2017 Author Share Posted February 25, 2017 I will sure follow your instructions while posting my next query on this forum so that i will get help as soon as possible Quote Link to post Share on other sites
Fmilburn 446 Posted February 25, 2017 Share Posted February 25, 2017 I modified the TI DriverLib example for the RTC_A on the F5529 to demonstrate the same thing as the Energia library for my own educational purposes and placed it here: https://github.com/fmilburn3/MSP430F5529_driverlib_examples/blob/master/11A_RTC_A_calendar_mode Quote Link to post Share on other sites
Neetee 0 Posted February 26, 2017 Author Share Posted February 26, 2017 Ok i have downloaded both zip files and now will use them in energia Quote Link to post Share on other sites
Neetee 0 Posted February 26, 2017 Author Share Posted February 26, 2017 It is working perfect as i wanted thank you for your help I hope i can ask for further help Quote Link to post Share on other sites
Neetee 0 Posted February 26, 2017 Author Share Posted February 26, 2017 @@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 Quote Link to post Share on other sites
Balwinder 0 Posted May 24, 2018 Share Posted May 24, 2018 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 Quote Link to post Share on other sites
Fmilburn 446 Posted May 24, 2018 Share Posted May 24, 2018 @Balwinder You have double posted your question which is to be avoided. Did you try the modified Energia version I posted above? There are also TI CCS examples and the driverlib I posted above. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.