Neetee

How to make rtc programable

4 posts in this topic

Hello all my rtc is working perfectly fine

Adc and interrupts are also working fine

Thanku all professionals for their valuable help. I made my project almost working. The only part remaining is programable rtc

 

Few days back i posted my 1st query about rtc using msp430f5529 that time fmilburn provided me this. This link consist of file i am currently using

https://github.com/fmilburn3/RTC_F5529

 

This works perfectly with msp430f55529 launch

Now as this launch pad is not having Fram for storage

I want to make this rtc programable on site

I tried to make changes in given cpp file

In

RTC_setTime which es variables like seconds minutes hours day dow month and year

But those changes didnt work programming year is not a question but i want to make other parameters programable

So can anyone suggest any changes in base cpp file

Share this post


Link to post
Share on other sites

I am not sure what you mean with "I want to make this rtc programable on site". Do you mean you would like to set the clock with RTC_setTime() while the system is running verses setting the clock in setup with RTC_init?

Share this post


Link to post
Share on other sites

Yes exactly what u said i want to set time while code is running is this possible

Share this post


Link to post
Share on other sites

you would like to set the clock with RTC_setTime() while the system is running verses setting the clock in setup with RTC_init?

 

This is what i am trying to do

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