25
PCIe-OPT01 Users Manual (Rev 1.0) -1- http://www.daqsystem.com PCIe-OPT01 User’s Manual Windows, Windows2000, Windows NT and Windows XP are trademarks of Microsoft. We acknowledge that the trademarks or service names of all other organizations mentioned in this document as their own property. Information furnished by DAQ system is believed to be accurate and reliable. However, no responsibility is assumed by DAQ system for its use, nor for any infringements of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or copyrights of DAQ system. The information in this document is subject to change without notice and no part of this document may be copied or reproduced without the prior written consent. Copyrights 2005 DAQ system, All rights reserved.

PCIe-OPT01 Users Manual (Rev 1.0) PCIe-OPT01 · 2016. 4. 11. · It has a supportable design structure for other interface(DVI, HD-SDI, MIPI) to use flexible FPGA logic. [PCIe-OPT01

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

  • PCIe-OPT01 Users Manual (Rev 1.0)

    -1- http://www.daqsystem.com

    PCIe-OPT01 User’s Manual

    Windows, Windows2000, Windows NT and Windows XP are trademarks of Microsoft. We acknowledge that the

    trademarks or service names of all other organizations mentioned in this document as their own property.

    Information furnished by DAQ system is believed to be accurate and reliable. However, no responsibility is assumed by DAQ

    system for its use, nor for any infringements of patents or other rights of third parties which may result from its use. No license is

    granted by implication or otherwise under any patent or copyrights of DAQ system.

    The information in this document is subject to change without notice and no part of this document may be copied or

    reproduced without the prior written consent.

    Copyrights 2005 DAQ system, All rights reserved.

  • PCIe-OPT01 Users Manual (Rev 1.0)

    -2- http://www.daqsystem.com

    -- CONTENTS –

    1. Introduction

    2. PCIe-OPT01 Function

    2.1 PCIe-OPT01 Board Description

    2.2 SFP(Small Form Factor Pluggable)

    2.3 Fiber-Optic Cable

    2.4 Main Connector Pin-out

    2.4.1 J3 Connector

    2.4.2 J4 Switch

    2.4.3 J8 Connector

    2.4.4 J10 Connector

    3. Installation

    3.1 Hardware Installation

    3.1.1 Product Contents

    3.1.2 Installation Process

    3.2 Driver Installation

    4. Sample Program

    4.1 Board functions

    4.2 Image Frame Functions

    4.3 UART Functions

    4.4 Digital I/O Functions

    4.5 Miscellaneous

    Appendix

    A.1 General Specification

    A.2 Physical Dimension

    Reference

  • PCIe-OPT01 Users Manual (Rev 1.0)

    -3- http://www.daqsystem.com

    1. Introduction

    PCIe-OPT01 is used with EMB-OPT01 together. It is a Fiber receiver board. Received Fiber data from

    EMB-OPT01 transmits to host.

    The boards acquire images in real time and directly transferred to the system memory. Easy a

    nd fast installation method is suitable for the image transfer device to meet the needs of the in

    dustry for cost-effective.

    DAQ system provides a sample program to use the board briefly so you can test the API prov

    ided insource form, so the user can be used to modify. Please refer to Chapter 4 for a detailed

    description of this sample program.

    PCIe-OPT01 board uses two SFP (Small Form Factor Pluggable) optical-module. Down side port

    (CN2) supports Base Camera Link Configuration, and above pages (CN1) port supports Base Camera

    Link Configuration or Full / Medium Camera Link Configuration with CN2 port.

    It has a supportable design structure for other interface(DVI, HD-SDI, MIPI) to use flexible FPGA logic.

    [PCIe-OPT01 Features]

    Supports two Fiber channel

    PCI Express GEN2.0 x4 Interface

    Link Speed 8Gbps

    256MByte Image Buffer

    2 SFP(Small Form Factor Pluggable)

    Environments : Over Windows 2000 SP4, Over Windows XP SP1

    Convenient Windows Application Programming Interface(DLL)

  • PCIe-OPT01 Users Manual (Rev 1.0)

    -4- http://www.daqsystem.com

    PCI-OPT01 receives the Camera-link image frames taken in conjunction with standard camera

    via the EMB-OPT01 board, is a board to be transferred to the PC with PCI Express 4x interface

    method. The board operation is controlled by the program API, the figure below shows a picture

    of the interlocking action of the board.

    [Fig 1-1. PCIe-OPT01 Board Connections]

    PS) Plans to future Two Base Camera and 10Tap support.

    The upper SFP cage (CN1) is recognized a channel 1, SFP cage side down (CN2) is recognized

    channel 0 in the sample program. (Refer to Section 2.2, Section 4.1)

  • PCIe-OPT01 Users Manual (Rev 1.0)

    -5- http://www.daqsystem.com

    2. PCIe-OPT01 Function

    2.1 PCIe-OPT01 Board Description

    PCI Express 4x Interface

    J4

    CN

    1U3

    J10

    D8D7

    D10D9

    J8

    U4

    DAQ systemwww.daqsystem.com PCIe-OPT01

    Rev. D

    D5D3D6D4

    U2

    D11

    ON

    1 2 J9

    SW1

    U1

    U5

    CN

    2

    RE

    F1

    RE

    F2

    123 7

    89

    123 7

    89

    ACEGJLNR

    ACEGJLNR

    J5

    Y1

    J11

    J1

    J2

    J3

    [Fig 2-1. PCIe-OPT01 Layout]

    (1) SFP (CN1, CN2) : Small Form Factor Pluggable Connectors

    (2) FPGA (U3) : All of the functions are controlled by the logic program of the FPGA.

    (3) DDR Memory (REF1, REF2) : After save the data in a frame unit, transfer to PC through

    FPGA.

    (4) Regulator (U1, U2, U5, U6) : The Regulator is for supplying the power to the board.

    (5) The board has 6 LEDs to indicate the operation status.

    J1(CN1) : Red : Rx signal Green : Tx Signal

    J2(CN2) : Red : Rx signal Green : Tx Signal

    D11 : turns on when power is applied to the board and the initialization ends up.

    D3 ~ D10 : Test led

  • PCIe-OPT01 Users Manual (Rev 1.0)

    -6- http://www.daqsystem.com

    2.2 SFP(Small Form Factor Pluggable)

    PCIe-OPT01 uses two SFP for Fiber-Transmission Transceiver device. SFP

    Transmitter/Receiver devices are designed to support various Fiber Transmission like SONET,

    Gigabit Ethernet, Fiber Channel. It supports Hot-pluggable transceiver, can connect to network

    device motherboard through fiber or copper networking cable.

    The SFP module that connects to the connector is connected to the cage with Tx (Transceiver)

    and Rx (Receiver).

    [Fig 2-2. SFP & SFP Cage]

    [Table 1. CN1/CN2 SFP Connector Description]

    No. Name Description Remark

    1 VeeT Transmitter Ground

    2 TxFault Transmitter Fault

    3 TxDisable Transmitter Disable

    4 SDA Serial Interface Data Line

    5 SCL Serial Interface Clock

    6 MOD-ABS Module Absent, connected to VeeT or VeeR

    7 RS0 Rx Rate Select

    Open or Low = 2.125 or 4.25 Gb/s Fibre Channel (Low

    Bandwidth)

    High = 8.5 Gb/s Fibre Channel (High Bandwidth)

    8 LOS Loss of Signal Indication

    9 RS1 Tx Rate Select

  • PCIe-OPT01 Users Manual (Rev 1.0)

    -7- http://www.daqsystem.com

    Open or Low = 2.125 or 4.25 Gb/s Fibre Channel (Low

    Bandwidth)

    High = 8.5 Gb/s Fibre Channel (High Bandwidth)

    10 VeeR Receiver Ground

    11 VeeR Receiver Ground

    12 RD- Receiver Data

    13 RD+ Receiver Inverted Data

    14 VeeR Receiver Ground

    15 VccR Receiver Power(3.3V)

    16 VccT Transmitter Power(3.3V)

    17 VeeT Transmitter Ground

    18 TD+ Transmitter Data

    19 TD- Transmitter Inverted Data

    20 VeeT Transmitter Ground

    P.S. Refer to the SFP standard documents for more specifications

    2.3 Fiber-Optic Cable

    Optical cable is a transmission cable to transmit away the converted laser signal.

    There are two transfer modes.

    Single Mode : The core diameter 9㎛ are used to broadband and long-reach transmission,

    approximately it is possible to tandem-free transmission 50Km. When the core

    diameter is small single-mode, it is difficult for cable passage to convey large

    amounts of information. However, it is possible to transmit up to distances. The

    color of the cable is used to primarily yellow.

    Multi Mode : The core diameter 50~ 100 ㎛ are used to short-reach transmission. It is

    possible to transfer a lot of information because core diameter is large. The color

    of the cable is used to primarily orange

    There are LC, ST, MTRJ, SC, FC, MU type in the optical connector.

    PCIe-OPT01 is used primarily as a multi-mode LC Type [Fig 2-4].

  • PCIe-OPT01 Users Manual (Rev 1.0)

    -8- http://www.daqsystem.com

    [Fig 2-3. Transmission Mode]

    (1) Single Mode LC Type (2) Multi Mode LC Type

    [Fig 2-4. Cable Type]

  • PCIe-OPT01 Users Manual (Rev 1.0)

    -9- http://www.daqsystem.com

    P.S) The most important factor in the optical cable selection can be found in the communicati

    on distance. Multimode cable is the maximum transmission distance 2Km, Single-mode cabl

    e which is basically a configuration that provides cable when the transmission distance acc

    ording to the type of equipment is more than the transmission distance 2Km.

    Communication using light, basically use 2Core. (RX-1 CORE, TX-1 CORE)

    Therefore, be careful connection when you connect the board in 2Core of fiber optic cable

    as shown in the following figure.

    Fiber-Optic Cable Connection

    Channel #1

    Channel #0

    caution ) Be careful, not to twist the cables.

  • PCIe-OPT01 Users Manual (Rev 1.0)

    -10- http://www.daqsystem.com

    2.4 Main Connector Pin-out

    2.4.1 J3 Connector

    Express PCI power(from express connector) can be used to connect a 12V power supply to

    the external connectors (J10).

    2.4.2 J4 Switch

    The PCIe-OPT01 board is designed of four maximum PCIe-OPT01 boards at the same

    time so as usable. Distribution of each board sets it up through 4 pin switch (J4) in a board.

    1

    ON

    OFF

    J4

    2

    [Fig 2-5. J4 Switch]

    [Table 2. J4 Description]

    1 2 Description

    OFF OFF Board No. 0

    ON OFF Board No. 1

    OFF ON Board No. 2

    ON ON Board No. 3

    2.4.3 J8 Connector

    It is the 12V FAN drive power connector.

    2.4.4 J10 Connector

    It is the 12V power connector..

  • PCIe-OPT01 Users Manual (Rev 1.0)

    -11- http://www.daqsystem.com

    3. Installation

    In addition to the user’s Manual, the package includes the following items. If any of these items is

    missing or damaged, contact DAQ system.

    After unpacking, inspect the board carton to make sure there are no damages on the board.

    3.1 Hardware Installation

    3.1.1 Package Contents

    ① PCIe-OPT01 Board

    ② CD (Driver/Manual/API/Sample Source etc.)

    3.1.2 Installation Process

    ① Turn off the PC power.

    ② Remove the computer cover using the instructions from the computer manual.

    ③ Insert the board empty PCI Express slot as soon as possible to close the CPU.

    ④ Remove the blank metal plate located at the back of the selected slot. Keep the remov

    ed screw to fasten the board after installation.

    ⑤ You should try number 3 in case of multi-board.

  • PCIe-OPT01 Users Manual (Rev 1.0)

    -12- http://www.daqsystem.com

    3.2 Driver Installation

    To install your PCIe-OPT01 board in your PC, follow the steps described in the document “How

    to install PCI DAQ Board” provided by DAQ System. If the document is missing, you can get it

    from www.daqsystem.com. The PCIe-OPT01 board is completely Plug & Play. There are no

    switches or jumpers to set. Therefore you can install it easily.

    - Your OS requirement : Windows 2000 SP4 or Windows XP SP1 above

    The PCIe-OPT01 connects to Express Card Port. After that you can show the below pict

    ure of “Welcome to found New Hardware Search Wizard” window.

    If new hardware is found, Wizard will ask you to install the corresponding driver. For installation

    of the driver, select the item “Install from a list or specific location (Advanced)” and click “Next” as

    in the figure.

    http://www.daqsystem.com/

  • PCIe-OPT01 Users Manual (Rev 1.0)

    -13- http://www.daqsystem.com

    Select “Search for the best driver in these locations”. Check “Search removable media (floppy,

    CD-ROM)”. Check “include this location in the search”. Click “Browse” button. Select the folder

    where the drivers are located. Click “OK”. Click “Next”. The necessary files are “pcie_opt01.inf”

    and “pcie_opt01.sys” in the driver polder.

  • PCIe-OPT01 Users Manual (Rev 1.0)

    -14- http://www.daqsystem.com

    If the installation is completely finished, a completion window message shall be shown as in

    [Figure 4-5]. Click “Finish”.

  • PCIe-OPT01 Users Manual (Rev 1.0)

    -15- http://www.daqsystem.com

    If the installation is completely finished, you confirm it in the following ways.

    Do the following steps to show up the “Device Manager” window.

    [My Computer -> properties -> Hardware -> Device Manager -> Mutifunction Adaptor ->

    PCIe-OPT01]

    If you can see the “PCIe-OPT01” at Multifunction Adaptors, the driver installation is to have

    been over. (Check the red circle)

    Important Notice : After installation, you should re-boot the system for the proper operation.

  • PCIe-OPT01 Users Manual (Rev 1.0)

    -16- http://www.daqsystem.com

    4. Sample Program

    DAQ system provides a sample program to make the user be familiar with the board operation and

    to make the program development easier. You can find the sample program in the CDROM

    accompanying with the board.

    Sample program is provided in source form in order to show the usage of API (Application

    Programming Interface) of the board and may be modified for customer’s own usage.

    [Figure 4-1. “FrmTest.exe” Execution display]

    Above executable files are a screen test board using its DVI-CL1 (DVI to Camera Link) board, the

    Camera Link camera connection is different.

    To run the sample application program, you need to use API (Application Programming Interface).

    It is a form of client DLL (Dynamic Link Library). You need the Import Library files and header files for

    compiling the sample source. You can find them in the CDROM. To run the execution file, the API

    DLL file (USB_FRM13.DLL) must be located in the same directory with the execution file or Windows

  • PCIe-OPT01 Users Manual (Rev 1.0)

    -17- http://www.daqsystem.com

    system folder. Another method is to add the directory of API DLL file to PATH environmental variable.

    Each menu bar is described in the following. The menu bar is not mentioned here is not to use

    features.

    (Caution) Board # & Channel # slelction “Device Open” click In the "Data mode", select

    the format for the camera Select camera data width after selected from "8, 16, 32, 8bi

    Bayer" “Dev. Init” “Get Res.” Check the resolution After selecting the resolution

    you want to see on the screen, "Set detected" click “Auto View” check

    4.1 Board Functions

    (1) “Device Open” button

    It starts a selected board device. If the value is "0", it is unconnected or no device.

    (2) “Board # :”

    It selects a board number in case of the multi boards. It can select 0 ~ 4 at currently.

    Number of each board is separated by the switch (J10) on the board.

    (3) “Channel # :”

    It selects a Fiber channel numbers. If the value is "0", it is the the lower the light

    channel(CN2 connector). if the value "1", it is connected to the top of light channel(CN1

    connector).

    (4) “Get Ver.” button

    It shows the version of FPGA and Firmware.

  • PCIe-OPT01 Users Manual (Rev 1.0)

    -18- http://www.daqsystem.com

    4.2 Image Frame Functions

    (1) “Dev. Init” button

    Press this button to initialize the function of receiving image frame data. It is performed

    only once after power is applied to the board.

    (2) “Dev. Close” button

    It stops a selected board device.

    If use of device is finished, it is sure to close the device for other programs.

    (3) “Taps :” button

    It shows Taps of Camera Link.

    1 : 1Byte, 2 : 2Bytes, 4 : 4Bytes, 8 : 8bit Bayer

    (4) “Get Res.” button

    It shows the image resolution.

    (5) “Set Detected” button

    User can set up the resolution is 640x480, 800x600, 1024x768, 1280x720, 1280x1024,

    1600x1200, 1920x1080, 1920x1200, 2048xx1536, 2560x2048, 4080x2448.

    Press the Set Detected button, it controls the horizontal and vertical resolution to fit the

    screen from the "Get Res".

    (6) “Start” button

    It starts the image transfer. It is a Toggle button, press again stop the image transferring.

    (7) “View ” button

    Start the image transmission.

    “Auto view” : When check this box, it displays a video.

    (8) “STOP” button

    When press this button, it stops a frame capture.

  • PCIe-OPT01 Users Manual (Rev 1.0)

    -19- http://www.daqsystem.com

    (9) “Read” button

    Press this button to read the image frame data of the board to your PC(Hex Value).

    If image frame data is not saved on the board, you must wait until the end of data collection.

    (10) “Save” button

    If the box clicks, image data is stored as a binary file below the specified D:\SAVE (or

    user-selected folder). The bottom of “Save Count” shows number of stored frames.

    (11) “Frame rate”

    It shows a frame number per second.

    (12) “Full/Top Left/Top Right/Bot. Left/Bot. Right” selection

    It shows the video of 800x600 resolution where you wish selected parts.

  • PCIe-OPT01 Users Manual (Rev 1.0)

    -20- http://www.daqsystem.com

    (13) “Data Mode” Selection

    It selects a Video Data Mode of 8bit, 16bit YUV, 24Bit BGR, 8Bit Bayer, 10Bit Bayer.

    “Half tone” : It selects a halftone.

    “5’th Skip” : When this button is selected, it goes beyond the 5th byte from the image

    data.

    “3’th Skip” : When this button is selected, it goes beyond the 5th byte from the image

    data.

    4.3 UART functions

    (1) “Init” selection

    Initialize the UART.

    (2) “Close” button

    Close the UART.

    (3) “Baud” selection

    Select the Baud Rate (9600, 19200, 38400, 57600, 115200 Baud Rate).

    (57600,115200 is currently not supported.)

    (4) “Send” button

    Send a UART data written next to the field.

  • PCIe-OPT01 Users Manual (Rev 1.0)

    -21- http://www.daqsystem.com

    (5) “ Get” button

    Get the data from UART buffer.

    (6) “Clear” button

    Clear the UART Receiver buffer.

    4.4 Digital I/O Functions

    (1) “Set Dir” button

    It selects a direction of Read / Write.

    ‘0’ : Read

    ‘1’ : Write

    (2) “Output” Button

    Press this button to write the data on General Purpose I/O port. You can directly write the data

    in the editor box beside the button.

    (3) “Input” Button

    Press this button to read the data on General Purpose I/O port. Reading Data are recorded

    the editor box beside the button

  • PCIe-OPT01 Users Manual (Rev 1.0)

    -22- http://www.daqsystem.com

    4.5 Miscellaneous Functions

    (1) “CC Out” button

    You can select a CC(camera control) signal among CC1 ~ CC4.

    (2) “Auto Save”

    If the box clicks, image data is stored as a BMP or JPEG file below the specified D:\Image

    (or user-selected folder). It does not means the original frame save. Saving speed is different

    depending on the BMP/JPEG structure, PC performance or OS(32/64bit). Count # shows the

    number of stored frames.

  • PCIe-OPT01 Users Manual (Rev 1.0)

    -23- http://www.daqsystem.com

    Appendix

    A.1 General Specification

    Specification

    General

    Supports 2 Channel Fiber Link

    PCI Express Gen2 x4 interface

    Support a Full Camera Link Interface

    Two SFP(Small Form Factor Pluggable) Connectors with ful l

    support

    Link Speed : 8Gbytes/sec

    256Mbyte Image Buffer

    H/W and SDK is controlled by a programmable FPGA

    Transferred to the image frame data on a PC

    Software

    Supported OS Windows 2000 SP4 over/ Windows XP SP1 over

    API Interface with Application through client DLL

    Sample Software Test Sample software for evaluation

  • PCIe-OPT01 Users Manual (Rev 1.0)

    -24- http://www.daqsystem.com

    A.2 Physical Dimension

    External dimensions of the board are as follows (132 x 55 mm).

    132

    55

  • PCIe-OPT01 Users Manual (Rev 1.0)

    -25- http://www.daqsystem.com

    References

    1. PCI Local Bus Specification Revision2.1

    -- PCI Special Interest Group

    2. How to install PCI DAQ Board

    -- DAQ system

    3. AN201 How to build application using API

    -- DAQ system

    4. AN312 PCIe-OPT01 API Programming

    -- DAQ system