Edit: here is a link to another thread where I'm working on a much more useful example. http://e2e.ti.com/support/microcontrollers/tiva_arm/f/908/p/369471/1300026.aspx#1300026
Hi,
I trying to use the Real Time Clock to count in seconds on a Nokia 5110. This the code: (includes are in a different file)
This code just displays a '1'. I read somewhere the RTC starts at 1. So, I can only conclude that timer0 isn't getting a clock source.
How do I setup the clock source? I can't find a macro for XOSC0 (pin 66) or XOSC1 (pin 67), the 32 Khz oscillator on the launchpad.
I can't find a break down of how RTC works in Tivaware. Google isn't helping... Any help would be great.
Thanks,
Dan