Table of Contents

Advertisement

Quick Links

Connect Tech Inc.
42 Arrow Road
Guelph, ON CANADA
N1K 1S6
Tel:
519.836.1291
Toll Free:
800.426.8979 (North America Only)
Fax:
519.836.4878
Email:
sales@connecttech.com
Web:
www.connecttech.com
CTIM-00116 Revision: 0.02, Apr. 14, 2015
Xtreme/Multi-I/O

Users Guide

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Multi-I/O and is the answer not in the manual?

Questions and answers

Summary of Contents for Connect Tech Multi-I/O

  • Page 1: Users Guide

    Xtreme/Multi-I/O Users Guide Connect Tech Inc. 42 Arrow Road Guelph, ON CANADA N1K 1S6 Tel: 519.836.1291 Toll Free: 800.426.8979 (North America Only) Fax: 519.836.4878 Email: sales@connecttech.com Web: www.connecttech.com CTIM-00116 Revision: 0.02, Apr. 14, 2015...
  • Page 2: Table Of Contents

    Connect Tech - Xtreme/Multi-I/O - Users Guide Table of Contents Table of Contents ..........................2 Customer Support Overview ......................4 Contact Information ..........................4 Limited Lifetime Warranty ........................5 Copyright Notice ..........................5 Trademark Acknowledgment ......................5 Revision History ..........................6 Introduction ............................
  • Page 3 Connect Tech - Xtreme/Multi-I/O - Users Guide Operation ..............................30 Receiver ............................30 Transmitter ............................31 Detecting Transmission Errors or Potential Problems ....................31 Transmission Success ..............................31 J1708 Interrupts ..........................32 Command, Control, Status Registers ...................... 33 Command Register (Offset: 0x00) ....................33 Restart J1708 Bus SYNC ..............................
  • Page 4: Customer Support Overview

    Connect Tech - Xtreme/Multi-I/O - Users Guide Customer Support Overview If you experience difficulties after reading the manual and/or using the product, contact the Connect Tech Inc. reseller from which you purchased the product. In most cases the reseller can help you with product installation and difficulties.
  • Page 5: Limited Lifetime Warranty

    The above warranty is the only warranty authorized by Connect Tech Inc. Under no circumstances will Connect Tech Inc. be liable in any way for any damages, including any lost profits, lost savings or other incidental or consequential damages arising out of the use of, or inability to use, such product.
  • Page 6: Revision History

    Connect Tech - Xtreme/Multi-I/O - Users Guide Revision History Revsion Date Changes 0.01 June 11, 2013 Original Add/revise information in the “Configuration” section, to clarify some important 0.02 Apr. 14, 2015 points. Document: CTIM-00116 Page 6 of 50 Date: Apr. 14, 2015 Revision: 0.02...
  • Page 7: Introduction

    Connect Tech - Xtreme/Multi-I/O - Users Guide Introduction Connect Tech’s Xtreme/Multi-I/O features dual SJA1000 CANbus controllers, isolated serial and CAN ports, and two MultiTech Universal compatible sockets on a single PC/104 board design. This high density communication board offers an all-in-one communication solution, optimizing Size, Weight, and Performance requirements. This innovative product takes full advantage of the latest technologies in jumperless configuration, high voltage isolation and advanced communication functionality.
  • Page 8: Configuration

    When connected to a Windows computer the USB Plug&Play mechanism will automatically detect the Xtreme/Multi-I/O as a small Mass Storage Device. This allows the board’s settings to be defined by a file which is “placed” onto the storage device implemented on the product. The storage space is very limited (about 8K bytes) and is only intended for the files related to the board’s setup.
  • Page 9 Connect Tech - Xtreme/Multi-I/O - Users Guide Document: CTIM-00116 Page 9 of 50 Date: Apr. 14, 2015 Revision: 0.02 Connect Tech Inc. Proprietary Information 0.02...
  • Page 10 Connect Tech - Xtreme/Multi-I/O - Users Guide Typical CONFIG.TXT file: U1P=0x300 U2P=0x320 U1I=10 U2I=10 RS1=E RS2=E RS3=E RS4=E RS5=E RS6=E RS7=E RS8=E Resulting ERRRORS.TXT file: U1P = (IO) 0x0300 U2P = (IO) 0x0320 U1I interrupt set to 10 U2I interrupt set to 10...
  • Page 11: Usb Virtual Com Port Configuration Method

    USB Virtual COM Port Configuration Method When the Xtreme/Multi-I/O USB port is connected to a Windows computer and combined with the supplied inf file it will create a virtual serial port that can be accessed using a serial terminal program like putty, realterm, or equivalent, to configure the port settings interactively.
  • Page 12 Connect Tech - Xtreme/Multi-I/O - Users Guide Typical programming sequence: CFG? Xtreme/Multi-I/O Configuration Firmware Version V1.00 FPGA Version A Decode IO region is 10 bits U1P1 = (IO) 0x0300, 10 U1P2 = (IO) 0x0308, 10 U1P3 = (IO) 0x0310, 10...
  • Page 13: Serial Port Configuration Method

    Serial Port Configuration Method When the Xtreme/Multi-I/O is installed into a computer and Serial Port 8 is enabled, a terminal program can be used to access the settings of the board much like the Virtual Serial Port method using the OS running on the PC/104 stack.
  • Page 14: Configuration Commands

    Connect Tech - Xtreme/Multi-I/O - Users Guide Configuration Commands Memory vs IO Spaces The first decision to make when configuring this board, is to determine whether the board will operate within the Memory or I/O address Space of the computer system in which the board is installed. First, a quick description of the two different Spaces.
  • Page 15: Serial Ports (Uarts)

    Connect Tech - Xtreme/Multi-I/O - Users Guide Serial Ports (UARTS) These commands allow the 8 Uart Serial Ports to be configured with Address and IRQ assignments. The assignments can also be queried. Command Operation Notes SER? Query all the Address and IRQ settings for...
  • Page 16: Serial Ports Enable / Disable

    Connect Tech - Xtreme/Multi-I/O - Users Guide Serial Ports Enable / Disable These commands allow the 8 Uart Serial Ports to be enabled or disabled. The assignments can also be queried. When a port is disabled…  The respective Isolated Line Transceiver is turned-off, to reduce power consumption.
  • Page 17: Rs422/485 (Port-5) Settings

    Connect Tech - Xtreme/Multi-I/O - Users Guide RS422/485 (Port-5) Settings Command Operation Notes Query the Port-5 mode of operation RSZ? Query the Termination state of Port-5 P5=v Set the Port-5 mode of operation v = ‘F’ for Full Duplex ‘H’ for ½ Duplex ‘J’...
  • Page 18: Can Ports (Sja1000)

    Connect Tech - Xtreme/Multi-I/O - Users Guide CAN Ports (SJA1000) These commands allow the 2 CAN Ports to be configured with Address and IRQ assignments. The assignments can also be queried. Command Operation Notes CAN? Query all the Address and IRQ settings for...
  • Page 19: Can Port Clocking

    Connect Tech - Xtreme/Multi-I/O - Users Guide CAN Port Clocking The CAN controller (SJA1000) can be clocked by 2 different frequencies. Command Operation Notes Query the CAN clocking selection. CC=v Set the CAN clock selection. v = 16 or 24 (value indicates the frequency in MHz) Board Configuration This product contains a group of registers that are used at “run-time”...
  • Page 20: Misc Configuration

    Connect Tech - Xtreme/Multi-I/O - Users Guide Misc Configuration Command Operation Notes TRD? Query the board temperature. Value return is degrees Kelvin CFG? Query all configuration settings. VER? Query the PIC32 and FPGA firmware version. PIC32 firmware version appears as “Vx.y”...
  • Page 21: Operation

    Connect Tech - Xtreme/Multi-I/O - Users Guide Operation MultiTech Modules Two Multitech wireless modules can be plugged into the top side of this board. Each communicates through a serial port as described in the next section. Refer to the “IO Connector & Jumper Locations”section for the locations of the Sockets.
  • Page 22: Serial Ports (Uarts)

    Connect Tech - Xtreme/Multi-I/O - Users Guide Serial Ports (Uarts) These serial ports are implemented with two, “554” style (quad) Uart devices, for a total of 8 serial ports. These are used for various purposes on the board.  First Quad Uart...
  • Page 23: Rs232 Serial Ports

    Connect Tech - Xtreme/Multi-I/O - Users Guide RS232 Serial Ports These 4 serial ports connect to Header group P1to P4 as indicated in the sketch below, as viewed from the edge of the board. Each port can support bit rates up to 921.6K, and has xxxx V of isolation, from each other and from the main circuits.
  • Page 24: Rs422/Rs485 Serial & J1708 Port

    Connect Tech - Xtreme/Multi-I/O - Users Guide RS422/RS485 Serial & J1708 Port This serial port connects to Header P5 as indicated in the sketch below, as viewed from the edge of the board. Each port can support bit rates up to 921.6K, and has xxxx V of isolation, from each other and from the main circuits.
  • Page 25: Can Ports (Sja1000)

    Connect Tech - Xtreme/Multi-I/O - Users Guide CAN Ports (SJA1000) These CAN Ports are implemented with industry standard SJA1000 devices. The CAN Bus interface circuits are isolated from the other circuits on the board, and are connected to IO headers P9 and P10.
  • Page 26: Can Port Registers

    Connect Tech - Xtreme/Multi-I/O - Users Guide CAN Port Registers Refer to the NXP SJA1000 data sheet for details of the CAN Controller registers. A brief screenshot is shown here for convenience. Document: CTIM-00116 Page 26 of 50 Date: Apr. 14, 2015 Revision: 0.02...
  • Page 27: Led Header

    Connect Tech - Xtreme/Multi-I/O - Users Guide LED Header Five LED’s can be connected to the P11 header. The LED drive circuit is isolated from the other circuits on the board, and gets its power from the P4 serial port isolator (U24). Port-4 must be enabled (see the “Serial Ports Enable / Disable”...
  • Page 28: Board Control/Status Registers

    Connect Tech - Xtreme/Multi-I/O - Users Guide Board Control/Status Registers Implemented in the FPGA is 2 registers which assist with the operation of the board. The Base PC/104 IO-Address for these registers is defined by the BP= command. Register Function...
  • Page 29: Led_Cont Register (Offset 0X01, Read-Write)

    Connect Tech - Xtreme/Multi-I/O - Users Guide LED_CONT Register (Offset 0x01, read-write) This register provides the secondary LED functions for the LED header (P11). Control Item Comment(s) Offset Value LED1_STATE =0, LED Off (after approximately 75 mS) =1, LED On immediately...
  • Page 30: J1708 Bus Interface

    Connect Tech - Xtreme/Multi-I/O - Users Guide J1708 Bus Interface Control Item Address Offset 0x00  0x0F Command, Control, Status Registers Data FIFO’s 0x10  0x1F Operation The J1708 specification goes to significant detail about the requirements of the J1708 Bus interface, this section elaborates on the specifics of this implementation of that interface.
  • Page 31: Transmitter

    Connect Tech - Xtreme/Multi-I/O - Users Guide  Receiver FIFO Almost Full  Receiver FIFO Full Transmitter The Transmitter consists of a control state machine block, data bit shifting block, and controlling registers. It is clocked by the Data Clock that is recovered by the Receiver. In this way the starting of a transmitted message can be accurately timed from the end of the last message “seen”...
  • Page 32: J1708 Interrupts

    Connect Tech - Xtreme/Multi-I/O - Users Guide of a “message” is deemed to have finished, any further data placed into the FIFO is treated as the “next” message and will wait for the appropriate J1708 Bus Idle interval. The application software is notified by the generation of the interrupt.
  • Page 33: Command, Control, Status Registers

    Connect Tech - Xtreme/Multi-I/O - Users Guide Command, Control, Status Registers These registers provide the complete control and operation of the J1708 port. Register Name Access Comments Address Address Offset Offset Command 0x00 0x00 R/W(1) Control 0x01 0x04 TX Priority...
  • Page 34: Control Register (Offset: 0X01, Mem=0X04)

    Connect Tech - Xtreme/Multi-I/O - Users Guide Control Register (Offset: 0x01, Mem=0x04) This register has bits the influence the operation of the J1708 interface. Control Item Comment(s) Offset Value Mask Reception Bytes that are transmitted without error are not placed into of Good Transmitted Bytes the receiver FIFO.
  • Page 35: J1708 Interrupt Status Register (Offset: 0X04)

    Connect Tech - Xtreme/Multi-I/O - Users Guide J1708 Interrupt Status Register (Offset: 0x04) This register is used as both an indication of which J1708 interrupts are active, and as a method of clearing selected interrupts. An interrupt is cleared by writing a “1” to its bit (writing a zero has no effect). Reading this register clears the J1708 interrupt signal that is routed to the PC/104 Interrupt.
  • Page 36: Rx Eom Level Register (Offset: 0X06)

    Connect Tech - Xtreme/Multi-I/O - Users Guide RX EOM Level Register (Offset: 0x06) As described in the Receiver section above, this register sets the number of Bus Idle intervals that are desired to cause an RX EOM interrupt. Control Item...
  • Page 37: User-Ta Register (Offset: 0X08)

    Connect Tech - Xtreme/Multi-I/O - Users Guide User-Ta Register (Offset: 0x08) Normally the transmission of bytes does not begin until a specific number of J1708 Bus Idle periods have occurred (controlled by the TX Priority register setting). Under special circumstances it may be appropriate to use this register to override the normal “priority/random”...
  • Page 38: Io Connector & Jumper Locations

    Connect Tech - Xtreme/Multi-I/O - Users Guide IO Connector & Jumper Locations Document: CTIM-00116 Page 38 of 50 Date: Apr. 14, 2015 Revision: 0.02 Connect Tech Inc. Proprietary Information 0.02...
  • Page 39: Serial Port-8 To Module Gpio Configuration

    Connect Tech - Xtreme/Multi-I/O - Users Guide Serial Port-8 to Module GPIO Configuration When Uart Serial Port-8 is routed to the Socket Module-2 (see the “Serial Ports Enable / Disable” section), the TXD and RXD signals from the serial port are routed through zero ohm resistors to 3 of the GPIO pins on the...
  • Page 40: Fpga Configuration Registers Via Spi

    Connect Tech - Xtreme/Multi-I/O - Users Guide FPGA Configuration Registers via SPI This information is mostly intended for developers of PIC32 software for the hardware of this board. The configuration information is transferred from the PIC32 microcontroller to the FPGA via an SPI Bus interface.
  • Page 41: Fpga Configuration Registers

    Connect Tech - Xtreme/Multi-I/O - Users Guide FPGA Configuration Registers The “Configuration” registers are accessed via an SPI operation that either sets (writes) the contents of a register, or retrieves (reads) its contents. One 32 bit word is sent to the FPGA which controls the operation to be performed. It is encoded as follows…...
  • Page 42 Connect Tech - Xtreme/Multi-I/O - Users Guide The Configuration Registers establish the following settings.  Enable/Disable any given Port.  PC/104 Base IO or Memory Address setting for each Port.  IRQ assignment for each Port on the board. ...
  • Page 43: Port_Config[N] (Reg 0  10)

    Connect Tech - Xtreme/Multi-I/O - Users Guide PORT_CONFIG[N] (Reg 0  10) These registers establish whether a Port is enabled and where in the Memory or IO space it will be decoded. Power-up default values for these registers implements the following default settings: ...
  • Page 44 Connect Tech - Xtreme/Multi-I/O - Users Guide 1.1.1.1 Address Bit Comparisons Address Selection bits, from the PORT_CONFIG[N] registers, are compared to PC/104 Bus address bits in order to “select” a given port. This comparison is different depending on the mode (IO or Memory) selected for the Port. Also, each port has different decoding widths due to the nature of the control device that is selected.
  • Page 45 Connect Tech - Xtreme/Multi-I/O - Users Guide 1.1.2 BOARD_CONFIG (Reg 11) This register establishes the IO address setting for the Board Control/Status Registers. This Port is always located in IO space and is always enabled, and has a power-up default of 0x3FE.
  • Page 46: Irq_Config[N] (Reg 12  16)

    Connect Tech - Xtreme/Multi-I/O - Users Guide IRQ_CONFIG[N] (Reg 12  16) These registers establish the PC/104 Bus IRQ (Interrupt Request) assignment for each of the Ports (or Port Groups in the case of the Uart Ports). Power-up default value for these registers establishes the following default settings (although all ports are disabled): ...
  • Page 47: Mem_Config (Reg 17)

    Connect Tech - Xtreme/Multi-I/O - Users Guide MEM_CONFIG (Reg 17) This register is a collection of Memory, IO and CAN decoding options. Power-up default value for this registers implements these default settings:  CAN decoding set to “Pelican”  IO decoding is 12 bits wide (0x000 to 0xFFF).
  • Page 48 Connect Tech - Xtreme/Multi-I/O - Users Guide 1.1.2.2.1 Common Memory Locations MEM_REGION PC/104 Address Bit value Memory Address 23 22 21 20 19 18 17 16 0x0C0000 0x0C 0x0D0000 0x0D 0xF90000 0xF9 Document: CTIM-00116 Page 48 of 50 Date: Apr. 14, 2015 Revision: 0.02...
  • Page 49: Misc_Config (Reg 18)

    Connect Tech - Xtreme/Multi-I/O - Users Guide MISC_CONFIG (Reg 18) This register is a collection of configuration settings that affect Power-up default value for this register (all bits zero) implements these default settings:  Port #8 is routed to microcontroller.
  • Page 50: Fpga_Version (Reg 19)

    Connect Tech - Xtreme/Multi-I/O - Users Guide FPGA_VERSION (Reg 19) This is a read-only register, that provides version information. Control Item Comment(s) Offset 15  8 Ignored on a Write, Read as zero’s Not Used 7  0 Version letter (ASCII value of a alphabetic character) ‘A’, ‘B’, ‘C’, etc.

This manual is also suitable for:

Xtreme

Table of Contents