Author Topic: Does the Real Time Clock finally work?  (Read 1714 times)

WillItFloat

  • Newbie
  • *
  • Posts: 3
    • View Profile
Does the Real Time Clock finally work?
« on: December 02, 2014, 02:22:55 PM »
The v2.03beta does not include support. I know a user was trying to get it to work with help from modtro2. But I don't know if it ever got resolved.

What is the status of Real Time Clock support?

modtro2

  • Administrator
  • Hero Member
  • *****
  • Posts: 564
    • View Profile
Re: Does the Real Time Clock finally work?
« Reply #1 on: December 08, 2014, 09:34:50 PM »
Hi, I have uploaded the the netcruzer project, v2.03 to GitHub. The RTC is now supported, and working. For an example of how to use the RTC, see the "src/demos/rtc/rtc_debug_demo/main.c" folder. It is here on GitHub:
https://github.com/modtronix-com/netcruzer-src/blob/master/src/demos/rtc/rtc_debug_demo/main.c

You can build this demo, and program your SBC66 board with it. After doing that, use the Netcruzer USB Terminal to set time, print current time and perform other tests. See towards the end of the main.c file where the tests are performed.