Synchronizable timecode generator with universal pci bus interface, windows driver application (28 pages)
Summary of Contents for Spectracom TPRO-cPCI
Page 1
TPRO-cPCI/TSAT-cPCI SYNCHRONIZABLE TIMECODE GENERATOR with COMPACT PCI BUS INTERFACE User Manual 95 Methodist Hill Drive Rochester, NY 14623 Phone: US +1.585.321.5800 Fax: US +1.585.321.5219 www.spectracomcorp.com Part Number 1152-5001-0050 Manual Revision D 12 January 2009...
Page 3
Spectracom’s judgment the defective condition in a Spectracom Spectracom be liable for any direct, indirect, special or product is for a cause listed above for which Spectracom is not consequential damages whether the claims are grounded in responsible, Spectracom will make the repairs or replacement of contract, tort (including negligence), or strict liability.
1 kHz carrier referenced to the on-board oscillator. The TPRO-cPCI is similar to the TSAT-cPCI, with the exception that it obtains time from an input time code. The time code can be in IRIG-A, IRIG-B or NASA36 format; the board automatically detects which format is being used.
(housed together in a single enclosure), a breakout-cable (DB-15 to several BNC connectors), and a user manual. The TPRO-cPCI does not include those accessories specific to GPS functions. If there is a discrepancy, please contact Spectracom Customer Service at US +1.585.321.5800.
Page 9
Discharge (ESD). Observe all ESD precautions and safeguards when handling the timecode generator. NOTE: If equipment is returned to Spectracom, it must be shipped in its original packing material. Save all packaging material for this purpose. Synchronizable Timecode Generator User Manual...
Page 10
TPRO-cPCI/TSAT-cPCI Spectracom Corporation Synchronizable Timecode Generator User Manual...
Spectracom Corporation TPRO-cPCI/TSAT-cPCI 2 Settings, Connection, and Configuration Jumper Settings The board has three push-on configuration jumpers. Verify that these are installed as shown in Figure 2.1. (Certain custom options may call for these these jumpers to be arranged differently than shown in the example.
GPS Antenna Connector (TSAT-cPCI Only) The TSAT-cPCI is equipped with a high-density, 15-pin plug connector, labeled "GPS ANTENNA", which connects to the GPS antenna via the supplied cable. Spectracom cables include shielding to meet EMI requirements. Use of other cables is not recommended.
The time code can be recorded on tape in order to time-stamp data, but there are several drawbacks to this. For example, due to time-base flutter, precision boards like the TPRO-cPCI will not synchronize to a time code that is being played back from tape. Also, when recording, it is often necessary to reduce the amplitude of the signal;...
Spectracom Corporation TPRO-cPCI/TSAT-cPCI There are two methods for using the time code output to drive inputs for multiple boards. The "T" method connects the output of the master to each slave's input. The advantage of this method is that, if any board loses the incoming signal, it will report a loss of sync and will not affect the other slaves;...
TPRO-cPCI/TSAT-cPCI Spectracom Corporation small relay. It can also be used to drive TTL logic by connecting an external 4.7K pull-up resistor to +5V. Use of a Schmitt Trigger input (e.g., 74HCT14) is recommended, as the rise time is relatively slow. The external pull-up resistor and the distributed cable capacitance determine the rise time.
Page 16
Spectracom Corporation TPRO-cPCI/TSAT-cPCI Synchronizable Timecode Generator User Manual...
Spectracom Corporation TPRO-cPCI/TSAT-cPCI 3 Specifications NOTE: Specifications apply to both the TPRO-cPCI and the TSAT-cPCI unless otherwise indicated. Table 3.1—General Specifications 100mm, 160 mm, 1.6mm (H, D, T) Size (board) (3.94 inch, 6.30 inch, 0.063 inch) (H, D, T) 3U x 4HP 128.7 mm, 20.32 mm (H, W) Size (front panel) (5.07 inch, 0.80 inch) (H, W)
Page 18
TPRO-cPCI/TSAT-cPCI Spectracom Corporation Table 3.4—External GPS Receiver/Antenna TSAT-cPCI Only Number of Satellites Tracked 12 max Acquisition Time (Warm Start) 45 seconds (typical) Acquisition Time (Cold Start) 2 minutes (typ), 15 minutes (max) Frequency 1575.42 MHz (Receive Only, L1 Band, C/A Code, SPS) Sync to UTC ±130 nS (1 sigma, stationary location)
Page 19
Cable Size 9 mm (0.4 inch) O.D. Connector Size (both ends) 34 mm X 16 mm (1.4 inch x 0.6 inch) Table 3.7—Time Code Input TPRO-cPCI Only Connector DB-15 TIMING, Pins 1(+) and 2(–) Format (detected automatically) IRIG-B(122) or IRIG-A(132) Amplitude (mark) IRIG-A 1.2 Vp-p (min), 8.0 Vp-p (max)
Page 20
Cable Length* (5 MHz) 23 m (75 ft) max Cable Length* (10 MHz) 3 m (10 ft) max Spectracom recommends a 22 AWG twisted, shielded pair cable. Connect shield to connector shell. Table 3.12—Heartbeat Output Connector DB-15 TIMING, pin 14...
Page 21
Spectracom Corporation TPRO-cPCI/TSAT-cPCI Table 3.13—Match Output Connector DB-15 TIMING, pin 6 Output Voltage (high) 3.8 V at 4 mA Output Voltage (low) 0.3 V at –4 mA Output Current (high or low) ±6 mA max Setability 1 uS Time base Error Same as on-board clock Table 3.14—In Sync Output...
Page 22
TPRO-cPCI/TSAT-cPCI Spectracom Corporation Synchronizable Timecode Generator User Manual...
Spectracom Corporation TPRO-cPCI/TSAT-cPCI 4 Register Level Description NOTE: In this manual, the prefix "0x" indicates that the number is in hexadecimal (Base 16) format. The descriptor “\0” denotes a single ASCII “null” character, which as a value of zero (0x00). It indicates the end of an ASCII string.
TPRO-cPCI/TSAT-cPCI Spectracom Corporation Register Map The registers are mapped into 64 words (256 bytes) of consecutive memory space as shown below. The absolute memory address is computed as Base+Offset. "tbreg_" denotes "timing board register." For some registers, the content of the data written is irrelevant; the act of writing (any value) to the register triggers an event.
Page 25
Spectracom Corporation TPRO-cPCI/TSAT-cPCI 4.3.4 Interrupt Enable Register (tbreg_irq_en) The user can specify which of several possible conditions will generate an interrupt. The individual bits correspond to the IRQ Enable bits in the Status Register. 4.3.5 Clear Flag–Match Register (tbreg_clrflag_m) Writing (any value) clears Flag–Match.
Page 26
TPRO-cPCI/TSAT-cPCI Spectracom Corporation 4.3.9.1 Flag–Acquire This status bit is asserted when the board detects that a time code is present (before synchronization is established), or when the GPS receiver is connected, but is not tracking satellites. It is not asserted if no time code is connected to the input.
Page 27
These three bits indicate which input time source is being used. This is intended for diagnostic purposes only. tbstat_ssi[2:0] Input Time Source Searching for time code input (TPRO-cPCI) Acquiring GPS satellites (TSAT-cPCI) Time Code Input (IRIG-A autodetected) Time Code Input (IRIG-B autodetected)
Page 28
TPRO-cPCI/TSAT-cPCI Spectracom Corporation 4.3.9.17 Time Tag Event Counter This is intended for diagnostic purposes only. It counts the number of time tag events that have occurred since the time tag registers were read. If it reaches maximum count (0xf), it will remain at maximum count.
Spectracom Corporation TPRO-cPCI/TSAT-cPCI 4.3.10 Clock Time Registers (tbreg_clk_upper, tbreg_clk_lower, and tbreg_clk_date) To read the Clock Time, first read the Status Register as described above, then read the two Clock Time registers and the Clock Date register. These registers consist of groups of four bits, each of which represents a digit in the time (i.e., it is in Binary Coded Decimal [BCD] format).
Page 30
TPRO-cPCI/TSAT-cPCI Spectracom Corporation Synchronizable Timecode Generator User Manual...
TPRO-cPCI/TSAT-cPCI Spectracom Corporation 5 Commands and Responses Introduction To send a command: 1. Read the Status Register, do not proceed until: Flag–Command Complete = 1. 2. Write the command to tbreg_cmd[3:0]. Important: Write to tbreg_cmd[3] last. 3. If a response is expected, read the Status Register until Flag–Command Complete = 1, then read the response from tbreg_response[3:0].
Page 32
TPRO-cPCI/TSAT-cPCI Spectracom Corporation For example, to set the board to year 2001, day 345, hour 12, minute 56, second 29, write the following values: tbreg_cmd[0] = 0x03451256 tbreg_cmd[1] = 0x29000000 tbreg_cmd[2] = 0x00002001 tbreg_cmd[3] = 0x00000010 The board will compute the Gregorian date (December 11) from the Julian day (345) and the year.
TPRO-cPCI/TSAT-cPCI Spectracom Corporation Set Year 0 x 0015 Time codes (IRIG-A, IRIG-B and NASA36) do not convey the year. Use this command to set the year. This is the same as setting the year using the 0x0010 command, except that this command does not change the Julian day or time.
TPRO-cPCI/TSAT-cPCI Spectracom Corporation Set Match Start Time 0 x 0020 Set the Match Start time by writing the following values: Bits tbreg_cmd[0] Bits tbreg_cmd[1] 31:28 (unused) 31:28 10s of seconds 27:24 100s of days 27:24 1s of seconds 23:20 10s of days 23:20 0.1s of seconds...
TPRO-cPCI/TSAT-cPCI Spectracom Corporation Set Heartbeat Divider 0 x 0040 The Heartbeat is the output of a programmable divider. This command selects the clock frequency and the counter preset number. The counter counts from the counter preset number up to maximum count (0xffff). When maximum count is reached, one Heartbeat pulse is output, and the counter re-loads the counter preset number.
TPRO-cPCI/TSAT-cPCI Spectracom Corporation Compute N as follows: For negative offsets: N = offset (range 0x0000 through 0x0999) For positive offsets: N = 0x1000 + offset (range 0x1000 through 0x1999) NOTE: Be careful when writing software to increment or decrement this value. Only BCD values are acceptable.
TPRO-cPCI/TSAT-cPCI Spectracom Corporation 5.10 Read Longitude 0 x 0071 (TSAT-cPCI Only) Write command 0x00000071 to tbreg_cmd[3] to read the computed longitude. Units are degrees, minutes, and fractional minutes, not degrees, minutes, and seconds. An ASCII string is returned. Bits tbreg_response[0]...
The Factory Test Messages provide a means of diagnosing problems. There are 16 different possible messages, each of which is 128 bits (4 words) long. Spectracom recommends that the user include the ability to read these messages. Specifically, the user's software should include a function (subroutine) to read and display them (or log them to the disk).
It is not possible to determine what options are present, or which version is more recent, from this number. It is is for diagnostic purposes only. Spectracom suggests that the user's software include a means of reading and displaying these numbers.
TPRO-cPCI/TSAT-cPCI Spectracom Corporation 6 Options and Accessories The following options and accessories are available: Accessories 6.1.1 TRIM-CAB-D-D-100 (TSAT-cPCI Only) This cable acts as an extension cord for a board that is using the Trimble GPS Receiver. It consists of a 100’ cable with DB-15 connectors (one male, one female) on the ends. It connects to a board on one end, and to the standard TRIM-CAB-STD cable on the other end.
Page 42
TPRO-cPCI/TSAT-cPCI Spectracom Corporation Synchronizable Timecode Generator User Manual...
Spectracom Corporation 7 Driver Support Please contact your sales representative for information about Spectracom’s bus-level timing board driver support for Windows, Linux, VxWorks, and a variety of other platforms. You may also visit our website at www.spectracomcorp.com to download datasheets and manuals.
Page 44
TPRO-cPCI/TSAT-cPCI Spectracom Corporation Synchronizable Timecode Generator User Manual...
Page 45
REVISION HISTORY Revision Level Number Description First conversion of legacy KSI documentation to Spectracom — documentation. Corrected errors in Phase Noise values. Removed reference to 2022 Option 05. Made minor style and format changes. 2218 Changed lower limit of IRIG-B input voltage range to 3.6V.
Page 46
Spectracom Corporation 95 Methodist Hill Drive Rochester, NY 14623 www.spectracomcorp.com Phone: US +1.585.321.5800 Fax: US +1.585.321.5219...
Need help?
Do you have a question about the TPRO-cPCI and is the answer not in the manual?
Questions and answers