Difference between revisions of "USB-CAN-FD"

From Waveshare Wiki
Jump to: navigation, search
 
Line 170: Line 170:
 
*[https://files.waveshare.com/wiki/USB-CAN-FD/Driver/driver_en.zip USB-CAN-B/FD Windows Driver]
 
*[https://files.waveshare.com/wiki/USB-CAN-FD/Driver/driver_en.zip USB-CAN-B/FD Windows Driver]
 
*[https://files.waveshare.com/wiki/USB-CAN-FD/tool/USB_CANFD%20TOOLSetup(V1.16).exe.zip USB-CAN-FD Debugging Tool]
 
*[https://files.waveshare.com/wiki/USB-CAN-FD/tool/USB_CANFD%20TOOLSetup(V1.16).exe.zip USB-CAN-FD Debugging Tool]
 +
*[https://files.waveshare.com/wiki/USB-CAN-FD/USB-CAN-FD%20Secondary%20development%20sample%20source%20code.zip Secondary Development Resource]
 +
 
==Demo==
 
==Demo==
 
*[https://files.waveshare.com/wiki/USB-CAN-FD/Demo/USB-CAN-FD-python-demo.zip Sample demo]
 
*[https://files.waveshare.com/wiki/USB-CAN-FD/Demo/USB-CAN-FD-python-demo.zip Sample demo]

Latest revision as of 05:59, 1 April 2024

USB-CAN-FD
USB-CAN-FD.png

USB To CAN/CAN FD
CAN/CAN FD
{{{name2}}}

{{{name3}}}

{{{name4}}}

{{{name5}}}

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.

Specification

Model USB-CAN-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 serial bus communication interface 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 Screw Terminal (OPEN6 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 (Configurable via software) 100Kbps~5Mbps (Configurable via software)
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/CAN FD 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 a bus 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 bits and 64 bits)
Linux Linux systems such as Raspberry Pi OS, Ubuntu (Jetson Nano), VMware virtual machines, etc. Does Not support the Linux system now, and the related drivers are under development.
Operating Temperature -40~85℃
Case Material Aluminum alloy case + 3D flame-retardant insulating sheets on both sides (This design can provide better protection against metal tip discharge, improve product safety, and extend service life.)
Dimensions 104 × 70 × 25 mm

Windows PC User Guide

Use the USB cable to properly connect the USB-CAN-B 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;

USB-CAN-B Tool Software

Download & Install

  • Choose your language according to your habits, here is an example of English:

USB-CAN-FD Tool01.png

  • Select the default option, and click "Next".

USB-CAN-FD Tool02.png

  • It is recommended to check the box to create a desktop shortcut and continue to "Next".

USB-CAN-FD Tool03.png

  • Directly click "Install".

USB-CAN-FD Tool04.png

  • After installation, continue to click "Next".

USB-CAN-FD Tool05.png

  • After completing the installation, CANFDToolPro will appear on the desktop and in the applications.

USB-CAN-FD Tool06.png

User Guide

If the communication is abnormal, place the two 120Ω terminal resistors of CAN1/CAN2 in ON.

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

The software "Device Manage(O)" -> "Open Device" can open the device management interface. Here you can open the device, start and stop the channel, set parameters, and other related operations.
USB-CAN-FD Dev01.png

  • Click "Device Information" to view the current device hardware version information.

USB-CAN-FD Dev02.png

  • 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.

USB-CAN-FD Dev03.png

  • 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.

USB-CAN-FD Dev04.png

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.

USB-CAN-FD Dev05.png

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.

USB-CAN-FD Dev06.png

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 "Reset Count" button to clear the count.

USB-CAN-FD De07.png

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.

USB-CAN-FD Dev07.png

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.

USB-CAN-FD Dev09.png

2.6 Filter Functions
  • In the data display box, all the displayed items can be filtered. Filtering 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 change of the filter conditions.

USB-CAN-FD Dev109.png

  • The filter options will list all different values, and you can check one or more.

USB-CAN-FD Dev111.png

  • Items that have been set up with filtering conditions will be prompted with a *, such as "ID" set up with filtering conditions, it will be displayed as "ID*".

USB-CAN-FD Dev112.png

  • All the filter conditions are "and" relationship. For example, to view "Data frame with ID 0x55 for channel 1", you need to set the filter conditions as follows: Channel -> Select 1, Receive/Transmit -> Select Rx, ID -> Select 0x55, Type -> Select Data Frame. As shown in the figure below:

USB-CAN-FD Dev113.png

  • If you want to clear all the set filters, click the "Delete all filters" 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 and the H and L of channel two correspondingly; keep the 120-ohm resistors on both channels set to ON (if set to OFF, data transmission will not return), as shown in the diagram below:
USB-CAN-FD test00.png
USB-CAN-FD test01.png
2. Open "CANFDTool", click "Device Manage(O)" -> "Open Device" -> "Start".
USB-CAN-FD test02.png
3. Set data to 32, CANFD acceleration mode, send message "00 11 22 33 44 55 66 77 00 11 22 33 44 55 66 77" -> Receive corresponding message.
USB-CAN-FD test03.png

Resource

Software

Demo

FAQ

 Answer:
Only open a 120Ω switch for one channel, so a 120Ω resistor is connected in series between H and L, and then another switch is connected, which means a 120Ω resistor is connected in parallel, so the resistance between H and L is 60Ω
{{{3}}}
{{{4}}}

{{{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)