ZLG CANFDWIFI-100U User Manual

Single-channel can(fd) to wifi converter

Advertisement

Quick Links

CANFDWIFI-100U User Manual
Single-Channel CAN(FD) to WIFI Converter
V1.7 Data:2021/08/13
Category
Contents
Keywords
CAN(FD)-BUS forwarding WIFI
Description
Product User Guide
©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CANFDWIFI-100U and is the answer not in the manual?

Questions and answers

Summary of Contents for ZLG CANFDWIFI-100U

  • Page 1 CANFDWIFI-100U User Manual Single-Channel CAN(FD) to WIFI Converter V1.7 Data:2021/08/13 Category Contents Keywords CAN(FD)-BUS forwarding WIFI Description Product User Guide ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 2 V1.5 July 1, 2020 Added description of the multicast function; V1.6 September 29, 2020 Updated the mechanical dimension drawing 1. Updated the configuration description V1.7 August 12, 2021 2. Updated the CAN indicator description ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 3: Table Of Contents

    Running the Configuration Tool ............12 5.3.2 Searching for Devices ................13 5.3.3 Configuring Parameters ................ 14 CANFDWIFI-100U Communicating with the USBCANFD-200U ....17 Wireless Connection Mode ................25 5.5.1 AP Hotspot Mode .................. 25 5.5.2 Station Client Mode ................26 Working Mode ....................
  • Page 4 CANFDWIFI-100U Single-channel CAN (FD) to WIFI converter User Manual Device Logs ....................33 7. Appendix ....................34 Configuring Parameters ................34 CANFDWIFI-100U Network Data Format ............ 41 1002100310071009 ..................46 8. Disclaimer ....................48 ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 5: Product Introduction

    1.1 Product Overview CANFDWIFI-100U is a high-performance WIFI and CAN(FD)-bus data conversion equipment developed by Guangzhou ZLG Electronics Co., Ltd. It integrates one CAN(FD)-bus interface, one Ethernet interface and 1 WiFi interface, and provides a mature and stable TCP/IP protocol stack. Users can easily complete the interconnection between CAN-bus network and WiFi network, and further expand the scope of CAN-bus network.
  • Page 6: Product Features

     Supported TCP/IP protocols include IP, ARP, ICMP, UDP, DHCP, DNS, TCP;  Flexible CAN (FD) packet settings meet various packet requirements of users;  The communication protocol is open, and the secondary development ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 7 Support local system firmware upgrade.  Support the device to connect to the ZWS cloud server, and can remotely upgrade the device, configure the device, and send and receive CANFD messages from the device. ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 8: Product Specifications

    Table 2.3 Protection level-electrostatic discharge immunity test (IEC61000-4-2) Interface Test Level Test Voltage (kV) Remarks Contact Power supply Class B ± 4 discharge Contact CAN bus Class B ± 4 discharge Contact WIFI Class B ± 4 discharge ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 9 Class B ± 1 Line-line CAN bus Class B ± 1 Line-ground Class B ± 1 Line-line Ethernet Class B ± 1 Line-ground Class B ± 1 Line-line WIFI Class B ± 1 Line-ground ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 10: Mechanical Installation Dimensions

    CANFDWIFI-100U Single-channel CAN (FD) to WIFI converter User Manual 3. Mechanical Installation Dimensions The following figure shows the mechanical installation dimensions (unit: mm) Figure 3.1 Host dimensions ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 11: Hardware Interfaces

    CANFDWIFI-100U Single-channel CAN (FD) to WIFI converter User Manual 4. Hardware Interfaces This section describes the hardware interfaces of the CANFDWIFI-100U device. 4.1 Panel Layout Figure 4.1 shows the device panel layout. Figure 4.1 Panel layout 4.2 Indicators Table 4.1 LED indicator...
  • Page 12: Button

    Schematic Diagram Pin definitions Pin description 1. 8: NC Dangling 2: CAN_L CAN data transceiving differential inverted signal DB9 socket 3, 6: CAN_GND CAN isolated ground 4: V+ Power input positive 5: FG Shielding ground ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 13: Ethernet Interface

    Table 4.5 CAN-Bus interface specifications Minimu Typical Maximu parameter Unit value Communication baud rate Number of nodes CANH 2.75 Dominant level (logic 0) CANL CANH Recessive level (logic 1) CANL Differential level Dominant (logic 0) ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 14 4.2 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 CANFDWIFI-100U configuration tool. Note: The bus communication distance and communication rate are related to the field application and can be designed according to the actual application and related standards.
  • Page 15: Quick Instructions

    Before using the CANFDWIFI-100U device, learn about the network parameters such as the IP address of the device. The CANFDWIFI-100U device supports two IP acquisition methods: "static acquisition" and "dynamic acquisition". "Static acquisition" indicates that the device uses the "IP address", "subnet mask" and "gateway" specified by the user;...
  • Page 16: Software Installation

    5.2 Software Installation Before using the device, install the supporting software ZCANPRO. The software can be downloaded from the official website of ZLG Electronics http://www.zlg.cn. 5.3 Configuring the Device When the device IP address is forgotten or the device uses DHCP to obtain the IP address automatically, the current IP address of the device can be obtained by using the network device configuration tool software.
  • Page 17: Searching For Devices

    Click the [Search Device] button in the upper left corner of Figure 5.3 to search for devices in the network. After the device is searched, the interface is displayed as shown in Figure 5.4. ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 18: Configuring Parameters

    Figure 5.4 Interface displayed after successful search Figure 5.5 Device configuration display 5.3.3 Configuring Parameters Whether the parameter configuration is correct or not will directly affect the normal communication. The following describes common parameter configurations. ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 19 NIC configuration Before using the PC to communicate with the CANFDWIFI-100U device, ensure that there is an Ethernet card in the PC, and the PC and the CANFDWIFI-100U device must be in the same network segment. Before using the PC to communicate with the device, ensure that an Ethernet card is installed on the user's PC, and the PC and the device must be in the same network segment.
  • Page 20 The default working mode of the device is TCP Server mode, the port is 8000, and the network card is universal Ethernet. Click the attribute value of [Network Forwarding] on the interface. On the pop-up interface, view or modify the working mode, as shown in Figure 5.8. ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 21: Canfdwifi-100U Communicating With The Usbcanfd-200U

    First, use a network cable to connect the CANFDWIFI-100U device to the PC, and use a twisted pair to connect the CAN port of the CANFDWIFI-100U device to the CAN0 of the USBCANFD-200U interface card (CANH is connected; CANL is connected;...
  • Page 22 Select [Start Device], as shown in Figure 5.10: Figure 5.10 Starting the device Because the CAN0 port of USBCANFD-200U is connected to the CAN port of CANFDWIFI-100U, you only need to enable channel 0. Click [Start] of channel 0. Use ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 23 Click [OK]. If the device is connected properly, the start button will be disabled, and there will be no prompt. If the connection is abnormal, an error message appears. Reselect the device type CANFDWIFI-100U-TCP, as shown in Figure 5.12: ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 24 192.168.0.178, and the working port is 8000, enter 192.168.0.178 and 8000 in the device IP address and device port number respectively, and select the client mode as the working mode, as shown in Figure 5.14: ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 25 If the connection is abnormal, an error message appears. Figure 5.15 shows the result: Figure 5.15 Two devices starting simultaneously Select [Close Window] to return to the main interface. Select two devices in the view, as shown in Figure 5.16: ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 26 User Manual Figure 5.16 Main interface Select [Send Data] and then [Normal Send]. The sending window is displayed, as shown in Figure 5.17: Figure 5.17 Opening the send interface Figure 5.18 shows the sending interface ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 27 8 bytes, and the data length of the CANFD frame is a maximum of 64 bytes; 【Data: 0x】can be the data to be sent. First, select the channel of USBCANFD-200U. Figure 5.20 shows the sending interface settings: ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 28 Switch the sending channel to CANFDWIFI-TCP, send a frame, and observe the main interface. It can be found that CANFDWIFI-TCP sent a frame of CAN message, and USBCANFD-200U received the same frame. See Figure 5.22: ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 29: Wireless Connection Mode

    You can also change the configuration sent for other tests. No specific demonstration is made here. Through the preceding simple operation introduction, you can basically master the simple operations of CANFDWIFI-100U, or you can continue to read and learn more about CANFDWIFI-100U.
  • Page 30: Station Client Mode

    [5G channel] is 149, 153, 157, 161 or 165. After the settings are changed, restart the device. In normal operation, the SSID broadcast "CANFDWIFI100U" of CANFDWIFI-100U can be searched on the PC or other WIFI devices, as shown in Figure 5.24.
  • Page 31: Working Mode

    Figure 5.25 Wireless router configuration We can configure CANFDWIFI-100U by configuring the host computer. As shown in Figure 5.26, enter the wireless information of the router in the corresponding window. After the settings are changed, restart the device. When working normally, CANFDWIFI-100U can actively connect to the router with the SSID "USBCAN".
  • Page 32: Tcp Server Mode

    CAN controller, select CAN; if it is configured as ISO/Non-ISO CANFD, select CANFD. [CANFD acceleration] is determined by the user. When [No] is selected, all CANFD messages sent are not accelerated; otherwise, they are all accelerated. Click [OK].ZCANPRO will connect to the device. ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 33: Tcp Client Mode

    IP address of the client connection is "192.168.0.55", and the target port is 8000. On the ZCANPRO startup interface, set [local port] to 8000, and change the IP address of the PC to "192.168.0.55". ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 34: Udp Mode

    [Device Management] interface of ZCANPRO, set the device type to [CANFDWIFI-UDP], and start the device. On the displayed startup device interface (as shown in Figure 5.30), set [local port], [IP address], and [working port]. For example, if the current device IP address is ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 35 8000, and the local port is 4001, set [Local Port] to the device target port 8000, [IP Address] to the device IP address "192.168.0.178", and [Working Port] to the device local port 4001. Figure 5.30 Starting CANFDNET-UDP Click [OK]. The device can communicate with ZCANPRO. ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 36: Other Function Description

    Software upgrade firmware: After searching for the device, right-click the device and choose [Upgrade] on the pop-up interface (as shown in the red box in Figure 6.1). Load the upgrade firmware on the pop-up interface (as shown in Figure 6.2), and click [Upgrade]. ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 37: Device Logs

    6.4 Device Logs Device logs are used to analyze device operation. After searching for the device, right-click the device and choose [Device Log] to obtain the logs. See Figure 6.3. Figure 6.3 Obtaining device logs ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 38: Appendix

    Used to enter a new password. The maximum length password of the password is 9 characters. For the character range, see "Current Password" . Confirm the If "Whether to change the password" is "No", ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 39 SSID CANFDWIFI100U be searched when the SSID is broadcast; when the device is in Station client mode, it is the name of the wireless AP or router. The ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 40 Disable (No): Use "arbitration domain baud enable rate" and "data domain baud rate" as the controller baud rate. After customization is enabled, paste the Custom customized baud rate copied in the baud baud rate rate calculation tool. ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 41 CAN interface. In this case, either the client controls the transmission speed of the Ethernet to match the transmission speed of the CAN port; or the buffer is changed to a ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 42 Some ports are occupied by other network protocols. Used to select the NIC used for the current Auto connection. If the value is automatic, the selection NIC is automatically selected by the device. ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 43 The number of packet frames refers to the maximum number of frames in the packet.If the number of sub-packaging frames is not reached during the receiving process, and the frame interval exceeds the timeout ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 44 Delivery is not enabled by default configuration delivery enable CAN(FD) message All CAN (FD) channel data is upload by upload default enable Data upload Stream-saving CAN(FD) data upload mode: mode mode Stream-saving mode: data ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 45: Canfdwifi-100U Network Data Format

    Table 7.3 lists the packet format, and Table 7.4 lists the packet parameter definitions. This manual only describes the current basic packet format. The detailed data format can be obtained from the relevant staff of ZLG Electronics. Table 7.3 Network packet format...
  • Page 46 When the device uploads a message, the maximum CAN FD data 0x01 number of messages is configured, and the network packet sends a maximum of 18 CANFD messages each time; The type parameter is 0, reserved; ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 47 CAN message: 0-8; CANFD message: 0-8, 12, 16, 20, 24, 32, 48, 64 Message data; Data 8/64 CAN: The message data length is 8 bytes; CAN FD: The message data length is 64 bytes; ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 48 Receive error count Byte4 Send error count Byte5~7 Reserved, currently 0x00 Table 7.8 Bus status definition Error type Error type description 0x00 Bus normal 0xE1 Bus error 0xE2 Bus alarm 0xE3 Bus negative 0xE4 Bus off ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 49 The driver receives buffer overflow 0x03 Send buffer overflow 0x04 Invalid message sent 0x05 Controller internal error Table 7.11 Other error definitions Error value Error description 0x01 Terminal application receive buffer overflow 0x02 Terminal application send buffer overflow ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 50 CANFDWIFI-100U Single-channel CAN (FD) to WIFI converter User Manual 7.3 1002100310071009 The following example is a standard data frame with ID 0x0001 and contains 8 bytes ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 51 CANWIFI-200T also needs to consider the transmission capacity of WIFI. Therefore, it is recommended that the CAN frame sent by each CAN channel per second should not exceed 5,800 frames. ©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
  • Page 52: 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 53 CANFDWIFI-100U Single-channel CAN (FD) to WIFI converter 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