USB-CAN-FD
| ||
| ||
Introduction
The USB-CAN-FD is an industrial-grade high-performance USB to CAN FD adapter, CAN/CAN-FD bus communication interface card, and CAN/CAN-FD protocol data analyzer. Onboard dual independent CAN FD interfaces with electrical isolation and multiple protection circuits. Supports Windows XP/7/8/10/11 system, comes with drivers, CAN FD Tools related software, secondary development examples, and tutorials.
It can be connected to the PC or industrial control host via a USB port to realize transceiver control, data analysis, collection, and monitoring of the CAN/CAN FD bus network. It is compact in size and easy to use, which can be used for learning and debugging of CAN/CAN FD bus, as well as for secondary development and integration into various industrial, power communication, and intelligent control applications that require CAN/CAN FD bus communication.
Specifications
Model | USB-CAN-FD-B | USB-CAN-FD | ||
---|---|---|---|---|
Product Type | Industrial Grade | USB to CAN Interface Converter / CAN-bus Communication Card/ CAN Protocol Data Analyer | Industrial Grade: USB to CAN FD interface converter, CAN/CAN FD bus communication card, CAN/CAN FD protocol data analyzer | |
USB Port | Working Voltage | 5V (Directly powered via USB port, no additional power supply required) | ||
Interface Form | USB-B Port | |||
CAN/CAN FD Interface | CAN/CAN FD Channels | Dual channels: CAN1 and CAN2 (Independent of each other, do not affect each other, full isolation, isolation voltage 3000V DC) | ||
Interface Form | Terminal interface (OPEN6/KF2EDG-6P, 5.08mm pitch) | |||
Matching Resistor | Each CAN/CAN FD channel has two built-in 120Ω terminal resistors, which can be enabled by switch | |||
Baudrate | 10Kbps~1Mbps | 100Kbps~5Mbps | ||
Protocol Support | CAN2.0A and 2.0B, CANOpen, SAE J1939, DeviceNet, iCAN, ISO 15765 protocol | CAN2.0A and 2.0B, ISO 11898-1 CAN FD Protocol V.1.0 | ||
Transfer Speed | The receiving and sending speed of each CAN channel can reach 8500 frames/s | The receiving and sending speed of each CAN/CAN FD channel can reach 20000 frames/s and 5000 frames/s | ||
Transmit Buffer | 2000 frames receiving buffer and 1000 frames sending buffer per channel (automatically retransmit when the transmission fails) | 1500 frames receiving buffer and 64 frames sending buffer per channel (automatically retransmit when the transmission fails) | ||
Indicator | PWR | Power Indicator | ||
SYS | System status indicator, normally off; keeps on when there is an error | |||
CAN1 | CAN1 channel indicator (blinking when sending and receiving data) | |||
CAN2 | CAN2 channel indicator (blinking when sending and receiving data) | |||
System Support | Windows | Windows XP/7/8/10/11 (32-bit and 64-bit) | ||
Linux | Raspberry Pi OS, Ubuntu (Jetson Nano), VMware virtual machines, etc. | Does not support Linux | ||
Operating Temperature | -40~85℃ | |||
Case Material | Aluminum alloy case + 3D flame-retardant insulating sheets on both sides provide better protection against metal tip discharge, improve product safety, and extend service life | |||
Dimensions | 104 × 70 × 25 (Unit: mm) |
Windows Tutorial
Install Driver
Use the USB cable to properly connect the USB-CAN-FD Smart Interface Module to the PC. Once the hardware is detected, Windows will automatically run the installation wizard called "Discover New Hardware". Download Windows Driver.
- Click Next to continue
- Click Install
- Click Next
- Complete installation
- After successful installation, you will see the WinUSB Device in the Device Manager
USB-CAN-FD Tool Software
Download & Install
- Choose the language according to your habits, here is an example of English
- Select the default option, and click Next
- It is recommended to check the box to create a desktop icon and continue to click Next
- Click Install
- After completion, continue to click Next
- After completing the installation, CANFDToolPro will appear on the desktop and in the applications
How to Use
Connect the USB port of the device to the USB port of the PC via the USB cable. Run USB-CAN-FD_TOOL.exe, the following is the description of common functions.
1. Device Management
Select Device Manage(O) -> Open Device to open the device management interface. Here you can open the device, start and stop the channel, set parameters, and other related operations.
- Click Device Information to view software and hardware version information of the current device.
- When starting the channel, the parameter setting interface is as follows. You can select the working mode, CANFD standard, arbitration baud rate, data baud rate, and so on.
- The filter settings are shown below. Note that up to 64 filter groups can be set for standard frames and up to 32 filter groups can be set for extended frames.
2. Display Function
2.1 Save in Real Time
- The default save format is csv, if you want to save as txt format, then directly enter the .txt suffix.
2.2 Pause Display
- When receiving data, you can check Pause display for the convenience of viewing the data (at this time, the data is still being received, just not displayed in the current interface). Uncheck the box and the data will continue to be displayed.
2.3 Transmission Counts
- At the bottom of the software, the total number of receipts and transmissions as well as the real-time frame rate of receipts and transmissions for the 2 channels are counted. Press the Clear button to clear the count.
2.4 Display Buffer
- Display Buffer indicates the maximum number of frames that can be displayed in the current interface, the default value is 1000.
2.5 View the Data
- When the data is too long (e.g. 64 bytes), the interface can not display a complete frame of data, put the mouse to the following position, when it becomes a two-way symbol, double-click, and you can expand all the data content, drag the horizontal scroll bar below to view the data.
3. Filter Function
- In the data display box, all the displayed items can be filtered conditionally. Right-click to select the item to be filtered, and the filtering menu will pop up, click on Filter to pop up all the contents of the item that can be filtered; click on Show All to cancel the filter conditions.
- The filter options will list all different values, and you can check one or more filter conditions.
- Items that have been set up with filter conditions will be prompted with a *, such as ID set up with filter conditions, it will be displayed as ID*.
- All the filter conditions are "and" relationship. For example, to view data frames with ID 0x55 for channel 1, you need to set the filter conditions as follows: Channel -> Select 1, Rx/Tx -> Select Rx, ID -> Select 0x55, type -> Select data frame. As shown in the figure below:
- If you want to clear all the set filter conditions, click Clear All Filter button.
Loopback Test
The loopback test is a reliable way to view hardware function, and it's the preferred method for introductory testing. The key steps are as follows:
1. Connect the H and L of channel one to the H and L of channel two correspondingly; keep the 120-ohm resistors on both channels set to ON (if set to OFF, one channel sends data while the other channel fails to receive it), as shown in the figure below:
2. Open CANFDTool, click Device Manage(O) -> Open Device -> Start.
3. Set Data (0x) to 32, Protocol to CANFD BRS, send message 00 11 22 33 44 55 66 77 00 11 22 33 44 55 66 77 -> Receive corresponding message.
Linux Tutorial
Raspberry Pi OS
USB-CAN-FD-B can be used on mainstream 32-bit Linux motherboards, taking Raspberry Pi 4B as an example.
- Connect USB-CAN-FD-B and Raspberry Pi via USB, and connect the H and L interfaces of USB-CAB-FD-B channel one to the H and L interfaces of channel two respectively, as shown in the figure below:
- Copy the terminal command lines of the following c or python demo to Raspberry Pi Terminal to run:
c
cd ~ wget https://files.waveshare.com/wiki/USB-CAN-FD/USB-CAN-FD-B-Linux.zip unzip USB-CAN-FD-B-Linux.zip sudo chmod 777 -R USB-CAN-FD-B-Linux cd /USB-CAN-FD-B-Linux/Raspberry/c sudo make clean sudo make sudo ./hello_cpp
- After running the C demo, the results are as follows:
python
cd ~ cd /USB-CAN-FD-B-Linux/Raspberry/python3/ sudo python3 python3.8.0.py
The results of running the python demo are as follows:
Ubuntu (Jetson Nano)
c
wget https://files.waveshare.com/wiki/USB-CAN-FD/USB-CAN-FD-B-Linux.zip unzip USB-CAN-FD-B-Linux.zip sudo chmod 777 -R USB-CAN-FD-B-Linux cd /VMware/x86-c sudo make clean sudo make sudo ./hello_cpp
python
cd ~ cd /USB-CAN-FD-B-Linux/VMware/x86-python3/ sudo python3 python3.8.0.py
Linux for VMware virtual machines
c
wget https://files.waveshare.com/wiki/USB-CAN-FD/USB-CAN-FD-B-Linux.zip unzip USB-CAN-FD-B-Linux.zip sudo chmod 777 -R USB-CAN-FD-B-Linux cd USB-CAN-FD-B-Linux/VMware/x86-c/ sudo make clean sudo make sudo ./hello_cpp
python
cd ~ cd USB-CAN-FD-B-Linux/VMware/x86-python3/ sudo python3 python3.8.0.py
Resources
Windows Driver and Tool
Linux Driver Demo (Only applicable to USB-CAN-FD-B)
FAQ
{{{5}}}
- Look at the arbitration baud rate and data baud rate configuration of CAN. If the external device is an ordinary CAN, 500K, it is set to 500K. If it is CAN FD, you may need to configure the arbitration baud rate and data baud rate separately. The difference in baud rate between ordinary CAN and CAN FD is as follows:
Normal CAN:
- Arbitration baud rate: When sending data, nodes decide who has priority through an arbitration process, usually set to a unified baud rate (such as 1 Mbps).
- Data baud rate: In normal CAN, the arbitration baud rate and data baud rate are usually the same.
CAN FD:
- Arbitration baud rate: Similar to normal CAN, the arbitration baud rate is used to determine priority, usually a lower rate (such as 1 Mbps).
- Data baud rate: It can be higher than the arbitration baud rate and supports higher data transfer rates (up to 8 Mbps) to improve data transmission efficiency.
{{{5}}}
Support
Technical Support
If you need technical support or have any feedback/review, please click the Submit Now button to submit a ticket, Our support team will check and reply to you within 1 to 2 working days. Please be patient as we make every effort to help you to resolve the issue.
Working Time: 9 AM - 6 PM GMT+8 (Monday to Friday)