Making Use of Stellaris/Tiva Real-Time Clock

If you’re at all like us, or like [Vadim], you’ve got a stash of development boards in a shoebox on a shelf in your closet. If you’re better organized that we are, it might even be labeled “dev boards”. (Ah well, that’s a project for another day.) Anyway, reach into your box and pull one out, and put it to use. Do something trivial if you need to, but a dev board that’s driving a silly blinker is better than a dev board sitting in the dark.

[Vadim]’s good example to us all is going to serve as the brains for an automated plant watering system. That’s a low-demand application where the microcontroller can spend most of the time sleeping. [Vadim]’s first step, then was to get a real-time clock working with the hibernation mode. There’s working code inline in his blog.

royale-with-cheese-pulp-fiction-2_12-movie-clip-1994-hd-6pkq_ebhxj4mkv-shot0001
“I don’t know, I didn’t go into Burger King.”

If you use Arduino, you’ll feel at home in the Energia ecosystem. But it’s like ordering a Quarter Pounder with Cheese in Paris: Energia is a Royale with Cheese (YouTube) — it’s the little differences. And maybe that’s the point of the exercise; it’s always a good thing to try out something new, even if it’s only minimally different.

So grab that unused dev board off the shelf, struggle through the unfamiliar development environment and/or toolchain, but remember to keep an eye out for the sweet little differences. The more tools that you’re familiar with, the more solutions will spring to mind when you’re hacking on your next project.

8 thoughts on “Making Use of Stellaris/Tiva Real-Time Clock

  1. Lol, I actually have about two of each of the two to three types of stellaris launchpads, yes they are gathering dust, no they’re not in a labeled box but in plain site so they don’t get lost. One day!

  2. I found that MSP430 can’t run certain Energia code while the same code runs fine on the Stellaris; I did post on Energia’s forums and few suggested that MSP430 has far less SRAM than Stellaris but either way I never got to the bottom of the true cause. MSP430 does work fine for me for simpler programs like tracking a rotary encoder…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s