background image

5. Solaris SDK

# Makefile to build the stfp driver and the bc63xPCIcfg program

#

DRVFLAGS = -I. -m64 -xarch=sparc -xcode=abs32 -xregs=no%appl -xO3

APPFLAGS = -I. -m32 -xO3

DRIVER

= stfp

PCIDEMO

= bc63xPCIcfg

OBJS

= stfp.o bc635pci.o

.PHONY: all

all: $(DRIVER) $(PCIDEMO)

.PHONY: clean

clean:

@rm -f $(OBJS)

@rm -f $(DRIVER)

@rm -f $(PCIDEMO)

$(DRIVER): stfp.o

ld -r -o $@ $+

$(PCIDEMO): bc635pci.o

$(CC) -o $@ $+

stfp.o: stfp.c

$(CC) -D_KERNEL -c $(DRVFLAGS) -o $@ $<

bc635pci.o: bc635pci.c

$(CC) -c $(APPFLAGS) -o $@ $<

- 198 -

Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Summary of Contents for bc635PCI-V2

Page 1: ...l service in house repair center WE BUY USED EQUIPMENT Sell your excess underutilized and idle used equipment We also offer credit for buy backs and trade ins www artisantg com WeBuyEquipment REMOTE INSPECTION Remotely inspect equipment before purchasing with our interactive website at www instraview com LOOKING FOR MORE INFORMATION Visit us on the web at www artisantg com for more information on ...

Page 2: ...uded PCI bc635PCI V2 bc637PCI V2 bc635PCI V2 OCXO bc637PCI V2 OCXO PCIe bc635PCIe bc637PCIe bc635PCIe OCXO bc637PCIe OCXO Product CD 098 00179 000 November 2 2009 Revision A Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 3: ...Measurement Division cus tomers should then select Option 2 Technical Support personnel are available by phone n Between 7 a m to 5 p m Pacific Time weekdays through the Main Customer Assistance Center number 1 408 428 7907 n Between 8 a m to 5 p m Central European Time weekdays at the Europe Middle East and Africa number 49 700 32886435 n After hours support for emergencies only is handled throug...

Page 4: ...eight prepaid provided however that Buyer has first obtained a return materials authorization number RMA Number from Symmetricom authorizing such return The RMA Number shall be placed on the exterior packaging of all returns Symmetricom will pay ship ping costs to return repaired or replacement goods to Buyer Symmetricom reserves the right to disallow a warranty claim following an inspection of re...

Page 5: ...l Support and Return Materials Authorization please see Symmetricom Customer Assistance on page ii Conventions The conventions used in this manual are Note Tips and clarifications Warning Actions to prevent equipment damage Bold Used to show messages menu items etc that appear on a computer screen For example click on Submit Changes Text Used to indicate text you should enter with your keyboard ex...

Page 6: ... Information 1 1 1 2 Key Features 4 1 1 4 Specifications and Settings 5 Time Code Inputs 5 Time Code Outputs 5 PCIe Bus Characteristics 6 PCI Bus Characteristics 6 Inputs 6 Outputs 7 bc635PCI V2 and bc637PCI V2 Jumpers 7 bc635PCIe and bc637PCIe Jumpers 7 Environmental Specifications 8 Front Panel LED 8 GPS Antenna 8 1 2 Installation 10 Artisan Technology Group Quality Instrumentation Guaranteed 88...

Page 7: ...5 Installation Under Windows 14 1 2 6 Windows Software Development Kit 14 1 2 7 Linux Software Development Kit 15 1 2 8 Solaris Software Development Kit 16 1 2 9 Installation Under Other Operating Systems 16 1 3 Functional Description 16 1 3 1 General 16 Mode 0 Time Code Mode 17 Mode 1 Free Running Mode 17 Mode 2 External 1 PPS Mode 17 Mode 3 RTC 17 Mode 6 GPS bc637PCI V2 and bc637PCIe 17 Time Cap...

Page 8: ...Device Registers 26 1 4 1 General 26 1 4 2 PCI Memory Map 26 1 4 3 Device Register Description 26 TFP Device Register Summary 27 TIMEREQ Register 0x00 27 EVENTREQ Register 0x04 27 UNLOCK1 Register 0x08 28 UNLOCK2 Register 0x0C 28 CONTROL Register 0x10 28 CONTROL Register 29 ACK Register 0x14 30 MASK Register 0x18 31 INTSTAT Register 0x1C 31 INTSTAT Register 31 MINSTRB 0x20 MAJSTRB 0x24 Registers 3...

Page 9: ...TUS Phase Bit 25 35 STATUS Frequency Offset Bit 26 35 1 5 Dual Port RAM Interface 35 1 5 1 General 36 Input Area 36 Output Area 36 GPS Area 36 Year Area 36 DPRAM Address and Contents 36 1 5 2 ACK Register 36 ACK Bit 0 37 ACK Bit 2 37 ACK Bit 7 37 1 5 3 TFP DPRAM Commands 37 DPRAM Command Summary 40 Command 0x10 Set TFP Timing Mode 41 Command 0x11 Set Time Register Format 41 Artisan Technology Grou...

Page 10: ...eap Second Event 49 Command 0x1F Request Firmware Information 49 Command 0x20 Select Clock Source 50 Command 0x21 Control Jamsync 50 Command 0x22 Force Jamsync 50 Command 0x24 Load DAC 51 Command 0x25 Set Disciplining Gain 51 Command 0x26 Request Battery Connection Status 51 Command 0x27 Synchronize RTC to External Time Data 52 Command 0x28 RTC Battery Connection Control 52 Command 0x30 Send Packe...

Page 11: ... TFP Model Identification request only 57 Command 0xFE TFP Serial Number request only 58 1 6 Inputs and Outputs 58 1 6 1 TFP I O Connector Signals 58 1 6 2 bc635PCIe and bc637PCIe Accessories 59 Signal Breakout Kit 59 Breakout Cables 61 Timing Input Output Breakout cable and Patch Panel BNC Map 63 1 7 GPS Receiver Interface 63 1 7 1 General 63 1 7 2 GPS Timing Mode Mode 6 Characteristics 64 1 7 3 ...

Page 12: ...9 1 9 1 PCI Bar Mapping 70 1 9 2 Differences Between Versions U and New Generation Cards 70 2 Windows Application Programs 72 2 1 bc635PCIcfg exe Windows Application Program 72 2 1 1 General 72 2 1 2 Quickstart Guide to Operating bc635PCIcfg exe 72 2 1 3 bc637PCIcfg Program Menu Interface 74 File Menu 74 Time Menu 75 Time Code Menu 78 Signals Menu 79 Hardware Menu 81 Special Menu 82 PCI Menu 85 He...

Page 13: ...et Menu 95 Help Menu 96 2 3 Traytime Windows Application Program 97 2 3 1 Installation 97 2 3 2 Functionality 97 2 3 3 TrayTime Dialog Windows 98 Main Window 98 TrayTime Setup Status Window 99 TrayTime Setup Configuration Window 100 3 Windows SDK 101 3 1 Introduction 101 3 1 1 General 101 3 1 2 Features 101 3 1 3 Overview 101 3 2 Release Notes 102 Artisan Technology Group Quality Instrumentation G...

Page 14: ...ion 104 Software developer s kit installation 104 Configuration 105 Test installation 105 Project creation 105 Microsoft Visual C 6 0 105 Microsoft Visual Studio 2008 106 3 4 Library definitions 106 General 106 Windows SDK Command Finder 107 Functions 109 4 Linux SDK 139 4 1 Introduction 139 4 1 1 General 139 4 1 2 Features 139 4 1 3 Overview 139 Artisan Technology Group Quality Instrumentation Gu...

Page 15: ...ut Format 147 Select the Time Register Format 148 Read Current Time 149 Set Current Time 150 Set Current Year 150 Request Model Information 152 DDS Frequency and New Time Codes 152 Compatibility with Old bc635PCI or bc637PCI Card 155 Uninstall Instructions 155 4 3 Library Definitions 155 4 3 1 General 155 4 3 2 Functions 156 4 4 Programming Examples 186 4 4 1 General 186 4 4 2 Starting and Stoppin...

Page 16: ...Installation 191 5 2 2 Software Installation 192 5 2 3 Test Installation 196 5 2 4 Driver Compilation 197 5 3 Driver Function Definitions 199 5 3 1 General 199 5 3 2 Functions 199 5 4 Example Program 207 5 4 1 General 207 5 4 2 Program Functions 208 4 4 3 Example 1 GPS Packet 46 Health Packet Sample 217 4 4 4 Example 2 1PPS Interrupt Sample 217 Glossary 219 Index 222 Artisan Technology Group Quali...

Page 17: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 18: ...e supplying precise time 100 s nanoseconds through thousands of years to the host computer When the card is operating as a Synchronized Generator the output signals are synchronized to the timing reference The card phase locks to the timing reference and controls the on board oscillator to remove frequency errors If the timing reference is lost the card continues to increment time and output timin...

Page 19: ...Processor GPS Antenna A SMB Antenna Connector B J1 Module I O 15 pin D sub connector Figure 1 2 Model bc637PCI V2 GPS option shown with GPS antenna All sections of this manual are applicable to all boards except where noted 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 20: ...PS Antenna P N 142 614 50 A SMB Antenna Connector B J1 Module I O 15 pin D sub connector Figure 1 4 Model bc637PCIe GPS option shown with GPS antenna All sections of this manual are applicable to all boards except where noted 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 21: ...ronization source be lost n The TFP generates IRIG A B G E IEEE 1344 NASA 36 XR3 and 137 time codes Amplitude modulated and DC level shift formats are produced simultaneously n A Programmable Periodic also known as Heartbeat output is provided The output frequency is programmable and may be synchronized to the TFP 1 PPS signal The Periodic output pro gramming is discussed in 1 3 2 Heartbeat Output...

Page 22: ...ovide interrupts at system start up and therefore do not support the PCI Local Bus Specification Revision 2 3 feature of software disable of interrupts at start up 1 1 4 Specifications and Settings Time Code Inputs Formats IRIG A B G E IEEE 13441 NASA 36 XR3 and 2137 AM DCLS Carrier Range 5 PPM Time Accuracy2 5 μsec AM with carrier frequencies 1 kHz or greater 1 μsec DCLS AM Modulation Ratio 2 1 t...

Page 23: ... X compatible Size 4 2 x 6 875 Full Height Interrupts Automatically Assigned PnP Power bc635PCI V2 5V 700 mA 12V 50 mA Power bc637PCI V2 5V 800 mA 12V 50 mA Power bc635PCI V2 OCXO 5V 800 mA 1 1 A start up 12V 50 mA Power bc637PCI V2 OCXO 5V 900 mA 1 2 A start up 12V 50 mA Inputs Event Inputs 1 2 3 5V HCMOS 2V high 0 8V zero latency Rising or Falling Edge Triggered 20 nS min width 250 nS min period...

Page 24: ... configuration places the 2mm J1 jumper ON n JP2 is the 1 5 10 MPPS or 10 MHz oscillator select switch The factory configuration places the 2mm JP2 jumper on pins 1 2 which will allow for the software selection of 1 5 or 10 MPPS for the output on J1 pin 13 When the jumper is in the 2 3 position the output on J1 pin 13 is a buffered signal from the 10 MHz oscillator n JP3 is the DAC voltage range s...

Page 25: ... to 70 C 32 F to 158 F Non Operating 30 C to 85 C 22 F to 185 F Relative Humidity Operating Non Operating To 95 RH non condensing Front Panel LED LED indication LED Definition 1 Off No power 2 Red No valid reference 3 Orange Valid reference but not locked to it yet 4 Green Freerun mode 5 Green Blinking Locked to a timing reference GPS Antenna To operate in the GPS Synchronized Generator mode the b...

Page 26: ...e loosened the antenna module detaches as shown below expos ing the TNC connector Figure 1 6 Antenna with TNC connector Warning Models bc637PCI V2 and bc637PCIe supply 5 VDC to the antenna Connection to an alternate antenna may damage the board and or antenna functionality 9 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 27: ...onverter units are mounted on a 12 inch 30 48 cm long PVC mast with 3 4 inch 1 9 cm Male Pipe Thread MPT on both ends 1 2 Installation 1 2 1 General This section contains TFP installation instructions and information regarding operating modes and the use of registers to configure the card Models bc637PCI V2 and bc637PCIe have the additional fea ture of GPS mode that will automatically synchronize ...

Page 28: ...n an empty card slot If a low profile front panel needs to be attached to the TFP follow the instructions below Changing the TFP Card Front Panel The bc63xPCI V2 and bc63xPCIe TFP card is shipped with a full height front panel attached to it A low profile front panel is included as an alternative for low profile situations If the low profile front panel option is required use the following procedu...

Page 29: ...means locating the antenna as high as possible Any obstruction will degrade unit performance by blocking satellite signals Blocked signals can significantly increase the time for satellite acquisition or prevent acquisition all together The installation instructions are divided into Quick Initial Setup and Permanent Installation sec tions This is designed to firstly get the GPS unit up and running...

Page 30: ... the antenna Do not disconnect the pipe from the antenna assembly To gain access to the TNC antenna input connector untighten the four captive UNC screws that secure the two parts of the antenna Figure 1 7 Permanent Antenna Installation Mast top mounting is the preferred mounting method Special brackets are provided to mount the antenna to a pipe or the peak of a building The antenna mounting mast...

Page 31: ... hardware Dis regard cancel this dialog box 3 Insert the bc63xPCIe V2 product CD and select bc635PCIcfg or bc637PCIcfg to install depending on the type of TFP you inserted into your PC The bc637PCIcfg exe demonstrates the board s GPS functionality Follow the instructions shown on the screen to finish the instal lation The computer will reboot at the end of the installation 4 If Auto Run is disable...

Page 32: ...g Legacy bc635 SDK software with the bc635PCIe For customers wanting to run previously written software with the new 32 64 bit driver you will need to recompile your applications with the new driver and dll to support operating systems from Win dows XP through Windows 7 See 3 2 Release Notes on page 102 1 2 7 Linux Software Development Kit To develop Linux based applications for Symmetricom TFP ca...

Page 33: ...Please contact Symmetricom for source code availability With the wide variety of machines and operating systems that support the PCI e bus it is not practical for Symmetricom to develop drivers for use in all of these environments 1 3 Functional Description 1 3 1 General The primary function of the TFP is to provide precise time to the host computer across the PCI or PCIe bus The TFP can derive ti...

Page 34: ...n external timing source is unavailable Mode 2 External 1 PPS Mode In External 1 PPS Mode the TFP synchronizes its oscillator to a user supplied 1 PPS signal The user must set major time manually The Major Time is selected via the dual port RAM interface as described in Command 0x11 Set Time Register Format on page 41 Chapter 1 5 using command 11 The External 1PPS Mode will not indicate locked sta...

Page 35: ...e described in more detail in 1 4 3 Device Register Description on page 26 The third and fourth set of time capture registers EVENT2_0 EVENT 2_1 EVENT3_0 and EVENT3_1 are identical in format to the TIMEx registers but they are only usable with external event sources The inputs to the Event2 and Event3 time capture registers are on dual purposed input pins where usually one or other of the function...

Page 36: ...ntinuous mode synchronizes the DDS circuit each second maintaining rising edge timing to the card s on time 1PPS signal Continuous mode may be used when the DDS is set for an integer rate Fractional mode Fractional mode allows the DDS circuit to generate a non integer frequency after first being syn chronized to the card s on time 1PPS signal Note that the DDS circuit is always re synchronized to ...

Page 37: ... 2 2 Example of period mode calculation using 100 MHz Divider Source Desired period 59 3 ms 59 3E 3 20E 9 2 Result 2964998 Multiplier Mode The DDS circuit also includes a frequency multiplier that may be used The multiplier s input is the DDS and the output is DDS times the multiplication factor This circuit can multiply the DDS frequency by 1 2 3 4 6 8 10 or 16 Note that the DDS frequency must be...

Page 38: ...cing a TFP interrupt the Interrupt Service Routine ISR in the driver reads the INTSTAT register in order to determine the interrupt source s requesting service Table 1 TFP Interrupt Sources Int Interrupt Source 0 Signal transition on Event Input has occurred edge selected by EVSENSE 1 PPO edge has occurred edge selected by EVSENSE 2 Time Coincident Strobe output rising edge has occurred 3 One seco...

Page 39: ...e using the bc635PCIcfg exe pull down menu Signals Events and select External Input and Rising Edge 5 Read the minor event time using the bc635PCIcfg exe pull down menu Time Get Event Time 6 Repeat the previous step to obtain an average value You may have to average two neighboring values e g the average of x 000012 and x 000013 is x 0000125 7 Convert the minor event time to a calibration factor I...

Page 40: ...se a serial port interface for firmware updates TFP cards use flash memory which is upgraded using an embedded boot loader program The user transfers the program file that is in S Record format to the card via a serial port running a terminal program that supports a text file transfer format e g TeraTerm or Hyperterminal Insertion of the mating DIN connector is automatically detected which places ...

Page 41: ...ansmit CR l Local echo not selected After plugging in the DIN serial port adapter that is connected to a serial port running TeraTerm as con figured above the following string should be output to the terminal screen E rase P rogram or R un Application 24 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 42: ...minal screen until the file transfer is complete approximately 408KB It takes approximately 5 minutes to download the new file 3 Select R to run the application Note The application is set up to run automatically However if the serial cable is connected to the card but not to the host computer the application will hang awaiting response from the host If the application does not run automatically d...

Page 43: ...CI word size For many of the registers only a few of the bits have any significance while the rest of the bits are ignored during writes and are meaningless during reads Registers may be l Read only R l Write only W l Read write R W l Access A Access type registers perform a function simply by being read or written without regard to the data contents It is best to use a write operation with the ac...

Page 44: ...Register 0x34 R See Note TIME1 Major Time Holding Register 0x38 R See Note EVENT0 Minor Event1 Register 0x3C R See Note EVENT1 Major Event1 Register 0x40 Reserved 0x44 A See Note UNLOCK3 Release Lockout Event3 0x48 R See Note EVENT3_0 Minor Event3 Register 0x4C R See Note EVENT3_1 Major Event3 Register Note Register contents are undefined at reset TIMEREQ Register 0x00 Accessing this register with...

Page 45: ...bit 0 in the CONTROL Register LOCKEN1 UNLOCK2 Register 0x0C Accessing this register with a read or write operation releases the EVENT2 time capture lockout function if it has been enabled allowing a new event to be captured The Event2 Time Capture Lock out is enabled using bit 8 in the CONTROL Register LOCKEN2 CONTROL Register 0x10 This register controls a variety of TFP hardware functions The fol...

Page 46: ...E to Select Event Source 4 STREN Time Coincidence Strobe Output Enable 0 Disable Strobe Output is Held Low 1 Enable 5 STRMODE Time Coincidence Strobe Mode 0 Use Major and Minor Time for Strobe Function 1 Use Minor Time Only for Strobe Function If STRMODE 1 an Output Strobe is Produced Each Second 6 FREQSEL0 Output Frequency Select 00 10MHz 01 5MHz 1X 1MHz 7 FREQSEL1 Output Frequency Select 00 10MH...

Page 47: ...he Event Source the PPO DDS and Event Input are internally connected eliminating the need for an external physical connection The EVENTENx bit is used to enable capture of time into the respective EVENTx registers The EVSENSEx bit controls the active edge that is used to capture time into the respective EVENTx registers Enabling the Lockout function via the LOCKENx bit allows only the first instan...

Page 48: ...onding bit s set For example to clear INTSTAT bit zero write 0x01 to the INTSTAT register To clear all INTSTAT bits simultaneously write 0x7F to the INTSTAT register The corresponding INSTAT bit MUST be cleared in order to enable the next interrupt occurrence A PCI interrupt is generated anytime one or more INTSTAT bits 0 through 6 are set and the cor responding bit s are set in the MASK register ...

Page 49: ...rs depend on the time format selected see Time Format UNLOCK3 Register 0x44 Accessing this register with a read or write operation releases the EVENT3 time capture lockout function if it has been enabled allowing a new event to be captured The Event3 Time Capture Lock out is enabled using bit 12 in the CONTROL Register LOCKEN3 EVENT3_0 0x48 EVENT3_1 0x4C Registers These read only registers hold th...

Page 50: ... 19 16 15 8 7 0 TIME1 EVENT1 EVENT2_1 EVENT3_1 Major Time UNIX Seconds 31 0 TIME0 EVENT0 EVENT2_0 EVENT3_0 N A 31 28 Status 27 24 100 ns 23 20 Binary microseconds 19 0 MAJSTRB N A 31 22 Major Time UNIX Sec 22 bits LSB 21 0 MINSTRB N A 31 28 Status 27 24 N A 23 20 Binary microseconds 19 0 Table 3 TFP Decimal Time Format 33 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE ww...

Page 51: ...2_0 Event3_0 MINSTRB is always binary 20 bits of binary microseconds 0 999 999 in the lower part of the registers with an additional four bit field of hundreds of nanoseconds 0 9 located in bits 20 23 Most UNIX time functions use microseconds but the TFP maintains time to hundreds of nanoseconds STATUS BITS The TFP Status bits found in the minor time registers are summarized in the following table...

Page 52: ...P locks to the new timing source STATUS Phase Bit 25 This bit indicates the synchronization accuracy of the TFP relative to the timing source This bit is updated approximately once per second When the TFP s oscillator is synchronized to less than 5 microseconds with AM time code mode as a reference and less than 2 microseconds in other modes this bit is cleared STATUS Frequency Offset Bit 26 This ...

Page 53: ... data that the user requests from the TFP GPS Area This area holds packets of data from the optional GPS receiver such as position velocity GPS status etc Year Area This area holds the year number derived from the timing source if available The year value is restored after a power cycle DPRAM Address and Contents Data Size Offset Year Area 2 bytes 0x00 GPS Area 0x80 bytes 0x02 Output Area 0x80 byt...

Page 54: ...s written to the first location in the DPRAM Input Area followed by the command data byte s The following com mand data types are used Command data is loaded into the DPRAM in the Big Endian fashion most significant byte first The following table summarizes the DPRAM commands DPRAM Commands UINT8 Unsigned 8 Bit Integer 1 Byte INT8 Signed 8 Bit Integer 1 Byte UINT16 Unsigned 16 Bit Integer 2 Bytes ...

Page 55: ...s the set periodic output command ID c select the WRITE button d Offset 103 e Value 1 value of 1 here selects Synchronous Mode f select the WRITE button g Offset 104 h Value 0 msb of n1 value i select the WRITE button j Offset 105 k Value a lsb of n1 value set to decimal 10 l select the WRITE button m Offset 106 n Value 0 msb of n2 value o select the WRITE button p Offset 107 q Value a lsb of n2 v...

Page 56: ...1 5 Dual Port RAM Interface 39 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 57: ...NV Load DAC 0x25 N A Set Disciplining Gain 0x26 N A Battery Connection Status 0x27 N A Synchronize RTC to TFP Time 0x28 N A Battery Connection Control 0x30 N A Send Packet to GPS Receiver bc637 only 0x31 N A Request Packet from GPS Receiver bc637 only 0x32 N A Manual Request GPS Packet bc637 only 0x33 0 Select GPS Time Format bc637 only 0x40 NV Observe Local Time Flag 0x41 NV IEEE 1344 Daylight Sa...

Page 58: ...econd n 0x03 Real Time Clock Battery backed RTC n 0x06 GPS bc637 only Command 0x11 Set Time Register Format This command allows the user to select the major time format Available time formats are Binary Coded Decimal BCD and UNIX Binary The time format affects the TIMEx and EVENTx registers and Command 0x12 See Table 1 and Table 2 for the UNIX and BCD time register definitions respec tively Byte T...

Page 59: ...mat 0x00 Command 0x11 format 0x00 Byte Type Item Value or Range 0 UINT8 ID 0x12 1 2 UINT16 Year 1970 2036 3 4 UINT16 Days 0 to 0x16e 0 to 366 5 UINT8 Hours 0 to 0x17 0 to 23 6 UINT8 Minutes 0 to 0x3b 0 to 59 7 UINT8 Seconds 0 to 0x3b 0 to 59 The time loaded by this command will not be readable until the one second epoch following the load There is a possibility the TFP will have incremented the ti...

Page 60: ... memory Byte Type Item Value or Range 0 UINT8 ID 0x15 1 UINT8 Format1 See below 2 UINT8 Format2 See below Format Choices Format1 Format2 ASCII AM Time Code DCLS 0x41 0x0 A A130 1 2 3 IRIG A no year A000 1 2 3 0x41 0x59 AY A134 5 6 7 IRIG A w year A004 5 6 7 0x42 0x0 B B120 1 2 3 IRIG B no year B000 1 2 3 0x42 0x59 BY B124 5 6 7 IRIG B w year B004 5 6 7 0x45 0x0 E E121 2 IRIG E 1K no year E001 2 0x...

Page 61: ...See Command 0x10 Use Command 0x15 to select the time code format Byte Type Item Value or Range 0 UINT8 ID 0x16 1 UINT8 modulation See below Modulation Choices n 0x4D M amplitude modulated sine wave AM n 0x44 D DC level shift DCLS Command 0x17 Set Propagation Delay Compensation It is sometimes desired to program an offset into the basic TFP time keeping functions relative to the reference input For...

Page 62: ...eletion Event n 0x00 No Event n 0x01 Addition Event Command 0x19 Request TFP Data This command requests data from the TFP that is not available via the device registers The TFP transfers the requested data to the DPRAM Output Area The data is available to the user as soon as the TFP sets ACK bit 0 Byte Type Item Value or Range 0 UINT8 ID 0x19 1 UINT8 Req data type See Below Requested Data Type Cho...

Page 63: ...at that is generated by the TFP on J1 Note that this selection is restored at power up from NV memory Byte Type Item Value or Range 0 UINT8 ID 0x1B 1 UINT8 Format1 See below 2 UINT8 Format2 See below Time Code Output Formats Format1 Format2 ASCII AM Time Code DCLS 0x41 0x30 A0 A130 BCD CF SBS A000 0x41 0x31 A1 A131 BCD CF A001 0x41 0x32 A2 A132 BCD A002 0x41 0x33 A3 A133 BCD SBS A003 0x41 0x34 A4 ...

Page 64: ...CD YR CF E005 0x65 0x36 e6 E116 BCD YR E006 0x47 0x35 G5 G145 BCD YR CF G005 0x4E 0x0 N AM Nasa 36 DCLS 0x58 0x0 X AM XR3 DCLS 0x32 0x0 2 AM 2137 DCLS IRIG Control Function CF Bits In the following tables tq1 through tq4 are time quality bits For time quality and unlock bits 1 means active For IRIG output codes A B E or G with CF bits the following CF bits are encoded Index Bit count name 70 0 71 ...

Page 65: ... CF bits are encoded The unlock bit may be used to inform time code readers of the generators lock status Command 0x1C Set Generator Time Offset This command is used to add subtract an offset to the time code generator output This command affects the generator output only Byte Type Item Value or Range 0 UINT8 ID 0x1C 1 2 UINT16 Local Offset 0xfff0 to 0x0010 16 to 16 3 UINT8 Half Hour 0 or 1 HALF H...

Page 66: ...ommand 0x1E Program Leap Second Event Byte Type Item Value or Range 0 UINT8 ID 0x1E 1 INT8 LS_Flag 1 to 1 Leap Second Flag l 1 Insertion l 1 Deletion 0xff l 0 Disable Command 0x1F Request Firmware Information Byte Type Item Value or Range 0 UINT8 ID 0x1F 1 INT8 Major SW version 0x1 to 0x63 1 99 2 INT8 Minor identifier Model dependant 3 INT8 SW release Month 0x1 to 0xC 1 12 4 INT8 SW release Date 0...

Page 67: ... ID 0x20 1 UINT8 clock source see below Clock Source Choices n 0x49 I Internal 10 MHz Oscillator n 0x45 E External 10 MHz Oscillator Command 0x21 Control Jamsync This command can be used to disable TFP jam syncs that normally occur automatically The default is jamsync enabled Byte Type Item Value or Range 0 UINT8 ID 0x21 1 UINT8 jamsync ctrl 0 jamsync disabled 1 jamsync enabled Command 0x22 Force ...

Page 68: ...age range a 2mm jumper must be placed on JP3 Byte Type Item Value or Range 0 UINT8 ID 0x24 1 2 UINT16 DAC value 0x0000 0xFFFF Command 0x25 Set Disciplining Gain This command allows the gain and sense of the disciplining process to be set by the user A positive gain indicates that the voltage controlled oscillator source frequency increases with increasing con trol voltage This feature is valuable ...

Page 69: ...is command allows the user to send a GPS packet to the GPS receiver The format and use of this command is described in GPS Receiver Interface Command 0x31 Request Packet from GPS Receiver bc637 only This command allows the user to request a GPS packet i e position velocity status etc from the GPS receiver The format and use of this command is described in GPS Receiver Interface Command 0x32 Manual...

Page 70: ...Local Time Observe Flag n 0 disable n 1 enable Command 0x41 IEEE 1344 Daylight Saving and Local Time Flags This command queries the daylight saving and local time observed flag Additionally this command is used to set the IEEE 1344 Time Code daylight saving observed flag Use this command in con junction with Command 0x19 Byte Type Item Value or Range 0 UINT8 ID 0x41 1 UINT8 Flag 0x00 0xff Flag n b...

Page 71: ...p from NV memory Byte Type Item Value or Range 0 UINT8 ID 0x44 1 UINT8 Dis En see below n 0 Disabled n 1 Enabled Command 0x45 DDS Divide Select The DDS frequency synthesizer s divider can be used to divide the selected input down to generate lower or fractional frequencies Selectable decade divides that range from divide by 1E0 through divide by 1E7 are available The divider will also allow for fr...

Page 72: ...Continuous Frac tional mode allows for fractional frequencies to be generated that are time synchronized only when a change is made to the DDS frequency but never again allowing for non integer rates Continuous mode should be used for integer rates only where the frequency synthesizer and divider are syn chronized each second Note that integer frequency rates may use the fractional mode and it wil...

Page 73: ...Command 0x49 DDS Period Value The DDS divider has a selectable mode called Period Mode command 0x45 value F This mode may be desirable when the DDS cannot be set to the exact frequency but a period value based on the period of the DDS rate will be exact Note that this value is restored at power up from NV mem ory Byte Type Item Value or Range 0 UINT8 ID 0x49 1 4 UINT32 Period val 0x0 to 0x00FFFFFF...

Page 74: ...0 UINT8 ID 0x4f 1 UINT8 P P 0x50 2 UINT8 C C 0x43 3 UINT8 I I 0x49 4 UINT8 E 0x2d or 0x45 5 UINT8 v 0x76 6 UINT8 2 0x32 Command 0xF6 TFP Model Identification request only This command queries the PCI family TFP part number Use this command in conjunction with Com mand 0x19 Both the PCI V2 and PCIe cards are shown Byte Type Item Value or Range 0 UINT8 ID 0xf6 1 UINT8 Model B 2 UINT8 Model C 3 UINT8...

Page 75: ...d with the func tions separated with a see pins 10 14 and 15 below Figure 1 10 Table 4 Signal I O Connector Pin Direction Signal 1 input External 10 MHz input 2 n a Ground 3 output Strobe output 4 output 1 PPS output 5 output Time Code output AM 6 input External Event input 7 input Time Code input AM 8 n a Ground Recommended Time Code return 9 output Oscillator Control Voltage output 10 input Time...

Page 76: ...ects to the TFP via a male 15 pin D sub connector This board provides a separation between the TFP s high frequency signals and the lower frequency signals The 089 00133 000 board has BNC connectors for the Peri odic DDS output and the 1 5 10 MPPS output as well as a 3 pin Molex interface for the 10 MHz external oscillator input and the external oscillator voltage control output This board also pr...

Page 77: ...P Hardware Figure 1 11 Large Breakout Board top and Small Breakout Board bottom Figure 12 Large Breakout Board schematic 60 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 78: ...e in and out timing signals of the PCIe card These labeled cables mitigate the need to create special cables during project develoment and assure the correct timing signals are being accessed There are two forms of breakout cable as follows 61 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 79: ...6 BNC Breakout Cable see cable C below for signal information D to 5 BNC Breakoput Cable see cable A and B below for signal information 62 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 80: ...t3 X X External 10 MHz X Breakout cable Part numbers A BC11576 1000 B BC11576 9860115 C PCI BNC CCS 1 7 GPS Receiver Interface 1 7 1 General The most important aspects of using GPS equipment is antenna position The GPS antenna must be located in an area that has a clear view of the sky The GPS signals cannot penetrate foliage or struc tures A good antenna position will provide optimal timing perfo...

Page 81: ...PRAM GPS Packet Area the user can send and receive GPS data packets A GPS data packet consists of a packet length byte a packet ID byte and zero or more data bytes A packet length of zero indicates that no valid packet ID and data bytes are present The GPS data packet structure is summarized below Byte Item 0 packet length N number of packet data bytes 1 for the packet ID byte 1 packet ID 2 N pack...

Page 82: ...rrupt source four GPS Packet Available The user must clear ACK register bit two Retrieve Packet from GPS Receiver Command 0x31 This command allows the user to retrieve a GPS packet i e position velocity status etc from the GPS receiver by specifying the packet ID of the GPS packet of interest Packets that can be retrieved with this command are listed below Packets not found on this list must be re...

Page 83: ... command works as follows n If the requested packet is being monitored and a local copy exists then the TFP transfers its local copy of the packet to the DPRAM GPS Packet Area sets ACK bit 2 then sets ACK bit 0 to acknowledge the retrieve packet command n If the requested packet is not being monitored or if the TFP has not yet received a monitored packet then the TFP must request the packet from t...

Page 84: ...e packet length of 0 ZERO Byte 1 will return any packet with the corresponding response packet ID Byte 2 This is useful for packets like 0x47 that return variable length responses Byte Type Item Value or Range 0 UINT8 command ID 0x32 1 UINT8 response packet length 1 255 2 UINT8 response packet ID 0x00 0xFF 3 UINT8 request packet length 1 255 4 UINT8 request packet ID 0x00 0xFF 5 N UINT8 request pa...

Page 85: ...de if the card is not on a moving installation Position Fix Mode 1 In this mode a user specified satellite is used for timing functions If mode 1 is selected only a single satellite will be used for timing and the current position will be assumed accurate and static GPS packet 0x34 allows the satellite associated with mode one to be selected This packet has one data byte that specifies the PRN of ...

Page 86: ... mind The TFP monitors position and velocity packets so the position and velocity options should be sent with bits 0 and 1 set the TFP extracts major time from time packets broadcast by the GPS receiver so the timing option should be sent with bits zero one and two cleared 1 9 Legacy and New Generation Cards This section covers differences between legacy bc635 637PCI U PCI U cards and the new gen ...

Page 87: ...e OCXO option 12V 5V OCXO option sine wave square wave Time at power on elapsed RTC Time code input level AM 5V to 5V P P 1V to 8V P P Time code output level AM 4V P P 50 ohm 3V P P 50 ohm NV Restored at Power on not supported many parameters restored Strobe output tim ing 1 uS late on time bc637 GPS receiver Ace III SKII Lassen Battery disconnect jumper No Yes DDS frequency synthesizer circuit No...

Page 88: ...er UNIX seconds of Leap Event when manually entering Leap Seconds settings The PCI V2 and PCIe cards use Year and Time of Year information to determine when Leap Events will occur 71 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 89: ...under Microsoft Windows XP Vista This utility may be used to query current settings modify settings and retrieve or monitor data generated by the card This program requires the runtime driver to be available in order to operate The background win dow of the program provides time as well as information regarding the clock status interrupt bit status and clock reference source type A full menu syste...

Page 90: ...635PCIcfg exe Windows Application Program Figure 2 1 bc637 set to GPS mode Figure 2 2 bc635 set to Time Code mode 73 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 91: ...before opening the newly requested device This command will also clear the interrupt mask Select Device 0 1 2 or 3 and click OK Use Device 0 if only 1 board is installed File Interrupt Start This command allows the user to start an interrupt service routine capable of handling the selected hardware interrupts created by the TFP module After starting the interrupt service routine the user may initi...

Page 92: ...llows the user to change the operating mode of the installed card Selecting this option reveals a secondary menu listing the available operating modes of the TFP The available mode selections are n Time Code n Free Running n External 1PPS n RTC n GPS Note 1 The card automatically increments the Year value in every operating mode For more infor mation on setting the card synchronization mode refer ...

Page 93: ...cted time format This function is typically used when operating in either the Free Running or External 1PPS modes While the function may be used when operating in Time code or GPS modes subsequent time data received from the selected reference source will overwrite the manually entered time For information on Set Major Time see Command 0x12 Set Major Time on page 42 Time Set Year The Set Year menu...

Page 94: ...e Time Code output produces a second 58 followed by second 0 The application program will show second 58 followed by second 0 The TFP card uses only the Flag values of Disable Insertion or Deletion the Leap Event Time value is not supported See Command 0x1E Program Leap Second Event on page 49 Time Time Settings The Time Settings function allows the user to modify other timing operations The UTC C...

Page 95: ...ting circuits Figure 2 5 Time Code Time Code Decode The Decode menu selection allows the user to select the format and modulation types associated with an input timing signal These values control how the device attempts to decode the input time code These values may be set regardless of the mode but will only be used in time code decoding mode The format defines the type of the time code data The ...

Page 96: ...ed by the TFP The generator offset only affects the time code generation This functionality is useful for driving time code display units to display local time Allowed values are 16 through 16 and may include half hour offsets See Command 0x1C Set Generator Time Offset on page 48 Time code Current Settings The Current Settings menu selection provides time code output data summary for l Decoding l ...

Page 97: ...alues entered for the major and minor strobe registers Up to 22 bits of binary major time may be supplied in addition to the microseconds loaded in the minor strobe register This allows strobe signals to be pro grammed up to 48 days in advance This function is designed to operate with the timing format in binary mode When minor mode is selected a strobe signal is produced every second when the int...

Page 98: ...nsecutive interrupts the LEDs are changed back to green once per second This may result in LEDs only remaining red for a short period of time The default state of the interrupts is OFF Interrupt programming is described in detail in MASK Reg ister 0x18 on page 31 Signals Current Settings The Current Settings function provides a summary of all the signal data In addition to the pro grammable values...

Page 99: ... circuit time to the current time on the board The board contains a separate battery backed Real Time Clock Circuit RTC that may be used to keep time while the device is powered down Hardware Current Settings The Current Settings function provides a summary of all the oscillator data In addition to the pro grammable values other values may be presented as information points Special Menu The Specia...

Page 100: ...om the card This function is not used during normal operation See Command 0x1A Software Reset on page 46 Special Autotime The Autotime function allows the user to control the data display in the background of the main pro gram window If this function is turned off the display will stop updating but will continue to show the reference source type Special Menu The Menu command allows the user to swi...

Page 101: ...urned off or on Turning debug on causes the three status lights tracking Phase and Frequency to provide debugging information Special Emulator The emulator can be turned off or on Special Current Settings The Special Current Settings function provides information related to the PCI interface to the board This command is useful for determining whether or not the driver has obtained access to the de...

Page 102: ... also be reviewed PCI Menu In addition to the additional Special Menu selections a new menu choice PCI is available when the Advanced Menu is selected Figure 2 10 The PCI menu has the following selections n Test DPRAM n Packet Timing n Special Boot n Board Setting n PCI Config Reg 85 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 103: ...g program l Firmware Version retrieves the firmware version from the TFP l Hardware Version retrieves the hardware version from the TFP l Software Driver Version shows the version opf the driver that is loaded 86 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 104: ...settings modify settings and retrieve or monitor data generated by the card and or the GPS receiver This program requires that the runtime driver be available in order to operate The background window of the program provides current time as well as information regard ing the clock status and clock reference source type A full menu system described in the following paragraphs has been designed to p...

Page 105: ...gned to communicate with only one device at a time Open allows the user to open and operate any of up to four installed TFP cards By default the program opens and operates using the first device in the system Device 0 By selecting a new device to open the program will close the currently selected device before opening the newly requested device This command will also clear the interrupt mask 88 Ar...

Page 106: ...iver Interface Figure 2 16 File Save File Load This command allows the user to save the values to the GPS receiver located under Save Load var iable For more information on the GPS variables see GPS Receiver Interface Figure 2 17 File Load File Exit This command allows the user to close the device and exit the program 89 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www...

Page 107: ... modes subsequent time data received from the selected reference source will overwrite the loaded time when lock is achieved This function accesses the DPRAM command 0x12 Set Major Time For information on Set Major Time see Command 0x12 Set Major Time on page 42 Time Set Receiver Time The Set Receiver Time menu selection will acquire time from the TFP device and set the time on the GPS receiver Th...

Page 108: ...ange the operating mode of the installed TFP Selecting this option reveals a secondary menu listing the available operating modes of the TFP The available mode selections are n Time code n Free Running n External 1PPS n GPS For more information on setting the card synchronization mode refer to CONTROL Register 0x10 on page 28 To verify the mode select Mode Request Board Mode The Mode Set Position ...

Page 109: ...ackets are addressed in more detail in GPS Receiver Interface packets 0x2B 0x31 0x42 and 0x4A Figure 2 21 Options Menu The Options menu group see Figure 2 22 provide access to set or request the input and output options for the GPS receiver These commands are described in more detail in GPS Receiver Inter face packets 0x35 0x43 and 0x56 92 Artisan Technology Group Quality Instrumentation Guarantee...

Page 110: ...nterface packets 0x40 0x4C and 0x4D Figure 2 23 Request Menu Request Almanac Data This command provides almanac data for a single satellite Request Oscillator Offset This packet provides the receiver oscillator offset in Hertz at the carrier The packet format is described in GPS Receiver Interface packet 0x4D Request Operating Parameter 93 Artisan Technology Group Quality Instrumentation Guarantee...

Page 111: ... These commands are described in more detail in GPS Receiver Interface packets 0x2A and 0x2C Figure 2 24 Send Menu Send Altitude for 2 D Mode This packet provides the altitude used for 2 D 3 satellite mode and is used until a 3 D fix is com pleted See GPS Receiver Interface packet 0x2A for more detail Send Operating Parameters This packet is used to optionally set the GPS receiver operating parame...

Page 112: ...quivalent to cycling power The self test function is performed as part of the reset operation This command is described in more detail in GPS Receiver Interface packet 0x25 Reset Battery back up This packet commands the GPS receiver to clear data and perform a software reset This command is described in more detail in GPS Receiver Interface packet 0x1E Reset Oscillator offset This packet commands ...

Page 113: ...mware data format see Command 0x4F PCI Firmware Part Number request only on page 57 Help Receiver Firmware Version The Receiver Firmware Version returns firmware version information for the GPS receiver The data format is covered in GPS Receiver Interface packet 0x45 Help About bc637PCI The About bc637PCI selection returns information on the bc637PCIcfg exe program 96 Artisan Technology Group Qual...

Page 114: ...me mini mize the window or click OK Pressing Quit will terminate the program Drag the program into your startup group to have it run automatically at boot time Caution Using both TrayTime and either the bc635PCIcfg or the bc637PCIcfg applications with the Local Time Offset value set to anything other than 00 UTC will corrupt TrayTime s time value 2 3 1 Installation TrayTime is now installed as int...

Page 115: ...mber Setup Launches the Setup Windows with Status and Configuration tabs See below Sync Now Commands the utility to capture time from the board and set the system s time Reference Status Shows Locked or Unlocked depending on whether the reference hardware is tracking or not tracking an external time reference respectively Reference Time Shows the reference time UTC Based time zone Offset milliseco...

Page 116: ... the current update status If status is Waiting for the board to acquire time then machine s time is not synchronized to the reference hardware since the reference hardware is not tracking an external time source If status is Set Clock Okay then the machine s time was updated to reference hardware time Last Update Time of the last update UTC based 99 Artisan Technology Group Quality Instrumentatio...

Page 117: ...e is only available on GPS capable devices Windows Service Check this option to run the TrayTime utility as a Windows service If this option is checked the TrayTime utility will automatically run and update the system time without a user login to the system Update Interval This option sets the interval of how often the system clock time should be updated The default interval is 1 minute 100 Artisa...

Page 118: ...equency Processor in the 32 and 64 bit Win dows environments from Windows XP to the newest Windows 7 Specifically the supported Win dows operating systems include 32 and 64 bit Windows XP Vista Server 2003 Server 2008 and 7 The example application programs were originally developed under Microsoft Visual C 6 0 and ported to support both Visual C 6 0 and Visual Studio 2008 The project files for bot...

Page 119: ...nRT based software release release 8 0 0 or earlier Installation The InstallShield created setup program uses Microsoft WinDDK tool DPInst exe to install the tar get Windows driver package DPInst exe sometimes takes a long time to install the driver package This is because DPInst exe tries to run the Found New Hardware wizard silently when installing the driver for found bc63xPCI V2 and bc63xPCIe ...

Page 120: ...c635PCIcfg exe and bc637PCIcfg exe is in the Example Programs directory under the SDK installation folder The project files are provided in both Visual C 6 0 and Visual Studio 2008 formats There are two workspace files in the Example Programs directory The BC635PCI SDK Examples dsw is for Visual C 6 0 and the BC635PCI SDK Examples_VS2008 sln is for Visual Studio 2008 Each example program uses two ...

Page 121: ... this release the above two functions and the two newly added functions bcReadBinTimeEx and bcReadDecTimeEx use a shared crit ical section to protect the two 32 bit register reads This ensures the two successive calls of read time functions return correct time values However the addition of critical section introduces a slight per call delay Sometimes the added delay is not desirable for applicati...

Page 122: ... the 64 bit BC637PCI DLL is cop ied to the respective Windows system directory If a device open error is returned the hardware interface was not installed or configured properly Ver ify that the correct driver was installed according to the guidelines in the bc635PCI V2 bc637PCI V2 Users Guide Project creation Microsoft Visual C 6 0 If you want to use BC637PCI dll in your own project you may follo...

Page 123: ...under the SDK installation directory 3 4 Library definitions General The interface library provides functions for each of the programming packets supported by the bc635PCI V2 bc637PCI V2 bc635PCIe and bc637PCIe Time and Frequency Processor In addi tion functions are provided to both read and write individual registers and Dual Port RAM locations on the card To understand the usage and effects of e...

Page 124: ... on page 114 bcSetBinTime on page 114 Description Sets the major time buffer bcSetBinTime on page 114 bcSetBCDTime on page 115 Sets the major time buffer bcSetYear on page 115 Sets the current year value bcSetMode on page 115 Sets the operating mode of the board bcCommand on page 115 Sends reset command to the board bcSetDac on page 116 Sets new dac value bcSetHbt on page 116 Programs a periodic o...

Page 125: ...24 This command forces the TFP to Jam Sync on the next ris ing edge of the 1PPS output bcSyncRtc on page 124 This command forces the TFP to Synchronize the RTC time to current time bcDisRtcBatt on page 125 This command disconnects the RTC IC from the Battery after power is turned off bcGPSReq on page 125 Retrieves a data packet from the GPS receiver bcGPSSnd on page 125 Sends a data packet from th...

Page 126: ...mat and its subtype bcReadEvent2TimeEx on page 136 Latches and returns time captured caused by a external event2 bcReadEvent3TimeEx on page 137 Latches and returns time captured caused by a external event3 bcReqOtherDataEx on page 137 Returns other data which are extended now from the board bcReqEventsData on page 137 Returns event event2 and event3 data bcSetEventsData on page 138 Sets event even...

Page 127: ...ption Sets the contents of the requested register Note This command operates on the LCA registers status config registers bcGetDPReg Prototype int bcGetDPReg UINT offset UCHAR data Packet N A Input Parameter Offset 0 based offset of requested register Data pointer to unsigned char to return value requested Returns RC_OK On Success RC_ERROR On Failure Description Returns the contents of the request...

Page 128: ...shared critical section object to synchronize the two 32 bit major and minor register reads bcReadBinTimeEx Prototype int bcReadBinTimeEx ULONG major ULONG min USHORT nano UCHAR stat Packet N A Input Parameter major unsigned long pointer to store major time Unix format min unsigned long pointer to store microseconds nano pointer to unsigned short to store 100 nano seconds count stat unsigned char ...

Page 129: ...nt bcReadDecTimeEx struct tm ptm ULONG min USHORT nano UCHAR stat Packet N A Input Parameter ptm pointer to tm struct to store major time calendar format min pointer to unsigned long to store microseconds nano pointer to unsigned short to store 100 nano seconds count stat pointer to unsigned char to store status bits Returns RC_OK On Success RC_ERROR On Failure Description Latches and returns time...

Page 130: ... store 100 nano seconds count stat unsigned char to store status bits Returns RC_OK On Success RC_ERROR On Failure Description Latches and returns time captured from the time registers Note The function does NOT use any critical section object to synchronize the two 32 bit major and minor register reads bcReadDecTimeNoSync Prototype int bcReadDecTimeNoSync struct tm ptm ULONG min UCHAR stat Packet...

Page 131: ...tTime ULONG maj ULONG min Packet N A Input Parameter maj pointer to unsigned long to store major time Unix format min pointer to unsigned long to store microseconds Returns RC_OK On Success RC_ERROR On Failure Description Latches and returns time captured caused by an external event bcReadEventTimeEx Prototype int bcReadEventTime ULONG maj ULONG min USHORT nano Packet N A Input Parameter maj point...

Page 132: ... Success RC_ERROR On Failure Description Sets the current year value bcSetMode Prototype int bcSetMode UCHAR mode Packet 0x10 Input Parameter UCHAR mode Sets the TFP operating mode Note The following are defined in the Bc637pci h header file define MODE _ IRIG 0x00 define MODE _FREE 0x01 define MODE_1pps 0x02 define MODE _RTC 0x03 define MODE _GPS 0x06 Returns RC_OK On Success RC_ERROR On Failure ...

Page 133: ... 0x14 Input Parameter char mode requested mode int cnt1 divisor 1 int cnt2 divisor 2 Returns RC_OK On Success RC_ERROR On Failure Description Programs a periodic output synchronous or asynchronous to 1pps bcSetPDelay Prototype int bcSetPDelay LONG delay Packet 0x17 Input Parameter long int delay propagation delay 9999999 to 9999999 1 00ns steps Returns RC_OK On Success RC_ERROR On Failure Descript...

Page 134: ...Packet 0x20 Input Parameter Unsigned char which which clock source internal external Note The fol lowing are defined in the Bc637pci h header file define CLK_INT I Use on board clock define CLK_EXT E Use external clock Returns RC_OK On Success RC_ERROR On Failure Description Sets the 10MHz clock source for the board Note This command is not required for standard operation of the device Be sure to ...

Page 135: ... int bcReqOscData OscData pdata Packet 0x19 Input Parameter pdata pointer to OscData structure The structure is defined in the Bc637pci h header file Returns RC_OK On Success RC_ERROR On Failure Description Returns oscillator data from the board bcReqTimeData Prototype int bcReqTimeData TimeData pdata Packet 0x19 Input Parameter pdata pointer to TimeData structure The structure is defined in the B...

Page 136: ...der file Returns RC_OK On Success RC_ERROR On Failure Description Returns other data from the board Note See the header file for OtherData structure to understand values being returned bcReqVerData Prototype int bcReqVerData VerData pdata Packet 0x19 Input Parameter pdata pointer to VerData structure The structure is defined in the Bc637pci h header file Returns RC_OK On Success RC_ERROR On Failur...

Page 137: ...set UCHAR half Packet 0x1C Input Parameter INT offset hours from input time source 16 16 UCHAR half half hour increment 0 No Half Hour increment 1 Add Half Hour increment Returns RC_OK On Success RC_ERROR On Failure Description Programs the board time code generator to operate at an offset from UTC bcSetJam Prototype int bcSetJam INT jam_ctl Packet 0x21 Input Parameter INT jam_ctl 0 or 1 0 Jam Syn...

Page 138: ...defined in the Bc637pci h header file define LOCAL _FLAG _DIS 0 default define LOCAL _FLAG _ENA 1 Returns RC_OK On Success RC_ERROR On Failure Description Enables or disables the local time offset entered using bcSetLocOff function bcSetDayLightFlag Prototype int bcSetDayLightFlag UCHAR dlight_flag Packet 0x41 Input Parameter UCHAR dlight_flag 0 or 1 Note The following are defined in the Bc637pci ...

Page 139: ...Success RC_ERROR On Failure Description Modifies the format of the major time data returned by the board Note This command is not required for standard operation of the device Be sure to understand the effects of this operation before utilizing this command bcSetUtcCtl Prototype int bcSetUtcCtl INT utc_ctl Packet 0x33 Input Parameter INT utc_ctl 0 or 1 0 UTC Format Default 1 GPS Format Returns RC_...

Page 140: ...seconds per each second Each count is equal to 10 microseconds Note This command is not required for standard operation of the device Be sure to understand the effects of this operation before utilizing this command bcSpecialBoot Prototype int bcSpecialBoot INT sp_boot Packet 0xFB Input Parameter INT sp_boot Note The following are defined in the Bc637pci h header file define NORMAL _ BOOT 0x0000 d...

Page 141: ... define MTI _CRYSTAL 0x0014 Returns RC_OK On Success RC_ERROR On Failure Description This command sets the manufacture settings of the module To change any of these set tings a password is required This command is mainly used for field upgrades bcForceJam Prototype int bcForceJam void Packet 0x22 Input Parameter None Returns RC_OK On Success RC_ERROR On Failure Description This command forces the ...

Page 142: ...arameter GpsPkt ptr This structure commands information detailing the packet to retrieve and the buffer where the data will be stored Returns RC_OK On Success RC_ERROR On Failure Description Retrieves a data packet from the GPS receiver See PACKET 0x3 1 definition bcGPSSnd Prototype int bcGPSSnd GpsPkt ptr Packet 0x30 Input Parameter GpsPkt ptr This structure commands information detailing the pac...

Page 143: ...efine GPS _STATIC 1 default Returns RC_OK On Success RC_ERROR On Failure Description By default the TFP directs the GPS receiver to Static Mode of Operation after the TFP is tracking to GPS This Command allows the user to disable this feature See Packet 2C for detail description on this feature This function should only be used when the TFP is in GPS Mode of Operation bcStartInt Prototype HANDLE b...

Page 144: ...ch time in event registers when interrupt detected Returns RC_OK On Success RC_ERROR On Failure Description Enables one interrupt source Notes See IntrSamp c that shows how to use interrupts Note Refer to the Chapter 1 for more information regarding allowed values for the INTERRUPT MASK bcReqInts Prototype int bcReqInts ULONG mask INT latch Packet None Input Parameter ULONG mask pointer to mask to...

Page 145: ...lt is single interrupt use 0 disable multiple interrupts default Single interrupt only 1 enable mul tiple interrupts Returns RC_OK On Success RC_ERROR On Failure Description Starts the interrupt thread to signal interrupts Notes See MultSamp c for demonstration of this function bcReqRevisionID Prototype int bcReqRevisionID UCHAR pID Packet N A Input Parameter pID revision ID of the hardware Return...

Page 146: ...ollowing are defined in the Bc637pci h header file define SELECT _PERIODIC _OUT 0x0 define SELECT _DDS _OUT 0x1 Returns RC_OK On Success RC_ERROR On Failure Description This command selects periodic output or DDS output Note This function only makes the output choice You have to call bcSetPeriodicDDSEnable see below to enable the output unless the output has already been enabled bcSetPeriodicDDSEn...

Page 147: ...nd sets the DDS divider for DDS output For information on the detailed DDS description please refer Chapter 1 for more information bcSetDDSDividerSource Prototype int bcSetDDSDividerSource UCHAR src Packet 0x46 Input Parameter UCHAR src 0 1 or 2 Note The following are defined in the Bc637pci h header file define DDS_DIVIDED_SRC_DDS0x0 define DDS_DIVIDER_SRC_MULT0x1 define DDS _DIVIDER _SRC _100MHZ...

Page 148: ...er Prototype int bcSetDDSMultiplier UCHAR mul Packet 0x48 Input Parameter UCHAR mul an enum value Note The following are defined in the Bc637pci h header file define DDS_MULTIPLY_BY_10x1 define DDS_MULTIPLY_BY_20x2 define DDS_MULTIPLY_BY_30x3 define DDS_MULTIPLY_BY_40x4 define DDS_MULTIPLY_BY_60x6 define DDS_MULTIPLY_BY_80x8 define DDS_MULTIPLY_BY_100xA define DDS_MULTIPLY_BY_160x10 Returns RC_OK ...

Page 149: ...S tuning word for DDS output For information on the detailed DDS description please refer Chapter 1 for more information bcSetDDSFrequency Prototype int bcSetDDSFrequency double freq Packet N A Input Parameter DWORD freq double value to specify DDS frequency The DDS frequency can have fractional value Returns RC_OK On Success RC_ERROR On Failure Description This function sets the DDS output freque...

Page 150: ..._MOD _AM M define TCODE _MOD _DC D Returns RC_OK On Success RC_ERROR On Failure Description Sets time code type subtype and modulation type for operating mode 0 time code mode Note This function extends the function bcSetTcIn by allowing more time code type and a subtype with certain time code type The bcSetTcIn is still supported for backwards compatibility The sup ported combinations of time cod...

Page 151: ...ODE_2 137 TCODE_IRIG_SUBTYPE_NONE 2 2137 bcSetGenCodeEx Prototype int bcSetGenCodeEx UCHAR format UCHAR subtype Packet 0x1B Input Parameter Unsigned char format time code format Note The following are defined in the Bc637pci h header file format define TCODE _IRIG _A A define TCODE _IRIG _B B define TCODE _ IEEE I define TCODE_IRIG_E E define TCODE_IRIG_e e define TCODE_IRIG_G G define TCODE_NASA3...

Page 152: ...A BCD CF TCODE_IRIG_A TCODE_IRIG_SUBTYPE_2 A2 1 IRIG A BCD TCODE_IRIG_A TCODE_IRIG_SUBTYPE_3 A3 1 IRIG A BCD SBS TCODE_IRIG_A TCODE_IRIG_SUBTYPE_4 A4 1 IRIG A BCD YR CF SBS TCODE_IRIG_A TCODE_IRIG_SUBTYPE_5 A5 1 IRIG A BCD YR CF TCODE_IRIG_A TCODE_IRIG_SUBTYPE_6 A6 1 IRIG A BCD YR TCODE_IRIG_A TCODE_IRIG_SUBTYPE_7 A7 1 IRIG A BCD YR SBS TCODE_IRIG_B TCODE_IRIG_SUBTYPE_0 B0 IRIG B BCD CF SBS TCODE_...

Page 153: ...0Hz BCD CF TCODE_IRIG_e TCODE_IRIG_SUBTYPE_2 e2 1 IRIG E 100Hz BCD TCODE_IRIG_e TCODE_IRIG_SUBTYPE_5 e5 1 IRIG E 100Hz BCD YR CF TCODE_IRIG_e TCODE_IRIG_SUBTYPE_6 e6 1 IRIG E 100Hz BCD YR TCODE_IRIG_G TCODE_IRIG_SUBTYPE_5 G5 IRIG G BCD YR CF TCODE_NASA TCODE_IRIG_SUBTYPE_NONE N NASA 36 TCODE_XR3 TCODE_IRIG_SUBTYPE_NONE X XR3 TCODE_2 137 TCODE _IRIG _SUBTYPE _NONE 2 2137 bcReadEvent2TimeEx Prototyp...

Page 154: ...al event3 bcReqOtherDataEx Prototype int bcReqOtherDataEx OtherDataEx pdata Packet 0x19 Input Parameter pdata pointer to OtherDataEx structure The structure is defined in the Bc637pci h header file Returns RC_OK On Success RC_ERROR On Failure Description Returns other data which are extended now from the board bcReqEventsData Prototype int bcReqEventsData EventsData pdata Packet N A Input Paramete...

Page 155: ...sData structure The structure is defined in the Bc637pci h header file Returns RC_OK On Success RC_ERROR On Failure Description Sets event event2 and event3 data The information for each event includes enabled sense and capture lock 138 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 156: ...s Kit include n An interface library with access to all features of the PCI PCIe TFPs n Example programs with source utilizing the interface library n User s Guide providing the API interface library definition 4 1 3 Overview The Developer s Kit is designed to provide an interface to the bc635PCI V2 bc637PCI V2 bc635PCIe and bc637PCIe Time and Frequency Processor in the Linux OS environment The ex...

Page 157: ...ct a base address or interrupt level for plug in modules l Auto configuration allowing the host computer to read the device ID and other configuration information directly from the Configuration Registers Choose a vacant PCI PCIe slot and insert the bc635PCI V2 bc637PCI V2 bc635PCIe and bc637PCIe Time and Frequency Processor TFP and install the software Be sure to consult the user documentation th...

Page 158: ...l directory where Linux source code was installed To check if the version h is installed on the machine check usr src linux include linux to see if you have this file To install the Software driver and the sample program 1 Create a directory home user bc635pci user is your login for example home user mkdir bc635pci 2 Make bc635pci your active directory home user cd bc635pci 3 If you are building o...

Page 159: ...directory has a prebuilt test program bc63xPCIcfg linked with bcsdklib a and bc63xPCIcfg so linked with libbcsdk so To use the bc63xPCIcfg so program the libbcsdk so has to be put in a directory that is on the library path Rebuild the sample test program to verify that the software installation was successful 1 Make sample your active directory home user bc635pci cd sample 2 Rebuild the sample cod...

Page 160: ...ess enter to return to menu 3 Set Current Time 4 Set Current Year 5 Set Strobe Time 6 Program Control Register 7 Program Leap Event Seconds 8 Select Time Format 9 Select Operational Mode 10 Select Decoding TimeCode Format 11 Select TimeCode Output Format 12 Select Clock Source 13 Select Output Frequency 14 Program Heartbeat counters 15 Set Local Tffset 16 Set Generator Time Offsetime O 17 Set Prop...

Page 161: ...ram Select Option The words Select Option will appear at the bottom of the menu driven program to allow the user to select the desired functionality Following are some examples demonstrating how to use the bc63xPCIcfg Select Operational Mode There are several operational modes for the PCI V2 PCIe card The default Timing Mode for the bc635PCI V2 PCIe is time code Decoding Mode for the bc637PCI V2 P...

Page 162: ...at UTC Format IEEE Daylight Savings Flag Enable Press Enter to continue Select Option 1 Binary Time 10 10 2008 17 12 29 5482294 Status 0 Binary Time 10 10 2008 17 12 29 5630256 Status 0 Binary Time 10 10 2008 17 12 29 6196937 Status 0 Binary Time 10 10 2008 17 12 29 6318699 Status 0 Binary Time 10 10 2008 17 12 29 6508560 Status 0 enter to stop reading the time 145 Artisan Technology Group Quality...

Page 163: ...6 The default setting for the bc635PCI V2 is IRIG B amplitude modulated Select Option 10 Select Time Code Format 1 IRIG A 2 IRIG B 3 IEEE 1344 4 NASA 36 Select 1 Select Time Code Modulation 1 Modulated 2 DC Level Shift Select 1 To verify the input time code selection Request Timecode Settings Select Option 25 Time Code Settings 146 Artisan Technology Group Quality Instrumentation Guaranteed 888 88...

Page 164: ...t IRIG B or IEEE 1344 amplitude modulated or DC level shift Select Option 11 Select Time Code Output Format 0 IRIG B 1 IEEE 1344 Select 1 Request Time Code Settings Select Option 25 Time Code Settings Time Code IRIG A Code Modulation AM Time Code Out IEEE 1344 Generator Time Offset 0 0 147 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 165: ...ify the time format check the time settings Select Option 24 Time Settings Mode GPS Time Format Decimal Year 2007 Local Offset 0 0 Propagation Delay 0 Current Leap Seconds 0 Scheduled Leap Event Time 1069977600 Scheduled Leap Event Flag Disable GPS Time Format UTC Format IEEE Daylight Savings Flag Disable 148 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg c...

Page 166: ...nary Time 01 01 2008 00 00 03 5615496 Status 7 Binary Time 01 01 2008 00 00 03 5810793 Status 7 Binary Time 01 01 2008 00 00 03 6010876 Status 7 enter to stop reading the time Note that Status 7 indicates the board is in a flywheel state For information on the status bits refer to Chapter 1 When in decimal time format the time output will indicate decimal time Select Option 1 Decimal Time 284 2008...

Page 167: ...t option 3 Select Option 3 Enter Time YYYY MM DD HH MM SS 2008 10 10 10 10 10 To verify the time Select Option 1 Binary Time 10 10 2008 17 10 11 9932217 Status 7 Binary Time 10 10 2008 17 10 12 0358680 Status 7 Binary Time 10 10 2008 17 10 12 1087182 Status 7 Binary Time 10 10 2008 17 10 12 1288805 Status 7 Binary Time 10 10 2008 17 10 12 1456343 Status 7 Binary Time 10 10 2008 17 10 12 1671005 St...

Page 168: ...42 Status 7 Binary Time 10 11 2008 17 10 50 0483900 Status 7 enter to exit You may also use Request Time Settings to verify the year Select Option 24 Time Settings Mode GPS Time Format Binary Year 2005 Local Offset 0 0 Propagation Delay 0 Current Leap Seconds 0 Scheduled Leap Event Time 1069977600 Scheduled Leap Event Flag Disable GPS Time Format UTC Format IEEE Daylight Savings Flag Enable Press ...

Page 169: ...ature allows a much wider range of output frequency These features are demonstrated in the new menu entries added to the bc63xPCIcfg program Select Option 37 DDS Menu 1 Set DDS Frequency 2 Select Periodic or DDS Output 3 Enable Disable Periodic DDS Output 4 Set DDS Divider 5 Set DDS Divider Source 6 Set DDS Sync Mode 7 Set DDS Multiplier 8 Set DDS Period Value 9 Set DDS Tuning Word 0 Back to main ...

Page 170: ...on 38 of the bc63xPCIcfg For example you can specify to decode IRIG E 1000 Hz no year as follows Select Option 38 Select Time Code Format 1 IRIG A000 A003 A130 A133 no year 2 IRIG A004 A007 A134 A137 has year 3 IRIG B000 B003 B120 B123 no year 4 IRIG B004 B007 B124 B127 has year 5 IRIG B TrueTime Legacy 6 IRIG B IEEE 1344 7 IRIG E001 E002 E121 E122 no year 8 IRIG E005 E006 E125 E126 has year 9 IRI...

Page 171: ... 8 IRIG A007 A137 BCD YR SBS 9 IRIG B000 B120 BCD CF SBS 10 IRIG B001 B121 BCD CF 11 IRIG B002 B122 BCD 12 IRIG B003 B123 BCD SBS 13 IRIG B004 B124 BCD YR CF SBS 14 IRIG B005 B125 BCD YR CF 15 IRIG B006 B126 BCD YR 16 IRIG B007 B127 BCD YR SBS 17 IRIG B TrueTime BCD CF SBS 18 IRIG B IEEE 1344 19 IRIG E001 E121 BCD CF 20 IRIG E002 E122 BCD 21 IRIG E005 E125 BCD YR CF 22 IRIG E006 E126 BCD YR 23 IRI...

Page 172: ...le is in use by any application or by other modules Make sure no programs are using WinDriver If any application or module is using WinDriver close all applications and do a sbin rmmod to remove any module using WinDriver Run the command sbin rmmod windrvr6 rm rf dev windrvr6 Remove the old device node in the dev directory 2 Delete the bc635pci installation directory Use the command rm rf usr bin ...

Page 173: ... used with the rest of the functions See section 4 4 for a programming example bcStopPci Prototype void bcStopPci BC_PCI_HANDLE hBC_PCI Packet N A Input Parameter BC_PCI_HANDLE hBC_PCI Handle returned from bcStartPci function Returns None Description This function closes the underlying hardware layer and releases any used resources See section 4 4 for a programming example bcReadReg Prototype BOOL...

Page 174: ...RAM area This area is used to send a command to the timing engine and read a result from the timing engine For information on command format and results returned refer to the PCI PCIe TFP Users Guide Data pointer to the return byte value requested Returns TRUE On Success FALSE On Failure Description Returns the content of the requested byte in the Dual Port RAM area bcWriteDPReg Prototype BOOL bcW...

Page 175: ...ters See section 4 4 for a pro gramming example bcReadBinTimeEx Prototype BOOL bcReadBinTimeEx BC_PCI_HANDLE hBC_PCI PDWORD major PDWORD min PWORD nano PBYTE stat Packet N A Input Parameter BC_PCI_HANDLE hBC_PCI Handle returned from bcStartPci func tion major unsigned long pointer to store major time Unix format min unsigned long pointer to store microseconds nano unsigned short pointer to store 1...

Page 176: ... Handle returned from bcStartPci func tion ptm pointer to tm stuct to store major time calendar format ulpMin pointer to unsigned long to store microseconds nano unsigned short pointer to store 100 nano seconds count pstat pointer to unsigned char to store status bits Returns TRUE On Success FALSE On Failure Description Latches and returns time captured from the time registers See section 4 4 for ...

Page 177: ...st the current year value bcSetYear Prototype BOOL bcSetYear BC_PCI_HANDLE hBC_PCI DWORD year Packet 0x13 Input Parameter BC_PCI_HANDLE hBC_PCI Handle returned from bcStartPci function year value of new year 1990 2036 Returns TRUE On Success FALSE On Failure Description Set the current year value bcReadEventTime Prototype BOOL bcReadEventTime BC_PCI_HANDLE hBC_PCI PDWORD maj PDWORD min PBYTE stat ...

Page 178: ...sed by an external event bcSetStrobeTime Prototype BOOL bcSetStrobeTime BC_PCI_HANDLE hBC_PCI DWORD dMaj DWORD dMin Packet N A Input Parameter BC_PCI_HANDLE hBC_PCI Handle returned from bcStartPci function dMaj unsigned long value for strobe major time dMin unsigned long value for strobe minor time Returns TRUE On Success FALSE On Failure Description Set the strobe time bcReqTimeFormat Prototype B...

Page 179: ... format bcSetMode Prototype void bcSetMode BC_PCI_HANDLE hBC_PCI BYTE mode Packet 0x10 Input Parameter BC_PCI_HANDLE hBC_PCI Handle returned from bcStartPci func tion mode unsigned char value for new operating mode The allowed values are defined in the bcuser h file enum MODE_IRIG 0x00 enum MODE_FREE 0x01 enum MODE_1PPS 0x02 enum MODE_RTC 0x03 enum MODE_GPS 0x06 Returns None Description Sets the o...

Page 180: ... Handle returned from bcStartPci func tion offset hours from input time source 16 16 half half hour increment 0 No Half Hour increment 1 Add Half Hour increment Returns TRUE On Success FALSE On Failure Description Programs the board time code generator to operate at an offset from UTC bcSetPropDelay Prototype BOOL bcSetPropDelay BC_PCI_HANDLE hBC_PCI long value Packet 0x17 Input Parameter BC_PCI_H...

Page 181: ...hBC_PCI BYTE TcIn Packet 0x15 Input Parameter BC_PCI_HANDLE hBC_PCI Handle returned from bcStartPci function TcIn unsigned char value for time code input The allowed values are defined in the bcuser h file enum TCODE_IRIG_A 0x41 enum TCODE_IRIG_B 0x42 enum TCODE_IEEE 0x49 enum TCODE_NASA 0x4E Returns TRUE On Success FALSE On Failure Description Sets the input time code format bcSetTcInMod Prototyp...

Page 182: ... code format cSetLeapEvent Prototype BOOL bcSetLeapEvent BC_PCI_HANDLE hBC_PCI char flag DWORD leapevt Packet 0x1E Input Parameter BC_PCI_HANDLE hBC_PCI Handle returned from bcStartPci function flag char value for the leap event flag leapevt unsigned long value for the leap event time Returns TRUE On Success FALSE On Failure Description Sets the leap event time bcSetClkSrc Prototype BOOL bcSetClkS...

Page 183: ...ain Packet 0x25 Input Parameter BC_PCI_HANDLE hBC_PCI Handle returned from bcStartPci function gain short value for the Gain Returns TRUE On Success FALSE On Failure Description Sets the GAIN bcSetJam Prototype BOOL bcSetJam BC_PCI_HANDLE hBC_PCI BYTE jam Packet 0x21 Input Parameter BC_PCI_HANDLE hBC_PCI Handle returned from bcStartPci function jam unsigned char value for enabling disabling jam sy...

Page 184: ...StartPci function gpsmode unsigned char value for gps mode The allowed values are defined in the bcuser h file enum GPS_STATIC 0x01 enum GPS_NONE_STATIC 0x00 Returns TRUE On Success FALSE On Failure Description Sets the GPS operating mode bcSetLocalOffsetFlag Prototype BOOL bcSetLocalOffsetFlag BC_PCI_HANDLE hBC_PCI BYTE flagoff Packet 0x40 Input Parameter BC_PCI_HANDLE hBC_PCI Handle returned fro...

Page 185: ...etails bcAdjustClock Prototype BOOL bcAdjustClock BC_PCI_HANDLE hBC_PCI long cval Packet 0x29 Input Parameter BC_PCI_HANDLE hBC_PCI Handle returned from bcStartPci function cval long value for adjusting the clock Returns TRUE On Success FALSE On Failure Description Advance Retard clock value bcCommand Prototype void bcCommand BC_PCI_HANDLE hBC_PCI BYTE cmd Packet 0x1A Input Parameter BC_PCI_HANDLE...

Page 186: ...rtPci function Returns TRUE On Success FALSE On Failure Description Disable battery bcReqSerialNum Prototype BOOL bcReqSerialNum BC_PCI_HANDLE hBC_PCI PDWORD serial Packet 0xFE Input Parameter BC_PCI_HANDLE hBC_PCI Handle returned from bcStartPci function serial pointer to unsigned long value for serial number of the board Returns TRUE On Success FALSE On Failure Description Request serial number ...

Page 187: ...rned from bcStartPci function pdata pointer to OscData structure The structure is defined in the bcuser h header file Returns TRUE On Success FALSE On Failure Description Request Oscillator data of the board bcReqTimeCodeData Prototype BOOL bcReqTimeCodeData BC_PCI_HANDLE hBC_PCI TimeCodeData pdata Packet 0x19 Input Parameter BC_PCI_HANDLE hBC_PCI Handle returned from bcStartPci function pdata poi...

Page 188: ...ALSE On Failure Description Request other data of the board bcReqOtherDataEx Prototype BOOL bcReqOtherDataEx BC_PCI_HANDLE hBC_PCI OtherDataEx pdata Packet 0x19 Input Parameter BC_PCI_HANDLE hBC_PCI Handle returned from bcStartPci function pdata pointer to OtherDataEx structure The structure is defined in the bcuser h header file Returns TRUE On Success FALSE On Failure Description Request other d...

Page 189: ...function pktout structure commands information detailing the packet to retrieve and the buffer Returns TRUE On Success FALSE On Failure Description Retrieve a data packet from the GPS receiver Refer to chapter for more details regard ing this command See packet 0x31 definition bcGPSSnd Prototype BOOL bcGPSSnd BC_PCI_HANDLE hBC_PCI GpsPkt pktin Packet 0x30 Input Parameter BC_PCI_HANDLE hBC_PCI Hand...

Page 190: ...L bcStartInt BC_PCI_HANDLE hBC_PC BC_PCI_INT_HANDLER pCallback Packet N A Input Parameter BC_PCI_HANDLE hBC_PCI Handle returned from bcStartPci function PCallback function to receive interrupts Returns TRUE On Success FALSE On Failure Description Start the interrupt thread This thread will execute bcShowInt function every time an interrupt is detected See section 4 4 for a programming example bcSt...

Page 191: ..._PCI_HANDLE hBC_PCI BYTE IntVal Packet N A Input Parameter BC_PCI_HANDLE hBC_PCI Handle returned from bcStartPci function IntVal unsigned char value for selecting the interrupt source The allowed values are defined in the bcuser h file enum INTERRUPT_EVENT 0x01 enum INTERRUPT_PERIODIC 0x02 enum INTERRUPT_STROBE 0x04 enum INTERRUPT_1PPS 0x08 enum INTERRUPT_GPS 0x10 enum INTERRUPT_EVENT2 0x20 enum I...

Page 192: ...his function is used as an interrupt service routine The user can add any code in this function to perform tasks once an interrupt is detected bcReqRevisionID Prototype BOOL bcReqRevisionID BC_PCI_HANDLE hBC_PCI PWORD id Packet N A Input Parameter BC_PCI_HANDLE hBC_PCI Handle returned from bcStartPci function id pointer to unsigned short value for the hard ware revision id Returns TRUE On Success ...

Page 193: ...Time CodeData This function returns time code sub type in its extended structure bcSetPeriodicDDSSelect Prototype BOOL bcSetPeriodicDDSSelect BC_PCI_HANDLE hBC_ PCI BYTE bSel Packet 0x43 BC_PCI_HANDLE hBC_PCI Handle returned from bcStartPci function bSel unsigned char value to select periodic output or DDS out put The allowed values are defined in the bcuser h file enum SELECT_PERIODIC_OUT 0x0 enu...

Page 194: ...hoice bcSetDDSDivider Prototype BOOL bcSetDDSDivider BC_PCI_HANDLE hBC_PCI BYTE bDiv Packet 0x45 BC_PCI_HANDLE hBC_PCI Handle returned from bcStartPci function bDiv unsigned char value to select divider value The allowed values are defined in the bcuser h file enum DDS_DIVIDE _BY_1E0 0x0 enum DDS_DIVIDE _BY_1E1 0x1 enum DDS_DIVIDE _BY_1E2 0x2 enum DDS_DIVIDE _BY_1E3 0x3 enum DDS_DIVIDE _BY_1E4 0x4...

Page 195: ...mation on the detailed DDS description refer to Chapter 1 Returns TRUE On Success FALSE On Failure Description Sets the DDS divider source for the DDS frequency output bcSetDDSSyncMode Prototype BOOL bcSetDDSSyncMode BC_PCI_HANDLE hBC_PCI BYTE bMode Packet 0x47 BC_PCI_HANDLE hBC_PCI Handle returned from bcStartPci func tion bMode unsigned char value to select synchronization mode The allowed value...

Page 196: ...6 0x10 For information on the detailed DDS description refer to Chap ter 1 Returns TRUE On Success FALSE On Failure Description This sets the continuous synchronization mode multiplier for the DDS frequency out put bcSetDDSPeriodValue Prototype BOOL bcSetDDSDividerSyncMode BC_PCI_HANDLE hBC_PCI DWORD period Packet 0x49 BC_PCI_HANDLE hBC_PCI Handle returned from bcStartPci func tion period unsigned...

Page 197: ...Packet N A BC_PCI_HANDLE hBC_PCI Handle returned from bcStartPci function freq double value to specify the DDS frequency The DDS frequency can have fractional values For information on the detailed DDS description refer to Chap ter 1 Returns TRUE On Success FALSE On Failure Description This sets the frequency for the DDS frequency output Note that this function auto matically selects DDS output bc...

Page 198: ...B IEEE 1344 TCODE_IRIG_E TCODE_IRIG_SUBTYPE_NONE E IRIG E 1000Hz no year TCODE_IRIG_E TCODE_IRIG_SUBTYPE_Y EY IRIG E 1000Hz with year TCODE_IRIG_e TCODE_IRIG_SUBTYPE_NONE e IRIG E 100Hz no year TCODE_IRIG_e TCODE_IRIG_SUBTYPE_Y eY IRIG E 100Hz with year TCODE_IRIG_G TCODE_IRIG_SUBTYPE_NONE G IRIG G no year TCODE_IRIG_G TCODE_IRIG_SUBTYPE_Y GY IRIG G with year TCODE_NASA TCODE_IRIG_SUBTYPE_NONE N N...

Page 199: ...nux SDK bcSetGenCodeEx Prototype BOOL bcSetGenCodeEx BC_PCI_HANDLE hBC_PCI BYTE GenTc BYTE SubType Packet 0x1B 182 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 200: ...IRIG A BCD YEAR CF SBS TCODE_IRIG_A TCODE_IRIG_SUBTYPE_5 A5 IRIG A BCD YEAR CF TCODE_IRIG_A TCODE_IRIG_SUBTYPE_6 A6 IRIG A BCD YEAR TCODE_IRIG_A TCODE_IRIG_SUBTYPE_7 A7 IRIG A BCD YEAR SBS TCODE_IRIG_B TCODE_IRIG_SUBTYPE_0 B0 IRIG B BCD CF SBS TCODE_IRIG_B TCODE_IRIG_SUBTYPE_1 B1 IRIG B BCD CF TCODE_IRIG_B TCODE_IRIG_SUBTYPE_2 B2 IRIG B BCD TCODE_IRIG_B TCODE_IRIG_SUBTYPE_3 B3 IRIG B BCD SBS TCODE...

Page 201: ...CF TCODE_IRIG_e TCODE_IRIG_SUBTYPE_2 e2 IRIG E 100Hz BCD TCODE_IRIG_e TCODE_IRIG_SUBTYPE_5 e5 IRIG E 100Hz BCD YEAR CF TCODE_IRIG_e TCODE_IRIG_SUBTYPE_6 e6 IRIG E 100Hz BCD YEAR TCODE_IRIG_G TCODE_IRIG_SUBTYPE_5 G5 IRIG G BCD YEAR CF TCODE_NASA TCODE_IRIG_SUBTYPE_NONE N NASA 36 TCODE_XR3 TCODE_IRIG_SUBTYPE_NONE X XR3 TCODE_2137 TCODE_IRIG_SUBTYPE_NONE 2 2137 Returns TRUE On Success FALSE On Failur...

Page 202: ...ReadEvent3TimeEx BC_PCI_HANDLE hBC_PCI PDWORD major PDWORD min PWORD nano PBYTE stat Packet N A Input Parameter BC_PCI_HANDLE hBC_PCI Handle returned from bcStartPci function major unsigned long pointer to store major time Unix format min unsigned long pointer to store microseconds nano unsigned short pointer to store 100 nano seconds count stat unsigned char to store status bits Returns TRUE On S...

Page 203: ...ructure is defined in the bcuser h header file Returns TRUE On Success FALSE On Failure Description Sets event event2 and event3 data The information for each event includes enabled sense and capture lock 4 4 Programming Examples 4 4 1 General The example code fragments in this chapter are written in the C programming language These exam ples are extracted from the bc63xPCIcfg application included...

Page 204: ...n WORD nano BYTE stat struct tm majtime Reading in Binary Time Format if bcReadBinTimeEx hBC_PCI maj min nano stat TRUE majtime gmtime maj printf nBinary Time 02d 02d d 02d 02d 02d 06lu d Status d majtime tm_mon 1 majtime tm_mday majtime tm_year 1900 majtime tm_hour majtime tm_min majtime tm_sec min nano stat 187 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisan...

Page 205: ... sets the TFP mode to GPS bcSetMode hBC_PCI MODE_GPS 4 4 5 Setting Interrupts The following example sets a 1PPS Interrupt Define an Interrupt handler function void bcIntHandlerRoutine BC_PCI_HANDLE hBC_PCI DWORD dwSource printf Got Interrupt Number d n dwSource Start the interrupt routine bcStartIntEx hBC_PCI bcIntHandlerRoutine INTERRUPT_1PPS Set the interrupt type bcSetInt hBC_PCI INTERRUPT_1PPS...

Page 206: ...4 4 Programming Examples To stop interrupt generation bcStopInt hBC_PCI 189 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 207: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 208: ...definitions 5 1 3 Overview The Driver Development Kit provides an interface to the bc635PCI V2 bc637PCI V2 bc635PCIe and bc637PCIe Time and Frequency Processor in the 64 bit environments of Solaris 8 9 and 10 The example program provides sample code shows examples of converting many of the ASCII for mat data objects passed to and from the device into a binary format suitable for operation and con ...

Page 209: ...are Installation The software is created as a Solaris package To install the software package follow these steps 1 Untar the platform specific package tar file export home user su tar xf BCPCI V aaa sparc64 build bbb tar Note user is the name of your user aaa is the release version and bbb is the three digit build number For x86_64 platform the file is BCPCI V aaa x86_64 build bbb tar 2 Use the pk...

Page 210: ...ing postinstall script Driver installed Please reboot now Installation of BC635PCI was successful 3 Reboot your computer This driver should work correctly in its current binary form without the need for recompilation Alter natively you can also use the provided install sh script to install the software This script is in the directory where you find the package tar file You must run install sh as r...

Page 211: ... PATH PATH usr bin usr sbin export PATH PKG BC635PCI pkgadd d PKG Note On the SPARC platform the driver stfp is installed to kernel drv sparcv9 directory On the x86_64 platform the driver stfp is installed to kernel drv amd64 directory After your computer has rebooted you can inspect the installed package using the Solaris pkginfo command output of other install packages are removed for clarity ex...

Page 212: ... scripts which will be executed with super user permission during the process of removing this package Do you want to continue with the removal of this package y n q y Verifying package BC635PCI dependencies in global zone Processing package information Removing pathnames in class none opt BC635PCI src stfp c opt BC635PCI src bc63xPCIcfg opt BC635PCI src bc635pci c opt BC635PCI src Makefile opt BC...

Page 213: ... Time 4 Set Current Year 5 Set Strobe Time 6 Program Control Register 7 Program Leap Event Seconds 8 Select Time Format 9 Select Operational Mode 10 Select Decoding TimeCode Format 11 Select TimeCode Output Format 12 Select Clock Source 13 Select Output Frequency 14 Program Heartbeat counters 15 Set Local Time Offset 16 Set Generator Time Offset 17 Set Propagation Delay 18 Set Local Time Offset Fl...

Page 214: ...to find out the hardware version The V2 hard ware has Revision ID in the range 0x20 0x2F The revision ID is stored in the PCI configure space field Revision ID The option 37 works for the V2 hardware only The options 38 and 39 mainly work for the V2 hard ware Only a small set of options 38 and 39 work for the V1 hardware The V2 hardware supports time stamping external event2 and event3 if they are...

Page 215: ...DRIVER stfp PCIDEMO bc63xPCIcfg OBJS stfp o bc635pci o PHONY all all DRIVER PCIDEMO PHONY clean clean rm f OBJS rm f DRIVER rm f PCIDEMO DRIVER stfp o ld r o PCIDEMO bc635pci o CC o stfp o stfp c CC D_KERNEL c DRVFLAGS o bc635pci o bc635pci c CC c APPFLAGS o 198 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 216: ...he card To understand the usage and effects of each of these functions please refer to Chapter 1 5 3 2 Functions The STFP device driver supports the bc635PCI V2 bc637PCI V2 bc635PCIe and bc637PCIe Time and Frequency Processor TFP modules The TFP supports time code decoding syn chronization to an external 1pps Pulse Per Second signal a free running mode a real time clock mode and the GPS Satellite ...

Page 217: ...mands to the TFP The TFP commands are used to set the timing mode time code format and other TFP functions Refer to Chapter 1 for TFP command details The write buffer must contain the TFP command ID and zero or more command data bytes As with GPS packets command data consists of various data types that must be converted to a char array for the write 2 call The maximum number of bytes used for a co...

Page 218: ...e binary time format is characterized by the TFP_ timeval structure These structures are declared in stfpio h TIMEREQUEST int EVENTREQUEST int The driver writes to the TIMEREQ or EVENTREQ register the int value is ignored which causes time to be captured and held in the TIMEx or EVENTx registers No time data is transferred RDTIME struct stfp_time RDEVENT struct stfp_time Reads time from the TFP TI...

Page 219: ...uest disables the Strobe output while the STROBEx registers are written SELTCFORMAT int Selects the time code input format SELTCMOD int Selects the time code input modulation type SETTIME int Manually sets the TFP major time assuming the time format is binary The minor time is not affected SETDECTIME struct stfp_dec_tm Manually sets the TFP major time assuming the time format is decimal The minor ...

Page 220: ...cess making this ioctl 2 call The int arg is comprised of one or more interrupt source bits defined in stfpio h OR ed together The following ioctl 2 call would cause the driver to send a signal on the occurrence of the Event Input and or Strobe Output interrupt The signal handler can use the RDINTSIGNAL request to find out which interrupt source s caused the signal An arg value of 0 will disable s...

Page 221: ...e Packet from GPS Receiver command command 0x31 The TFP monitors and stores several commonly requested packets that the GPS receiver broadcasts peri odically to the TFP These packets are available to be read immediately GPS packets that are not monitored by the TFP are requested from the GPS receiver by the TFP Since this task can take 10 s or 100 s of milliseconds the driver puts the calling proc...

Page 222: ...mmand determines whether the board will correct the received GPS time for leap second offset and events SETGPSMDFLG int By default the TFP directs the GPS receiver to Static Mode of Operation after the TFP is tracking to GPS This Command allows the user to disable this feature See Packet 2C in Chapter 1 for detail description on this feature This function should only be used when the TFP is in GPS...

Page 223: ...rk by taking the input data from the application to set up a command in the Dual Port RAM input area and then send the com mand to the timing engine for execution The ioctl interface encapsulates this detail from the appli cation code However with the above WRDPOFFSET ioctl control code now application code can set up any Dual Port RAM command by writing the command and its data at the specified o...

Page 224: ... set output time code and its sub type RDREGOFFSET struct reg_rdwr_t Reads the register value from the specified address WRREGOFFSET struct reg_rdwr_t Sets the register value to the specified address RDEVENT2TV struct stfp_timeval Reads time from the EVENT2 registers assuming the time format is binary RDEVENT3TV struct stfp_timeval Reads time from the EVENT3 registers assuming the time format is b...

Page 225: ... open dev stfp0 O_RDWR 0 printf Error opening Device Driver Exiting _exit 1 Function close Description Closes the device driver Example close fd Registers pci_read_time Description Reads the time in binary or decimal time format 208 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 226: ...intf s ctime tvTime tv tv_sec Registers pci_read_event_time Description Reads the event time in binary time format Example ioctl fd RDEVENTTV tvTime Registers pci_read_event2_time Description Reads the event2 time in binary time format Example ioctl fd RDEVENT2TV tvTime Registers pci_read_event3_time Description Reads the event3 time in binary time format Example ioctl fd RDEVENT3TV tvTime Registe...

Page 227: ..._BINARY Command 0x12 pci_set_time Description Sets the TFP time in either binary or decimal format Example ioctl fd SETDECTIME dec ioctl fd SETTIME tm_sec Command 0x13 pci_set_year Description Sets the TFP year Example ioctl fd SETYEAR year Command 0x14 pci_heartbeat Description Sets the heartbeat mode and frequency Example ioctl fd SETPERIODIC sper Command 0x15 pci_time_code and its sub type Desc...

Page 228: ...prop_delay Command 0x19 pci_req_time_settings Description Request time settings Example Get Timing Mode get arg GETDATA_MODE if ioctl fd GETDATA get 0 mode int get data tmode Command 0x19 pci_req_clock_settings Description Requests clock settings Example Get Clock Source get arg GETDATA_CLKSRC if ioctl fd GETDATA get 0 clk_scr u_char get data clksrc Command 0x19 pci_req_offsets_settings Descriptio...

Page 229: ...ksrc Command 0x1A pci_sw_reset Description Issues a software reset on the TFP Example ioctl fd SOFTWARERESET 1 Command 0x1B pci_tc_out_format Description Sets the time code output format Example ioctl fd SETTCOUTFMT TC_IRIGB Command 0x1B pci_tc_out_format and its sub type Description Sets the time code output format and its sub type Example struct tc_command_t tccmd tccmd cmd_id COM_SETTCOUTFMT tc...

Page 230: ...K_INTERNAL Command 0x21 pci_ctl_jam_sync Description Enable or disable the jam sync control Example ioctl fd CONTROLTIMEBASE JAMSYNC_DISABLE Command 0x22 pci_frc_jam_sync Description Forces a jam sync on the TFP Example ioctl fd CONTROLTIMEBASE FORCE_JAMSYNC Command 0x24 pci_set_da_con Description Loads the D A converter Example ioctl fd SETDAC da_con Command 0x25 pci_set_gain Description Sets the...

Page 231: ...off_flg Description Enable or disable the local time offset Example ioctl fd SETLOCTMFLG LOC_OFF_DIS Command 0x42 pci_set_yr_auto_inc_flg Description Enable or disable the year automatic increment Example ioctl fd SETYRINCFLG YR_INC_DIS Command 0x43 DDS or periodic output Description Select DDS output or periodic output Example struct dds_command_t ddscmd ddscmd cmd_id COM_SET_PRD_DDS_SEL ddscmd d...

Page 232: ...dscmd Command 0x46 DDS divider source Description Sets DDS divider source Example struct dds_command_t ddscmd ddscmd cmd_id COM_SET_DDS_DIV_SRC ddscmd data cmd_byte 0 DDS_DIVIDER_SRC_DDS ddscmd cmd_len 1 ioctl fd DDSCOMMAND ddscmd Command 0x47 DDS sync mode Description Sets DDS sync mode Example struct dds_command_t ddscmd ddscmd cmd_id COM_SET_DDS_DIV_SYNC ddscmd data cmd_byte 0 DDS_SYNC_MODE_FRA...

Page 233: ...ND ddscmd Command 0x4A DDS tuning word Description Sets DDS tuning word Example struct dds_command_t ddscmd ddscmd cmd_id COM_SET_DDS_TUNEWORD ddscmd data cmd_number tuneWord ddscmd cmd_len 4 ioctl fd DDSCOMMAND ddscmd Command 0x4F pci_req_fw_ver Description Request firmware version Example Get Firmware Version get arg GETDATA_DTFW ioctl fd GETDATA get Command 0xF4 0xF5 0xF6 0xFE pci_req_assembly ...

Page 234: ... Note Symmetricom bus cards support different GPS receivers Please consult the Users Guide for your bus card to access the GPS receiver commands that apply to your card 4 4 4 Example 2 1PPS Interrupt Sample main Open device open dev stfp0 O_RDWR Initialize to free Running Mode ioctl fd SELTIMINGMODE MODE_FREERUN Initialize to binary time format ioctl fd SELTIMEFORMAT TIME_BINARY Setup interrupt si...

Page 235: ...ar addr int intServiced Read Signal ioctl fd RDINTSIGNAL intServiced printf Got interrupt signal d Source 0x 02X n sig int Serviced The example program has demonstration for interrupt handling You can access the interrupt menu through choice 31 of the main bc63xPCIcfg menu Refer to pci_set_ints and intr_handler in bc635pci c for source code 218 Artisan Technology Group Quality Instrumentation Guar...

Page 236: ...p the event Flywheel To maintain time or frequency accuracy when the reference source has been lost or removed GPS Global Positioning System Originally designated NAVSTAR Navigation System with Timing And Ranging GPS was developed by the US Department of Defense to provide all weather round the clock navigation capabilities for military ground sea and air forces HW Hardware IRIG Serial time format...

Page 237: ... than a shared parallel bus architecture PCISIG PCI Special Interest Group PCM Pulse Code Modulation Periodic A programmable frequency that is obtained by dividing the TFP reference frequency Peri odics are sometimes referred to as heartbeats PICMG PCI Industrial Computer Manufacturers Group PLL Phase Locked Loop PPM parts per million PPS pulse per second RAM Random Access Memory Resolution Resolu...

Page 238: ...ional de l Heure BIH which forms the basis of a coordinated dis semination of standard frequencies and time signals VCXO Voltage Controlled Crystal Oscillator 221 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 239: ...umpers 7 bc637PCI PCIe Additional Hardware 14 Breakout Cables 61 C Calibration Procedure 22 Changing the TFP Card Front Panel 11 Contact Information iv Continuous Mode 19 Control Register 29 Conventions iv Copyright ii D DDS Output 19 Device Register Description 26 Device Registers 26 Divider Mode 20 Divider Source 19 DLL File 103 DPRAM Command Summary 40 222 Artisan Technology Group Quality Instr...

Page 240: ...rface 63 H Heartbeat Output 18 I Inputs 6 Inputs and Outputs 58 Installation 10 Installation Under Other Operating Systems 16 Installation Under Windows 14 Installing the Card and Antenna 11 K Key Features 4 L Legacy and New Generation Cards 69 Linux SDK 139 Linux SDK Library Definitions 155 Linux SDK Programming Examples 186 Linux Software Development Kit 15 223 Artisan Technology Group Quality I...

Page 241: ... PCI Memory Map 26 PCI PCIe TFP Hardware 1 PCIe Bus Characteristics 6 PCIe Interrupts 21 Position Fix Mode 0 68 Position Fix Mode 1 68 Position Fix Mode 3 and 4 68 Position Fix Modes 68 Procedure for Changing the Front Panel 11 Project Creation 105 Q Quickstart Guide to operating bc635PCIcfg exe 72 Quickstart Guide to Operating bc637PCI GPS 87 Quickstart Guide to Operating bc637PCI GPS Demo 87 224...

Page 242: ...ris Example Program 207 Solaris SDK 191 Solaris Software Development Kit 16 Specifications 5 Status Bits 34 Symmetricom Customer Assistance ii T TFP Device Register Summary 27 TFP DPRAM Commands 37 TFP I O Connector 58 Time Capture Registers 18 Time Code Outputs 5 Time Coincidence Strobe Output 21 Time Format 32 Traytime Windows Applications Program 97 TrayTime exe 103 W Warranty ii Windows Applic...

Page 243: ...Index Windows SDK Command Finder 107 Windows SDKFunctions 109 Windows Software Development Kit 14 Z z 5 226 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 244: ...l service in house repair center WE BUY USED EQUIPMENT Sell your excess underutilized and idle used equipment We also offer credit for buy backs and trade ins www artisantg com WeBuyEquipment REMOTE INSPECTION Remotely inspect equipment before purchasing with our interactive website at www instraview com LOOKING FOR MORE INFORMATION Visit us on the web at www artisantg com for more information on ...

Reviews: