TS-5620

From embeddedTS Manuals
Revision as of 23:29, 11 August 2011 by Mark (talk | contribs) (Created page with "{{Infobox |title = TS-5620 |image = 300px |titlestyle = |headerstyle = background:#ccf; |labelstyle = width:33% |datastyle = |header1...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
TS-5620
File:TS-5620.jpg
Documents
Schematic
Mechanical Drawing

Overview

This option uses an ST Micro M48T86PC1 module for the real-time clock function. This module contains the lithium battery, 32.768 kHz crystal, and a RTC chip with 114 bytes of battery-backed CMOS RAM. It will maintain clock operation for a minimum of 10 years in the absence of power. The 114 bytes of non-volatile RAM, physically located in the RTC chip, are available to the user. The TS-Kernel shipped with the boards includes support for the TS-5620 peripheral board including the TS-72XX series and the TS-5XXX series.

Usage

As the boards implement a kernel driver, you can simply use the hwclock command to communicate with the RTC.

 hwclock -r or hwclock --show
 hwclock -w or hwclock --systohc
 hwclock -s or hwclock --hctosys
 hwclock -a or hwclock --adjust
 hwclock -v or hwclock --version
 hwclock --set --date=newdate
 hwclock --getepoch
 hwclock --setepoch --epoch=year