Global Sources
EE Times-Asia
Stay in touch with EE Times Asia
?
EE Times-Asia > Processors/DSPs
?
?
Processors/DSPs??

Add accurate timekeeping to MCU system

Posted: 23 Apr 2012 ?? ?Print Version ?Bookmark and Share

Keywords:microcontroller? real-time clock? 1-Wire network?

The MAXQ610 microcontroller does not include a battery-backed real-time clock (RTC). However, the flexibility of the 1-Wire network makes it straightforward to add a DS1904 RTC iButton to any MAXQ610-based application. Communicating with the DS1904, setting the clock and control values, and converting time values to and from a raw seconds count are all well within the capabilities of the MAXQ610, even when using assembly language. This application note explains how to add RTC functionality to a MAXQ610-based application. Demonstration code for implementing this application is shown. The principles and techniques in this article apply equally well to any other MAXQ-based microcontroller that has general-purpose I/O (GPIO) pins capable of driving the 1-Wire communications protocol.

View the PDF document for more information.

Originally published by Maxim Integrated Products at www.maxim-ic.com as "Real-Time Clock Adds Accurate Timekeeping to Microcontroller System".





Article Comments - Add accurate timekeeping to MCU syst...
Comments:??
*? You can enter [0] more charecters.
*Verify code:
?
?
Webinars

Seminars

Visit Asia Webinars to learn about the latest in technology and get practical design tips.

?
?
Back to Top