![Datum bc630AT User Manual Download Page 26](http://html.mh-extra.com/html/datum/bc630at/bc630at_user-manual_514078026.webp)
OPERATION AND SOFTWARE INTERFACE
Datum Inc
bc630AT Real Time Clock Module
3-15
When scaled by the factor on the bottom of the previous page, the subsecond count will always vary
between 0 and 2E6-1, giving an accurate number of 0.5
:
sec counts. This methodology allows the user
to completely remove the effects of the bc630AT crystal clock frequency offset and aging.
The user may also simply divide the subsecond count by the factor (2E6 + (Time Code Period -
33920)) to produce a real number which varies between 0.0000000 and 0.9999995.
The programming examples in Section 6 provide some useful data structures and algorithms for working
with the subsecond count and Time Code Period values.
3.6 XT/AT BUS INTERRUPTS
The bc630AT interrupts the XT/AT computer by writing a value to the Interrupt register. (Refer to
section 3.1.3.) When this value is written, the jumper selected interrupt (IRQ3-7, IRQ10-12 or
IRQ14-15) is pulled high. The interrupt is cleared by reading the interrupt register. The host PC can
use the interrupt feature in a polled mode by clearing the interrupt register and polling for the respective
interrupt value. Polling rates must not exceed 500 kHz.
3.7 REAL TIME CLOCK IC
The bc630AT has an independent battery backed Real Time Clock (RTC) IC which maintains time
during power down of the XT/AT computer. The RTC IC time can be set and requested with the 'Set
RTC IC Time', 'Request RTC IC Time' and 'Synchronize RTC IC' commands. The RTC IC maintains
time with month/day/year, hour/minutes/seconds and day of week format. As an option in the Time
Code Format Select register, the RTC IC can be selected for decoding by the bc630AT and read with
microsecond precision through the standard Time Request commands.
3.7.1 REQUESTING TIME FROM THE RTC IC
Command 'Request RTC Time' retrieves the time of day directly from the independent RTC IC and
loads it into the Data Address Space. The time is in month/year/day format and has a resolution of one
second.
3.7.2 DECODING THE RTC IC TIME WITH MICROSECOND RESOLUTION
The bc630AT Real Time Clock Module can optionally supply time with microsecond precision without
an external time code. This is accomplished by selecting the battery backed RTC IC for decoding in
the TCSEL register (See Section 3.1.3) followed by an 'Initialize' command. The bc630AT now
retrieves the time from the battery backed RTC IC. The battery backed RTC IC disciplines the
bc630AT clock with its 1PPS output. All bc630AT features are available in this mode.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Summary of Contents for bc630AT
Page 49: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Page 50: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Page 51: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Page 52: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Page 53: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...