Condition:New
Type:Logic ICs
CANCore-I/II
Industrial grade CANmodule
UserManual
Ver.:V3.02 (2016/10/22)
Contents
1.Introduction 3
1.1FunctionalOverview 3
1.2PropertiesataGlance 3
1.3Typicalapplication 4
2.Installation 5
2.1Outlinesize 5
2.2Driverandsoftwareinstallation 6
2.3ConnecttoPC 6
2.4ConnecttoCAN 6
3.Moduleuse 7
3.1ConnecttoUSB 7
3.2ConnecttoCAN 7
3.3CAN-Busterminalresistance 8
3.4SystemLED 8
4.ECANToolsintroduction 9
4.1Start 9
4.2Transmit/Receivedata 9
4.3CAN-Busdiagnosisfunction 10
4.4Relay&Offline 10
4.5Otherfunctions 11
5.Secondarydevelopment 13
6.TechnicalSpecifications 14
Appendix:CAN2.0Bframeformat 15
Salesandservice 17
1.Introduction
1.1FunctionalOverview
CANCore is one of our embedded modular products. It is a compact and embedded intelligent CAN module. Users can use this module to turn the equipment that does not have CAN communication interface into a CAN node and quickly access the CAN-Bus.
The CAN module integrates 1 or 2×CAN-Bus, 16×I/O, 2×PWM, 2×A/D, 1×UART, 1×USB. Users can easily integrate CANCore into their own systems and expand a considerable range of functions with the use of these interfaces provided by CANCore.
Figure 1.1 CANCore bluetooth backplane and test backplane
If the user connects CANCore by using the USB interface to CAN-Bus, We will provide users with ECAN Tools upper computer debugging software. The software can perform the functions of transmitting and receiving CAN-Bus messages, saving and analysing data.
CANCore supports secondary development for the different needs of different users. Users can develop their own software to connect with CANCore. This module supports customization and supports OEM.
1.2Properties at aGlance
lIntegrated 1 or 2×CAN-Bus, 16×I/O, 2×PWM, 2×A/D, 1×UART,1×USB
lThe USB interface conforms to the USB2.0 specification, compatible with USB1.1
lCAN-Bus supports CAN2.0A and CAN2.0B frame format, conforms to ISO/DIS 11898standards
lCAN-Bus baud rates range from 5Kbps to1Mbps
lPower supply: DC+5V,130mA
lGalvanic isolation on the CAN connection up to 1500V
lDevice driver and software support Windows2000/2003/XP/7/8/10
lExtended operating temperature range from -40 to 85°C
lSize:(L)50mm * (W)30mm *(H)10mm
1.3Typicalapplication
Please note: Additional customizations are required in this section.
lA/D converter. With A/D processing, analog values can transmit through the CANbus.
lUSB to CAN interface card. Through the upper computer software, user can send the data to the CAN bus with USB interface through theCANCore.
lSerial port to CAN/CANopen. 232/485 interface motor access to CAN bus through CANCore to connect control panel.
lPWM controller with CAN-Bus control. The CAN-Bus data is input to the CANCore and uses the PWM output to control the associateddevice.
lCAN trigger. CAN bus data can control the I/O output level to trigger by lower computer.
lCAN repeater /CAN Bridge. It can be used to connect two different baud rates of CAN buses. The data of the CAN-Bus can be transmitted to the USB and displayed on the upper computer.
lCANopen master / slave module. CANCore can provide CANopen protocol format data output and be used as CANopen I/O module.
lCAN converts to CANopen, J1939 converts to CANopen. It can be used to convert CAN-Bus data into CANopen format to be the intelligent CAN gateway.
2.Installation
CANCore uses 2.0mm pin to connect with the test backplane.
2.1Outlinesize
Figure 2.1 CANCore module appearance
Figure 2.2 Dimension drawings ofmodule
Figure 2.3 CANCore interface definition1

Figure 2.4 CANCore interface definition2
Notes: CANCore-I has one CAN-Bus channel, only CAN1 can be used.CANCore-II has two CAN-Bus channels, both CAN1 and CAN2 can beused.
2.2Driver and softwareinstallation
If the user uses a computer USB interface to connect to CANCore, you need to install drivers and ECANTools software on thePC.
2.2.1Driver and softwareinstallation
Users can install the ECANTools software directly to complete drive and software package installation. If you need to manually install the drive, please enter the "driver" folder in the CD to select the installation file that corresponds to the system (32/64 bit) (DriverSetup.exe/DriverSetup64.exe).
2.2.2Driver and softwareuninstall
Users can run the DriverSetup.exe/ DriverSetup64.exe and click "Uninstall" button to uninstall the installed devicedriver.
2.3Connect toPC
CANCore can be connected to a PC with a USB cable directly, if the USB power supply is insufficient, you need to use external power supply.
2.4Connect toCAN
CANCore integrates 1 or 2 CAN-Bus channels, led by the 2.0mm pin. It can be used to connect 1 or 2 CAN-Bus networks. The definition of the pins are shown in Figure
2.3 and figure 2.4.
In most cases, only the CAN_H is connected to the bus CAN_H, and the CAN_L is connected to the bus CAN_L to communicate.
3.Moduleuse
3.1Connect toUSB
The USB interface of CANCore conforms to the USB2.0 full speed protocol specification. User can connect to a PC that has USB1.1 or USB2.0 or USB3.0.
CANCore can connect to the PC USB interface via the USB cable directly. The +5V power supply is supplied to the CANCore module from the PC interface of the USB, and the USB direct power supply mode is adopted.
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.
3.2Connect toCAN
USBCAN-II Pro adapter connect to CAN-Bus as chapter 2.4, CAN_H to CAN_H, CAN_L to CAN_L.
The CAN-Bus network adopts topological structure, only the two furthest terminal need to connect 120 Ω terminal resistance between CAN_H and CAN_L. For branch connection, its length should not be more than 3m. CAN-Bus nodes connection as shown in figure3.1.
Figure 3.1 CAN-Bus network
Note: the CAN-Bus cable can use ordinary 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
3.3CAN-Bus terminalresistance
In order to improving the communication reliability and eliminating CAN-bus terminal reflection, the two furthest terminal need to connect terminal resistance between CAN_H and CAN_L. Terminal resistance values determined by the characteristic impedance of the cables. Such as, the characteristic impedance is 120 Ω.
Notes: CANCore does not integrate 120 termination resistors. If you want to connect
the CAN terminal resistor, please connect it to the backplane.
3.4SystemLED
CANCore has 1 PWR indicator and 1 SYS indicator. The specific instructions of the 2 indicators are shown in table 3.2. The indicator light represents the status of the CAN bus, as shown in table3.3.
Indicator
|
Colour
|
State
|
PWR
|
Green
|
Power indicator
|
SYS
|
Green
|
System indicator
|
Table 3.2 CANCore indicator LED
When CANCore power on, PWR and SYS light, indicates the adapter has power supply, the system is initialized; otherwise, a system power failure or system errors has exist.
When USB-Bus data transfer, SYS indicator willblinking.
Indicator
|
State
|
Meaning
|
PWR
|
ON
|
Power supply normal
|
OFF
|
Power supply error
|
SYS
|
ON
|
Standby mode
|
OFF
|
Initialization error
|
Blinking
|
USB data transmission
|
Table 3.3 CANCore LEDstate
4.ECAN Toolsintroduction
Users can use ECAN Tools software to receive and transmit CAN data. Flexible use of functions can help to more with less.
4.1Start
1.
If ECAN Tools has been installed, users can directly run it on thedesktop.
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, loopback.
Normal: use this mode to transmit or receive data.
Listen: use this mode to receive data only, and don’t send response or clock. Loopback: 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 communicationfailed.
If you don’t know the baud rate, you can use “automatic identification of baud rate” function to adapt.
4.2Transmit/Receivedata
Transmitting and receiving is the basic function of ECAN Tools, in this interface, users can directly see the received CAN data, and sent the data to CAN-bus.

4.3CAN-Bus diagnosisfunction
CAN-Bus diagnosis function can detect the bus error frames and bus arbitration lost.
CAN bus status display: indicate the CAN bus status include: bus normal, passive error, active error, bus off.
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 it can catch the wrong information, such as ACK, CRC error and so on.
4.4Relay &Offline
4.4.1Relaymode
CAN relay function can connect two CAN-Bus together whether they have the same
baud rate, the data flow can be seen in computer. This function can be used to see the two nodes of data flow, which data is from which node, it can be used to crack communication protocol between two nodes.
4.4.2Offlinemode
Users can create an instructions in notepad (.txt) and download it to the adapter, after that the adapter can into offline mode and do as the instructions each time the adapter power up. Instructions such as: transmit, delay, triggering, receiving modified send and so on. This function can easily achieve automatic control and can be used in the production line test, crack communication protocol and so on, even though users can not secondary development.
Example:
10,1,40000000,0000,144,0,8,01 02 03 04 05 06 07 08,100,500
Means:
power up wait 10ms,
initialize the CAN1 channel to transmit and receive data, don't set the trigger,
don't replace ID and data, transmit CAN ID 144, standard,
data length eight,
data 01 02 03 04 05 06 07 08,
send times 100 times, time interval 500ms.
4.5Otherfunctions
Save data: save the receiving list, save format: txt, can, csv and binary.
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.Secondarydevelopment
We will provide interface, example and library for secondary development customers. Dll and library named: “ECANVCI.h”, “ECANVCI.lib”, “ECANVCI.dll”.
These libraries standards compliant, users can use these in VC, VB and some other programming environment, to use these libraries, please see “ECAN dynamic library manual”and Figure 5.1.
Figure 5.1 Secondary development function call process
6.TechnicalSpecifications
Connection
|
PC
CAN
|
2.0mm pin or self wiring
|
Interface characteristics
|
USB interface
|
USB 1.1, USB2.0, USB3.0
|
CAN interface
|
ISO 11898 standard, CAN2.0A/B
|
CAN baud rate
|
1000K, 500K, 250K, 200K, 125K, 100K, 50K,
20K, 10K, 5K
|
Electrical
isolation
|
1500V,DC-DC
|
CAN termination
resistors
|
None. You can add it between CAN_H and
CAN_L if you need it.
|
Power
|
Voltage
|
+5V DC
|
Current
|
130mA (Max)
|
Environment
|
Temperature
|
-40℃~+85℃
|
Humidness
|
15%~90%RH, without condensation
|
EMC test
|
EN55024:2011-09
EN55022:2011-12
|
IP grade
|
IP 20
|
Basic
|
Size
|
50mm *30mm *10mm
|
Weight
|
10g
|
Appendix: CAN2.0B frame format
CAN2.0B standard frame
CAN standard frame format is 11 bytes, including two parts: information and data. The first 3 bytes for information.
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.
CAN2.0B extended frame
CAN extended frame format is 13 bytes, including two parts: information and data. The first 5 bytes for information.
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.