Ecan Pro: USB To CAN Adapter User Manual
Ecan Pro: USB To CAN Adapter User Manual
User Manual
Ver.:V3.01 (2015/04/22)
SHENYANG GUANGCHENG TECHNOLOGY CO.,LTD. ECAN Pro
Revision History:
Index
Index...............................................................................................................................3
1. Introduction................................................................................................................ 4
1.1 Functional Overview........................................................................................ 4
1.2 Properties at a Glance.......................................................................................4
1.3 Typical application........................................................................................... 4
2. Installation..................................................................................................................5
2.1 Driver and software installation....................................................................... 5
2.2 Connect to PC...................................................................................................5
2.3 Connect to CAN-Bus....................................................................................... 5
3. Adapter in use.............................................................................................................6
3.1 Connect to USB................................................................................................6
3.2 Connect to CAN............................................................................................... 6
3.3 CAN-Bus terminal resistance...........................................................................6
3.4 System LED..................................................................................................... 7
4. ECAN Tools introduction.......................................................................................... 8
4.1 Start.................................................................................................................. 8
4.2 Transmit/Receive data...................................................................................... 8
4.3 CAN-Bus diagnosis function........................................................................... 9
4.4 Statistics mode..................................................................................................9
4.5 Other functions.................................................................................................9
5. Secondary development........................................................................................... 11
6. Technical Specifications.......................................................................................... 12
Appendix: CAN2.0B frame format..............................................................................13
Sales and Service..........................................................................................................15
1. Introduction
1.1 Functional Overview
ECAN Pro adapter is a debugging or analysis tool with one CAN-Bus channel. This
adapter is development for portable use. Using this adapter, PC can easily connect to
CAN-Bus network through USB interface, and become a intelligent node of
CAN-Bus to transmit/receive CAN-Bus data.
Adapter comes with isolation, and can be used in different Windows systems. Device
driver, software and programming interfaces(VC, VB, Net, Delphi, Labview,
C++Builder) exist for different operating systems, so programs can easily access a
connected CAN bus.
2. Installation
This chapter describes how to connect the USB-CAN adapter to the computer and the
precautions when connecting the USB-CAN adapter to the computer for the first time.
2.2 Connect to PC
The adapter can be connected to a PC directly, if the USB power supply is insufficient,
you need to use external power supply.
Note: In practical use, most of the time just connected the CAN_H to CAN_H
and CAN_L connected to CAN_L then communication can be realized
User Manual Shenyang Guangcheng Technology CO.LTD.
5
SHENYANG GUANGCHENG TECHNOLOGY CO.,LTD. ECAN Pro
3. Adapter in use
3.1 Connect to USB
ECAN Pro adapter support USB 1.1, USB 2.0, USB3.0.
When driver and software have been installed, connect the adapter to the USB
interface, a new USBCAN device named "GC - Tech USBCAN Device" can be found
in the PC Device manager. If there is no “!” or ”?” mark that the device run fine.
Note: the CAN-bus cable can use twisted-pair cable, shielded twisted-pair cable.
Theory of the maximum communication distance depends on the bus baud rate,
Their relationship as shown in the Table 3.1.
Baud rate Distance
1 Mbit/s 40m
500 kbit/s 110m
250 kbit/s 240m
125 kbit/s 500m
50 kbit/s 1.3km
20 kbit/s 3.3km
10 kbit/s 6.6km
5 kbit/s 13km
Table 3.1 relationship of baud rate and distance
between CAN_H and CAN_L as shown in figure 3.2. Terminal resistance values
determined by the characteristic impedance of the cables. Such as, the characteristic
impedance is 120Ω.
Note: ECAN Pro adapter has none 120Ω terminal resistance inside(If you want,
we could integrate resistance for you).
After power on, the four lights are also lit at the same time, then PWR and SYS are
always bright, indicating that the equipment has been working and the system is
initialized.
When computer call the ECAN Pro adapter, SYS will be blinking.
When receive/transmit data on the CAN-Bus, RX and TX will be blinking.
Indicator State Meaning
ON Power supply normal
PWR
OFF Power supply error
ON Standby mode
SYS OFF Initialization error
Blinking USB data transmission
OFF CAN-Bus no data
TX / RX
Blinking CAN-Bus data transmission
Table 3.3 the status of indicator light
4.1 Start
1. If ECAN Tools has been installed, users can directly run it on the desktop.
2. Choose the device type and click "open device", one adapter will shown in the
below.
3. Choose work mode. Software provides three kinds of work mode: normal, listen,
selftest.
Normal: use this mode to transmit or receive data.
Listen: use this mode to receive data only, and don’t send response or clock.
Selftest: use this mode to test if the adapter is working well.
4. Choose baud rate according to the CAN-bus, don’t match will lead to
communication failed.
If you don’t know the baud rate, you can use “automatic identification of baud rate”
function to adapt.
CAN bus status display: indicate the CAN bus status include: bus normal, passive
error, active error、bus hung.
The CAN controller FIFO overflow: message within a certain period of time is too
dense, lead to data loss.
The CAN controller error alarm: when many of errors on the bus, error counter
exceeds the alarm threshold, and display the error count.
The CAN controller negative error: when many of send or receive errors, lead to
the CAN controller into the negative state, and display the error count.
CAN bus controller error: when nodes send or receive errors, error counter value
will be accumulate, and can catch the wrong information, such as ACK, CRC error
and so on.
Save data: save the receiving list, save format: txt, can, csv and binary.
User Manual Shenyang Guangcheng Technology CO.LTD.
9
SHENYANG GUANGCHENG TECHNOLOGY CO.,LTD. ECAN Pro
Display mode: scroll mode and list mode, list mode can classified data together
according to the rules.
Filter settings: users can set multi-stage filtering by editing the filter ID.
Data mask: masked ID is not displayed.
Error frames: error frames on the bus can be displayed / hidden.
If you want to know more about the software specific function and usage, please
see the “ECAN Tools software instructions” document.
5. Secondary development
Provide standard interface function library: ECANVCI.h, ECANVCI.lib,
ECANVCI.dll.
Provide some routine in VC, VB, labview, C#, cb6, delphi7, Double channels C#,
labwindows, Matlab and VBNET.
Please see the "USBCAN Interface Function Library Instruction Manual" in details.
Figure 5.1 The common structure name and function library call processing
6. Technical Specifications
Connection
PC USB, type A
CAN DB9
Interface
USB USB2.0 full speed, USB 1.1, USB3.0
CAN ISO 11898 standard, support CAN2.0A/B
CAN baud rate 5Kbit/s~1Mbit/s
Isolation 1500V, DC-DC
CAN terminal resister Not integrated, deponding on need
Power
Voltage +5V DC (USB port)
Current 130mA (Max)
Environment
Temperature -40℃~+85℃
Humidness 15%~90%RH, without condensation
EMC test EN 55024:2011-09
EN 55022:2011-12
IP grade IP 20
Basic
Dimension 55mm * 35mm * 14mm, wire 0.9m.
Weight 150g
Byte 1 for the frame information. Seventh (FF) means the frame format, in the
standard frame, FF = 0; Sixth (RTR) means the type of frame, RTR = 0 means for the
data frame, RTR = 1 for remote frame; DLC means the length of the data.
Byte 2, 3 for the message identifier.
Bytes 4~11 for the data of the data frame, remote frame is invalid.
Byte 1 for the frame information. Seventh (FF) means the frame format, in the
standard frame, FF = 0; Sixth (RTR) means the type of frame, RTR = 0 means for the
data frame, RTR = 1 for remote frame; DLC means the length of the data.
Byte 2~5 for the message identifier.
Bytes 4~11 for the data of the data frame, remote frame is invalid.
QQ: 2881884580
E-mail: seven.gcan@gmail.com
Website: www1.gcanbox.com