background image

10

 

 

Fastcom

®

: G422/X-PCIe 

FASTCOM SERIALFC SETTINGS  

 

 

Clock Generator Frequency 

The clock generator frequency divided by the sampling rate will directly determine the maximum available 
bit rate that you may use with the Fastcom board.  It works like this:  Windows must be able to divide the 
clock  frequency  by  the  sampling  rate  and  then  by  any  whole  number  and  get  to  your  bit  rate  as  the 
answer.  By  default, the clock is set to 14.7456 MHz  (14745600 Hz).  This frequency can be divided by 
whole  numbers  to  get  all  of  the  standard  bit  rates  (i.e.  9600,  19200,  115200,  etc).    Minimum  =  6  MHz, 
Maximum = 50 MHz. 
 
For Example:   

Frequency / Sampling rate (8 or 16) / n = bit rate 
 
14,745,600 / 16 / 96 = 9600 

 
This setting is global.  Changing the clock generator frequency will affect all Fastcom ports on the board.  
Setting the clock for one port will set it for all ports on the same board. 

 

 

Echo Cancel 

When configured to operate on a 485 network, the card’s receive and transmit lines are tied together to 
make  a  single  data  line.    Because  of  this,  every  time  data  is  transmitted  out  of  the  port,  it  will 
simultaneously be received on the same port.  Enabling Rx Echo Cancel will turn off the receiver during 
all  transmits,  eliminating  this  simultaneous  echo.    485  transmit  control  must  be  enabled  to  use  this 
feature.  This is accomplished in hardware, not software; it will not affect performance. 

 

 

Sampling Rate 

Determines  the  number  of times  a  data bit  is  sampled.   It  can  be  set to  either  4,  8,  or  16  on  a  per-port 
basis.  It is used in conjunction with the clock generator frequency to determine attainable bit rates.  As a 
general  rule,  if  your  bit  rate  will  be  less  than  or  equal  to  3.125  Mbits/second,  you  should  use  16  times 
sampling.  8 times sampling should only be used if you wish to run at bit rates over 3.125 Mbits/sec. 

 

 

RS 485 

Turns on or off hardware auto 485 direction control.  It will automatically de-assert RTS following the last 
stop bit of the last character that has been transmitted.  This setting affects only the selected port.  This is 
accomplished in hardware, not software; it will not affect performance. 
 
Turns auto 485 transmitter enable control on or off.  The line driver will be enabled at the beginning of a 
transmit,  and  when  finished  transmitting  the  line  driver  will  be  disabled.    This  setting  affects  only  the 
selected port.  This is accomplished in hardware, not software; it will not affect performance. 

 

 

Rx FIFO Trigger Level

1

 

The Rx FIFO level generates an interrupt whenever the receive FIFO level rises above this preset trigger 
level  (high  water  mark).    Raising  or  lowering  this  value  can  help  to  reduce  the  number  of  interrupts 
generated  by  the  Fastcom port  during  receives.    This  setting  affects  only  the  selected  port.    Modify  this 
value  only  if  necessary  in  your  application  or  if  the  receiver  is  generating  too  many  interrupts  for  your 
CPU to handle. 

 

 

                                                      

1

 The results of changing the Rx FIFO Trigger and Tx FIFO Trigger will depend entirely upon the host PC.  What 

lowers the number of interrupt requests on one PC will raise the number of interrupt requests on another PC.  You 
will  have  to  experiment  with  these  values  to  find  the  settings  that  yield  the  best  performance  with  the  lowest 
number  of  interrupt  requests  that  must  be  serviced  by  your  CPU.    If  you  do  not  experience  problems  using  the 
card in your PC, you should leave these at their default settings. 

Summary of Contents for Fastcom G422/4-PCIe

Page 1: ......

Page 2: ...YRIGHT C 2013 All rights reserved including those to reproduce this document or parts thereof in any form without permission in writing from Commtech Inc FASTCOM and the Alpha Lemur are registered trademarks of Commtech Inc Microsoft is a registered trademark of Microsoft Corporation WINDOWS is a trademark of Microsoft Corporation ...

Page 3: ...Fastcom G422 X PCIe REVISION NOTES REVISION PAGE NUMBER CHANGES MADE 1 0 Document created ...

Page 4: ...ALLATION 8 TESTING THE INSTALLATION 8 TESTING THE FASTCOM ASYNC PCI PORT IN WINDOWS 8 FASTCOM SERIALFC SETTINGS 10 FASTCOM G422 X PCIE ADAPTER CABLE 12 CHAMP68 PIN DESCRIPTION 12 DB9 PIN DESCRIPTION 13 CABLE 13 PROGRAMMING 14 RS422 RS485 15 TERMINATION RESISTANCE 16 RS 485 MODE 17 TECHNICAL SUPPORT 18 APPENDIX A 19 17V354 17V358 UART DATA SHEET 19 ...

Page 5: ...ed speed and convenience over the older software controlled method while still allowing the use of the software method of flow control Optionally in automatic RS 485 mode the receiver can be disabled during transmits to avoid a receive echo common in 2 wire 485 networks Additionally each board utilizes a programmable clock generator to create the UART s input frequency The clock generator is capab...

Page 6: ...Gen 1 x1 Power Requirements 200mA 3V typical Operating Temperature Range 0 C to 70 C Humidity 0 to 90 non condensing Features New high performance UART All baud rates up to 25 Mbits second 256 byte FIFO for improved throughput Four independent channels Hardware control for 485 drivers Software programmable baud rates Switchless design for durability and reliability Status LEDs for system developme...

Page 7: ...7 Fastcom G422 X PCIe BOARD LAYOUT PACKING LIST Fastcom G422 X PCIe Card G422 X PCIe Cable Assembly Fastcom CD If an omission has been made please call customer service at 316 636 1131 for a replacement ...

Page 8: ...on your PC if applicable 7 Refer to Software Installation in the next section for information on installing the software for the board Software Installation The software installation manual is in a separate document The procedure changes from time to time as we make improvements TESTING THE INSTALLATION To fully test the installation of your Fastcom G422 X PCIe you will need to build a loop back p...

Page 9: ...ng the loop test some possible reasons are 1 You have an incorrect or faulty loop back plug construction or a bad connection Verify the wiring is correct in your plug and correct any problems you may find 2 The Fastcom board did not install correctly Open the Device Manager Start Run devmgmt msc OK Expand the Multi port serial adapters tab and double click on the Fastcom device listed in that clas...

Page 10: ... As a general rule if your bit rate will be less than or equal to 3 125 Mbits second you should use 16 times sampling 8 times sampling should only be used if you wish to run at bit rates over 3 125 Mbits sec RS 485 Turns on or off hardware auto 485 direction control It will automatically de assert RTS following the last stop bit of the last character that has been transmitted This setting affects ...

Page 11: ...cted port Modify this value only if necessary in your application or if the transmitter is generating too many interrupts for your CPU to handle Tx FIFO Trigger Tx Write Size must not exceed 255 Custom Speed When enabled this allows you to use a non standard custom baud rate inside of an application that does not support custom rates When this is enabled the 9600 baud rate will be overridden with ...

Page 12: ...gh a shielded CHAMP 68 Pin connector and an adapter cable supplied with the board The adapter cable consists of a CHAMP 68 pin male plug fanning out to four standard DB9 female receptacles for the 422 4 PCIe and to eight standard DB9 female receptacles for the 422 8 PCIe CHAMP68 Pin Description 4 port cards will only use channels A D ...

Page 13: ...SEND RTS OUTPUT 3 READY TO SEND RTS OUTPUT 4 TRANSMIT DATA TX OUTPUT 5 TRANSMIT DATA TX OUTPUT 6 CLEAR TO SEND CTS INPUT 7 CLEAR TO SEND CTS INPUT 8 RECEIVE DATA RX INPUT 9 RECEIVE DATA RX INPUT Cable We recommend using vinyl jacketed shielded multiple twisted pair cable 30 AWG wire for use with the FASTCOM G422 X PCIe The following cable illustration shows how to connect two RS 422 devices Note t...

Page 14: ...roperty page These commands as well as the custom structures used in them are defined in the serialfc h header file Fastcom SerialFC Serial Setting DeviceIOControl dwIoControlCode Termination IOCTL_FASTCOM_ ENABLE DISABLE _TERMINATION Echo Cancel IOCTL_FASTCOM_ ENABLE DISABLE _ECHO_CANCEL Sampling Rate IOCTL_FASTCOM_SET_SAMPLE_RATE RS 485 IOCTL_FASTCOM_ ENABLE DISABLE _RS485 Tx FIFO Trigger Level ...

Page 15: ...so improved the FASTCOM G422 X PCIe features data rates up to 25 Mbits second These improvements were made possible by differentially driving and receiving the data as opposed to the single ended method employed by the RS 232 standard With the RS 422 standard the transmit signal TX in RS 232 is a differential signal consisting of TX and TX the receive signal RX in RS 232 consists of RX and RX Anot...

Page 16: ... PCIe The termination resistance is built in If you are using the Fastcom G422 X PCIe in a multi drop network the termination resistor should be disabled from all units except the first and last see the RS 485 illustration below Observe the resistors in the following drawings and remember that they are built into the Fastcom G422 X PCIe shown below Typical RS 422 Installation Typical RS 485 Instal...

Page 17: ...abling of its drivers in order to avoid network conflicts If two drivers engage the network at the same time data from both will be corrupted In RS 485 mode the receivers are always enabled The following cable illustration shows four RS 485 Devices sharing the same twisted pair TX TX RX RX TX TX TX TX TX TX RX RX RX RX RX RX 1 2 3 4 Note The termination resistors from Station 2 and Station 3 have ...

Page 18: ...il to obtain an RMA number You are responsible for shipping charges when you return a FASTCOM board to Commtech We will pay the shipping charges to send the board back to you if a defect in workmanship is found However if no defect in workmanship is found or the board is not found to be defective or any of the following warranty exclusions occur you will be responsible for shipping charges both wa...

Page 19: ...19 Fastcom G422 X PCIe APPENDIX A 17V354 17V358 UART Data Sheet ...

Reviews: