Advertisement

Quick Links

CANFDBridge Smart
CAN(FD)-BUS Communication Products
Bridge
User Manual
UM01010101 V1.03
Date: 2021/06/03
Product User Manual
Category
Contents
Keywords
CANFDBridge CANFD-bus bridge
Description
Introduction to CANFD Smart Bridge
©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.

Advertisement

Table of Contents
loading

Summary of Contents for ZLG CANFDBridge Smart

  • Page 1 CANFDBridge Smart CAN(FD)-BUS Communication Products Bridge User Manual UM01010101 V1.03 Date: 2021/06/03 Product User Manual Category Contents Keywords CANFDBridge CANFD-bus bridge Description Introduction to CANFD Smart Bridge ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 2 Updated the document header and footer and "Sales and Service Network" V1.01 2019 content, and added the "Disclaimer" content September V1.02 Added the product installation dimension drawing 14, 2018 V1.03 June 3, 2021 CAN(FD) baud rate range description ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 3: Table Of Contents

    4.4 Device Status Acquisition and Reporting ............. 32 4.4.1 Obtaining the Device CAN Interface Error Count ........33 4.4.2 Real-time reporting of device status ............33 5. Firmware Upgrade ..................35 6. Disclaimer ....................36 ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 4: Functions

    The processing priority is: grouping and unpacking > frame mapping > basic forwarding;  After forwarding fails, return the specified frame to tell the sender that the forwarding failed;  In the case of relaying, the CAN single-channel standard frame rate can reach 6,000 ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 5: Typical Applications

     Can be used in environments with safety and explosion-proof requirements;  Operating temperature: -40℃ to +85℃; Operating power: less than 2 W; 1.3 Typical Applications  Coal mine telecommunication;  Industrial site control;  Remote monitoring and data collection;  Electrical communication; ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 6: Hardware

    High-performance Four-channel CANFD Bus-to-Ethernet Converter User Manual User Manual 2. Hardware 2.1 Appearance and Installation Dimensions Figure 2.1 and Figure 2.2 show the appearance and installation dimensions. Figure 2.1 CANFDBridge appearance (without mounting ears) ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 7: Power Supply And Usb Interface

    Pin definitions Pin description 1: GND Power input negative OPEN3 2: EARTH Ground 3: 9V-48V Power input positive 2.3 CAN(FD) Communication Interface CANFDBridge has two CAN(FD)-bus interfaces. Table 2.2 lists the interface pin definitions. ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 8: Indicators

    Green normally on The USB driver has been installed, and the USB USB indicator light cable has been connected Green flashing The USB is communicating with the device Flash in red USB and device communication error ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 9: Can Bus Connection

    Figure 2.3 shows the high-speed CAN network topology. The device has a built-in 120 ohm terminal resistance, which can be configured to turn on or off by using the CANCfg configuration tool. ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 10 The CAN-Bus cable can use ordinary twisted pair, shielded twisted pair or standard bus communication cable. In long-distance communication, the terminal resistance value needs to be selected according to the communication distance, cable impedance and number of nodes. ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 11: Driver And Configuration Tool Installation

    USB cable is connected correctly, whether the USB port of the computer is disabled, and whether the device indicator USB is on. Figure 3.1 Opening the computer device manager ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 12 Figure 3.3. Figure 3.3 Updating the driver As shown in Figure 3.4, in the pop-up interface, click [Browse], select the official CANFDBridge driver folder, click [Next], and wait until the driver is installed. ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 13 After driver installation, is displayed in the device manager, which indicates that the driver is installed correctly, and the device USB indicator changes from red to green. At this time, the CANFDBridge and PC have been ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 14: Installing The Software Cancfg On The Pc

    Configuration Tool Installation Example You can download the latest version of CANCfg software from the official website of ZLG Electronics www.zlg.cn by searching for "CAN networking equipment configuration tool". Double-click the unzipped CANCfgSetup.exe file. The welcome window appears, as shown in Figure 3.6. Click [Next] to install.
  • Page 15 Click [Install] to install the file in the installation path. After the installation is complete, the successful installation message as shown in Figure 3.8 will appear. Click [Finish] to exit the installation software. Figure 3.8 Installation complete ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 16: Quick Instructions

    CANCfg software. Figure 4.1 shows the software interface. Figure 4.1 CANCfg running interface Click the CANFDBridge in the left device type. The CANFDBridge configuration interface appears, as shown in Figure 4.2. ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 17: Managing Device Configurations

    [Configure device] means to write the configuration parameters in the window such as baud rate, filtering, relay, failback, frame mapping, merging and splitting into the device. The configuration takes effect immediately after being written. ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 18: Configuring Parameters

    CAN bus. When the selected type is CANFD, both CAN messages and CANFD messages can be sent and received. Figure 4.5 Controller types Each channel supports setting the CANFD protocol standard, as shown in Figure 4.6. Both ISO and Non-ISO standards are supported. ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 19 Set the data domain baud rate in ②, select an appropriate synchronization jump width, and select the required baud rate. Enter a value manually if the drop-down ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 20 Figure 4.8 Using the baud rate calculator Advanced settings are available for each channel. Click to display the advanced setting interface, as shown in Figure 4.9. In the advanced settings, set the channel forwarding mode and failback function. ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 21: Failback Example

    CAN1 channel error status. The channel error states are defined as follows: 0x00: No bus error; 0x01: bus error active state; 0x02: Bus error passive state; 0x03: Bus closed; 4.3.2 Failback Example ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 22 CANFD to CANFD to CAN type type CANFD Disable Default settings Disable settings Disable settings settings User selectable Disable CANFD Default settings Disable settings settings settings CANFD Default settings Disable settings Default settings Disable ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 23: Basic Forwarding Example

    CAN0, CAN1 is connected to CAN1), and the sent CAN(FD) frame is compared with the CAN(FD) frame sent back after conversion by CANFDBridge. Receive CAN to CAN As shown in ① in Figure 4.13, set CAN0 to receive CAN-to-CAN without changing the frame data. ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 24: Filtering

    Receive CANFD to CANFD As shown in ④ in Figure 4.13, set CAN1 to receive CANFD and then convert it to CANFD without changing the frame data. Figure 4.14 Example of converting CAN to CAN 4.3.4 Filtering ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 25: Frame Mapping

    After the specified CAN (FD) frame is received, it is forwarded to the specified CAN (FD) frame for transmission. The specific functions of frame mapping are as follows:  Each CAN channel supports 64 frame mappings; ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 26 [Target]. By selecting parameters, you can set which parameters need to be compared and changed. After setting the frame mapping parameters, click to add a frame mapping. ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 27: Frame Mapping Example

    0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 to ID 0x333, data 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, CANFD extended frame of 0x99, 0x10, 0x11, 0x12. Figure 4.24 shows example results. ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 28: Merging

    The merge function is used to merge multiple CAN messages and convert them into CANFD messages, as follows:  The device allows you to set a maximum of 64 merge rules. According to the ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 29 CAN setting window to be merged appears, as shown in Figure 4.28. After setting, you can add a CAN to be merged into the list. Combine a maximum of eight CAN messages into one CANFD message. ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 30: Merge Example

    Figure 4.30 Example of combining three CANs When the last packet of the merging rule is received, the CAN frame will send the previously cached CAN frame into a CANFD frame, as shown in Figure 4.31. Upon ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 31: Split

    ID, frame type and frame length of the CANFD to be split. After receiving the corresponding CANFD message, it is split into multiple CAN messages based on the preset target frame ID and frame type. The specified split CANFD frame ID ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 32: Split Example

    Set as shown in Figure 4.36. Split the CANFD standard frame whose ID is 0xF1 and whose length is 64 bytes into eight CAN standard frames whose data length is 8 bytes. The IDs are 0x00-0x07 respectively. ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 33 Set as shown in Figure 4.38. Split the CANFD standard frame with ID 0xF2 and length of 24 bytes into 4 CAN standard frames with data length of 6 bytes. The IDs are 0x10~0x13 respectively. ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 34 CAN standard frames with data length of 8 bytes and a CAN standard frame with data length of 4 bytes. The IDs are 0x00-0x02 respectively . Only the first 20 bytes of data in the CANFD frame are split, and the excess data is discarded. ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 35: Device Status Acquisition And Reporting

    The two functions can be used to analyze the adaptation of the device on the network, and record the error conditions during use, which helps analyze the cause. ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 36: Obtaining The Device Can Interface Error Count

    In the recording, it will record the error time (based on the computer time), channel number, error type, send error count, receive error count and continuous error count and other information. The information helps analyze the failure of communication. ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 37 CANFDNET-400U High-performance Four-channel CANFD Bus-to-Ethernet Converter User Manual User Manual Figure 4.44 Automatic reporting of CAN errors ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 38: Firmware Upgrade

    If the upgrade fails, the CANFDBridge device does not work properly, and the USB indicator keeps flashing. At this time, reconnect the device to the computer and perform a firmware upgrade. Figure 5.1 Firmware upgrade Figure 5.2 Firmware upgrade completed ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 39: Disclaimer

    ZLG Electronics does not guarantee the applicability of this document at any time. ZLG Electronics shall reserve the right to update this manual without prior notice. To get the latest version, please visit the official website of ZLG Electronics regularly or contact ZLG Electronics. Thank you!
  • Page 40 CANFDNET-400U High-performance Four-channel CANFD Bus-to-Ethernet Converter User Manual User Manual Dreams come true with professionalism and dedication. Guangzhou ZLG more details, Welcome call please visit national service hotline Electronics Co., Ltd. www.zlg.cn 400-888-4005 ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.

Table of Contents