Processors/DSPs??
Add accurate timekeeping to MCU system
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".
Related Articles | Editor's Choice |
Article Comments - Add accurate timekeeping to MCU syst...
Visitor(To avoid code verification, simply login or register with us. It is fast and free!)
?
Top Ranked Articles
?
Webinars
Visit Asia Webinars to learn about the latest in technology and get practical design tips.