Jump to content
RodrigoMDA

Using the RTC.

Recommended Posts

Hello, I'm a new member and also a noob user of a Stellaris LM4F120 LaunchPad Evaluation kit... =)

 

I'm watching the workshop videos available here, and trying to develop a little project of my own, an automatic fish feeder. Just to see if I can... The idea is based on this other project i've found here, but I want to do the timer on the MCU, and use its iterrupt to activate the motor. So I'm kind lost on how to start the whole thing... But what I'll certainly need its to configure correctly a RTC... To proper set when the feeds will happen. How do i configure the SysCtlClockSet? And how can I read the Timer, when its working on RTC mode?

 

Any help on this subject or the project as a whole will be welcomed.

 

 

 

Share this post


Link to post
Share on other sites

Do you have the stellaris-ware installed in your PC? I think you have it since you watch those labs. 

 

There is a document named 'SW-DRL-UGxxxx.pdf' inside Stellarisware/docs which has all the information about the libraries.

 

Page number 389 has information about the timer module.

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

×