TS-7600 RTC

From embeddedTS Manuals
Revision as of 22:03, 16 May 2013 by Mark (talk | contribs) (Created page with "This board includes a temperature compensating RTC which maintains 0.5ppm between -20C to 70C. This is accessed in software using tshwctl. By default, tshwctl will run "tshw...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This board includes a temperature compensating RTC which maintains 0.5ppm between -20C to 70C. This is accessed in software using tshwctl. By default, tshwctl will run "tshwctl --getrtc" on startup which will pull system time from the RTC, and set the system time. During the Technologic Systems production process the RTC will be programmed with an accurate time.

If time ever needs to be set you can run:

tshwctl --setrtc

This will take the system time and write it to the RTC. The battery in the RTC will last approximately 10 years for most applications, but the RTC allows you to see when the battery reaches low or critical voltages:

# tshwctl --rtcinfo             
rtc_present=1                   
rtctemp_millicelsius=36000      
rtcinfo_oscillator_ok=1         
rtcinfo_batt_low=0         
rtcinfo_batt_crit=0         
rtcinfo_firstpoweroff=0000000000
rtcinfo_lastpoweron=0000000000