Difference between revisions of "TEL-SERX4 technical documentation"

From fit-PC wiki
Jump to: navigation, search
(Created page with "== Compulab part number == '''FT.H-SER4''' == Description == TEL-SERDB9 Provides USB to Multiprotocol(RS-232, RS-485-Half Duplex, RS485-Full Duplex) serial connection (up to...")   (change visibility)
 
(Description)   (change visibility)
 
(24 intermediate revisions by 2 users not shown)
Line 3: Line 3:
  
 
== Description ==  
 
== Description ==  
TEL-SERDB9 Provides USB to Multiprotocol(RS-232, RS-485-Half Duplex, RS485-Full Duplex) serial connection (up to 4 Ports per TEL).
+
TEL-SERX4 Provides USB to Multiprotocol(RS-232, RS-485-Half Duplex, RS485-Full Duplex) serial connection (up to 4 Ports per TEL).
  
* Single CAN device
+
* Simple USB Connection protocol
* Supports CAN 2.0A Specifications
+
* Supports Multiprotocol implementation on one DB9 Connector.  
* Supports ISO 11898-2
+
* Individually enabled between RS-232 or RS485 ports. 
* Up too 1Mbit/s bit rate
+
* Build-in Termination resistor.
 +
* Protocol switching using Onboard switches or using I2C expander
  
TEL-CANBUS is utilizing a USB2 interface
+
 
Multiple TEL-CANBUS cards can be installed in a system
+
                       
 +
USB <--> USB HUB <---> RS-232 / RS-485 (Port A) - Native DB-9 Port
 +
                        RS-232 / RS-485 (Port B)
 +
                        RS-232 / RS-485 (Port C)
 +
                        RS-232 / RS-485 (Port D)
 +
 
 +
RS-485 - Globally enable Termination resistor. - User Switchable
 +
        - Globally Switched Between Half Duplex and Full-Duplex mode. - User Switchable
 +
 
 +
 
 +
TEL-SERX4 is utilizing a USB2 interface
 +
Multiple TEL-SERX4 cards can be installed in a system
  
 
== Features ==
 
== Features ==
* CANbus through DB-9 Connector
+
* Serial through DB-9 Connector
* Implemented using STM32F042C6 MCU
+
* Implemented using FTDI FT4232H
 
=== Software ===
 
=== Software ===
 
* Windows and Linux support
 
* Windows and Linux support
** Driverless operation in Windows  
+
** Driverless operation in Windows & Linux
 
** USB native device in Linux
 
** USB native device in Linux
 
=== Electrical and environmental ===
 
=== Electrical and environmental ===
* Isolation per [https://standardscatalog.ul.com/standards/en/standard_1577_5 UL 1577]
+
 
* Transient immunity: 30kV/uS.
+
* Isolated DC 5V power
+
 
* Ambient Operation from –40°C to 85°C.
 
* Ambient Operation from –40°C to 85°C.
  
 
=== Configuration ===
 
=== Configuration ===
* Two Code implementations in one device switchable by a DIP Switch.
+
* Two Configuration method of the device
* Default [https://github.com/linklayer/cantact-fw CANable ] USB CDC implementation & [https://github.com/candle-usb/candleLight_fw candleLight] USB device implemintation.
+
** Onboard switches
* DIP switch for enabling/disabling on-board 120 Ohm termination
+
  SW1 - PORTA: ON->RS-232 OFF->RS-485 - Native on board Port
* Upgradeable using build-in MCU bootloader and openly available tools. (Please follow update guide in [https://github.com/Compulab-Tensor-PC/TEL-CANBUS/blob/master/README.md#firmware-update GitHub])
+
  SW2 - PORTB: ON->RS-232 OFF->RS-485
 +
  SW3 - PORTC: ON->RS-232 OFF->RS-485
 +
  SW4 - PORTD: ON->RS-232 OFF->RS-485
 +
 
 +
  SW7 - ON->RS-485 Half Duplex OFF->RS-485 Full-Duplex      - Port A-D
 +
  SW5 - ON->Enables Termination resistor RS-485-Half Duplex - Port A-D
 +
  SW6 - ON->Enables Termination Resistor RS-485-Full Duplex - Port A-D
 +
 
 +
** I2C GPIO expander(PCA9555) that is located on I2C address 0X27.
 +
  I/O,0.0 -- Port A: High: RS-232, Low: RS-485
 +
  I/O,0.1 -- Port B: High: RS-232, Low: RS-485
 +
  I/O,0.2 -- Port C: High: RS-232, Low: RS-485
 +
  I/O,0.3 -- Port D: High: RS-232, Low: RS-485
 +
  I/O,0.4 -- NC
 +
  I/O,0.5 -- NC
 +
  I/O,0.6 -- NC
 +
  I/O,0.7 -- Global: High RS-485 Half Duplex, Low: RS-485 Full Duplex
 +
 
 +
  I/O,1.0 -- Port A: High RS-485 Termination enabled on Half Duplex Lines
 +
  I/O,1.1 -- Port B: High RS-485 Termination enabled on Half Duplex Lines
 +
  I/O,1.2 -- Port C: High RS-485 Termination enabled on Half Duplex Lines
 +
  I/O,1.3 -- Port D: High RS-485 Termination enabled on Half Duplex Lines
 +
  I/O,1.4 -- Port A: High RS-485 Termination enabled on Full-Duplex Lines
 +
  I/O,1.5 -- Port B: High RS-485 Termination enabled on Full-Duplex Lines
 +
  I/O,1.6 -- Port C: High RS-485 Termination enabled on Full-Duplex Lines
 +
  I/O,1.7 -- Port D: High RS-485 Termination enabled on Full-Duplex Lines
  
 
=== Open source hardware and software ===
 
=== Open source hardware and software ===
 
* Complete hardware design files are available
 
* Complete hardware design files are available
 
* Complete firmware is available
 
* Complete firmware is available
* Designed for Hacking - Easily scriptable [https://python-can.readthedocs.io/en/master/ Python SW library] for easy and cross-platform communication to the device
 
  
 
== Connection requirements ==
 
== Connection requirements ==
 +
=== Pinout ===
 +
{|
 +
|-
 +
| [[File:TEL-SERDB9_DB9_pinout_diagram.png|thumb|none|600px | DB-9 Pinout]]
 +
| [[File:TEL-SERDB9_DB9_Switch_board location.png|thumb|none|273px | Switch Location Diagram]]
 +
|}
 +
 
=== Host interface ===
 
=== Host interface ===
 
USB2
 
USB2
Line 46: Line 87:
  
 
== Version information ==
 
== Version information ==
Latest HW Version Rev 1.0
+
Latest HW Version Rev 1.1
  
 
==Block diagram==
 
==Block diagram==
 
[[File:TEL-CANBUS_Rev.1.0_block_Diagram.jpg|200px]]
 
  
 
== Mechanical model ==
 
== Mechanical model ==
Line 60: Line 99:
  
 
== Software source files ==
 
== Software source files ==
 
 
  ToDo add files
 
  ToDo add files
* [https://github.com/Compulab-Tensor-PC/TEL-CANBUS Firmware source files on GitHub]
+
 
 +
Example script for controlling I2C ??

Latest revision as of 15:00, 15 November 2020

Compulab part number

FT.H-SER4

Description

TEL-SERX4 Provides USB to Multiprotocol(RS-232, RS-485-Half Duplex, RS485-Full Duplex) serial connection (up to 4 Ports per TEL).

  • Simple USB Connection protocol
  • Supports Multiprotocol implementation on one DB9 Connector.
  • Individually enabled between RS-232 or RS485 ports.
  • Build-in Termination resistor.
  • Protocol switching using Onboard switches or using I2C expander


USB <--> USB HUB <---> RS-232 / RS-485 (Port A) - Native DB-9 Port
                       RS-232 / RS-485 (Port B) 
                       RS-232 / RS-485 (Port C) 
                       RS-232 / RS-485 (Port D)
RS-485 - Globally enable Termination resistor. - User Switchable
       - Globally Switched Between Half Duplex and Full-Duplex mode. - User Switchable


TEL-SERX4 is utilizing a USB2 interface Multiple TEL-SERX4 cards can be installed in a system

Features

  • Serial through DB-9 Connector
  • Implemented using FTDI FT4232H

Software

  • Windows and Linux support
    • Driverless operation in Windows & Linux
    • USB native device in Linux

Electrical and environmental

  • Ambient Operation from –40°C to 85°C.

Configuration

  • Two Configuration method of the device
    • Onboard switches
  SW1 - PORTA: ON->RS-232 OFF->RS-485 - Native on board Port
  SW2 - PORTB: ON->RS-232 OFF->RS-485
  SW3 - PORTC: ON->RS-232 OFF->RS-485
  SW4 - PORTD: ON->RS-232 OFF->RS-485
  
  SW7 - ON->RS-485 Half Duplex OFF->RS-485 Full-Duplex      - Port A-D
  SW5 - ON->Enables Termination resistor RS-485-Half Duplex - Port A-D
  SW6 - ON->Enables Termination Resistor RS-485-Full Duplex - Port A-D 
    • I2C GPIO expander(PCA9555) that is located on I2C address 0X27.
  I/O,0.0 -- Port A: High: RS-232, Low: RS-485
  I/O,0.1 -- Port B: High: RS-232, Low: RS-485
  I/O,0.2 -- Port C: High: RS-232, Low: RS-485
  I/O,0.3 -- Port D: High: RS-232, Low: RS-485
  I/O,0.4 -- NC
  I/O,0.5 -- NC
  I/O,0.6 -- NC
  I/O,0.7 -- Global: High RS-485 Half Duplex, Low: RS-485 Full Duplex
  I/O,1.0 -- Port A: High RS-485 Termination enabled on Half Duplex Lines
  I/O,1.1 -- Port B: High RS-485 Termination enabled on Half Duplex Lines 
  I/O,1.2 -- Port C: High RS-485 Termination enabled on Half Duplex Lines 
  I/O,1.3 -- Port D: High RS-485 Termination enabled on Half Duplex Lines 
  I/O,1.4 -- Port A: High RS-485 Termination enabled on Full-Duplex Lines 
  I/O,1.5 -- Port B: High RS-485 Termination enabled on Full-Duplex Lines 
  I/O,1.6 -- Port C: High RS-485 Termination enabled on Full-Duplex Lines 
  I/O,1.7 -- Port D: High RS-485 Termination enabled on Full-Duplex Lines

Open source hardware and software

  • Complete hardware design files are available
  • Complete firmware is available

Connection requirements

Pinout

DB-9 Pinout
Switch Location Diagram

Host interface

USB2

Physical connection

or

Version information

Latest HW Version Rev 1.1

Block diagram

Mechanical model

ToDo: Add 3D model

Hardware design files

ToDo: Add Gerbers 
ToDo: Add Schematics

Software source files

ToDo add files

Example script for controlling I2C ??