Category
Contents
Keywords
CAN(FD)-BUS forwarding WIFI
Description
Product User Guide
CANFDWIFI-100U User Manual
V1.7 Data:2021/08/13
Single-Channel CAN(FD) to WIFI Converter
©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
Page 1: ...ents Keywords CAN FD BUS forwarding WIFI Description Product User Guide CANFDWIFI 100U User Manual V1 7 Data 2021 08 13 Single Channel CAN FD to WIFI Converter 2021 Guangzhou ZLG Microelectronics Technology Corp Ltd ...
Page 2: ...FI 5G channel V1 2 June 3 2020 1 Modified the parameter name of Controller Type and the corresponding option name 2 Added the introduction to the CANWIFI 200T protocol format in the appendix V1 3 June 18 2020 1 Added the size limit description of WIFI name and password V1 4 June 28 2020 Modified the description of the firmware upgrade V1 5 July 1 2020 Added description of the multicast function V1...
Page 3: ... Indicators 7 4 3 Button 8 4 4 Power Interface 8 4 5 CAN FD Communication Interface 8 4 6 Ethernet Interface 9 4 7 CAN Bus Connection 9 5 Quick Instructions 11 5 1 Hardware Connection 11 5 2 Software Installation 12 5 3 Configuring the Device 12 5 3 1 Running the Configuration Tool 12 5 3 2 Searching for Devices 13 5 3 3 Configuring Parameters 14 5 4 CANFDWIFI 100U Communicating with the USBCANFD ...
Page 4: ...FD to WIFI converter 2021 Guangzhou ZLG Microelectronics Technology Corp Ltd 2 User Manual 6 4 Device Logs 33 7 Appendix 34 7 1 Configuring Parameters 34 7 2 CANFDWIFI 100U Network Data Format 41 7 3 1002100310071009 46 8 Disclaimer 48 ...
Page 5: ... 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 CANFDWIFI 100U has 2 4G 5G WLAN interfaces compliant with IEEE 802 11a b g n ac standard It has one 10M 100M adaptive Ethernet interface and one CAN FD port with a maximum baud rate of 5 Mbps It supports TCP Server TCP Cli...
Page 6: ...he user can choose the most suitable balance between real time and large capacity buffering Multiple working modes supported Working modes TCP Server TCP Client UDP Support static or dynamic IP acquisition Operating port and destination IP address and target port can be set Supports two TCP servers each of each supports a maximum of 16 connections or supports a maximum of 16 TCP Client or UDP conn...
Page 7: ...forms supported You can configure the working parameters by using the configuration tool and provide the secondary development interface function library Windows Linux platforms supported 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 ...
Page 8: ... Baud rate 40 kbps 5 Mbps 2 4 Electrical Parameters Table 1 Electrical parameters Parameter Name Conditions Rating Unit Minimum Typical value Maximum Operating voltage DC 9 12 48 V Power consumption 1 5 W 2 5 Operating Temperature Table 2 2 Operating temperature Parameter Name Rating Unit Minimum Typical Value Maximum Operating temperature 20 75 Storage Temperature 40 85 2 6 Protection class Table...
Page 9: ... IEC61000 4 4 Interface Test Level Test Voltage kV Remarks Power supply Class B 1 Capacitive coupling CAN bus Class B 1 Capacitive coupling Ethernet Class B 1 Capacitive coupling Table 2 5 Protection level surge impact test IEC61000 4 5 Interface Test Level Test Voltage kV Remarks Power supply Class B 1 Line line Class B 1 Line ground CAN bus Class B 1 Line line Class B 1 Line ground Ethernet Clas...
Page 10: ...CAN FD to WIFI converter 2021 Guangzhou ZLG Microelectronics Technology Corp Ltd 6 User Manual 3 Mechanical Installation Dimensions The following figure shows the mechanical installation dimensions unit mm Figure 3 1 Host dimensions ...
Page 11: ...e 4 1 Panel layout 4 2 Indicators Table 4 1 LED indicator Identification Function STATUS Description SYS System indicator Green flashing System running Light off The device is not powered on or the system is not running CAN CAN channel indicator Green normally on Channel open Green flashing The CAN channel normally sends and receives data Flash in red CAN bus error WIFI WIFI indicator Green normal...
Page 12: ...ell is marked as DC 9 48V The physical form of the interface is 3 81 terminal Table 4 2 shows the interface diagram and signal definition Table 4 2 Power interface Type Schematic Diagram Pin definitions Pin description OPEN3 1 9V 48V Power input positive 2 EARTH Ground 3 GND Power input negative 4 5 CAN FD Communication Interface The device provides one isolated CAN Bus interface The shell is iden...
Page 13: ... on signal levels cables and connectors used for communication Two standards are released after CAN bus was standardized by ISO namely ISO11898 2 125kbps 1Mbps high speed communication standard and ISO11898 3 low speed communication standard less than 125 kbps The CAN transceiver determines the bus level based on the voltage difference between the two cables This transmission method is called diff...
Page 14: ...inate signal reflection on the bus and avoid signal distortion Figure 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 a...
Page 15: ...ic acquisition indicates that the device uses the IP address subnet mask and gateway specified by the user Dynamic acquisition indicates that the device obtains the IP address subnet mask and gateway information from the DHCP server on the network over DHCP 5 1 Hardware Connection Connect the device to a 9 48 V DC power supply and use a crossover cable to connect the LAN port of the device to the ...
Page 16: ...tomatically the current IP address of the device can be obtained by using the network device configuration tool software Before using the device configure the device IP address CAN port baud rate and other parameters Configure the device by using the network device configuration tool in ZCANPRO The procedure is as follows 5 3 1 Running the Configuration Tool Run the ZCANPRO software click Tools in...
Page 17: ...chnology Corp Ltd 13 User Manual Figure 5 3 Network configuration tool interface 5 3 2 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 ...
Page 18: ...Corp Ltd 14 User Manual 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 ...
Page 19: ...k Segment Detection Flowchart PC机子网掩码 PC机IP地址 PC机所属子网 设备IP地址 192 168 0 178 设备子网掩码 255 255 255 0 比较 设备所属子网 192 168 0 0 调整PC机IP地址 可以设置设备 与 与 不相同 相同 Figure 5 6 Detection process on the same network segment There are two ways to keep the user s PC and device in the same network segment The first method is to change the IP address of the PC Open Control Panel on the PC double click the Network Connecti...
Page 20: ...vice gateway IP to 192 168 7 1 CAN FD configuration For CAN FD normal communication set the CAN FD baud rate to be consistent with that on the CAN Bus network The device is configured as an ISO CANFD controller by default The baud rate of the arbitration domain is 1 Mbps and the baud rate of the data domain is 5 Mbps To modify the data adjust the arbitration domain baud rate and data domain baud r...
Page 21: ...parent conversion of CAN network data and Ethernet data Here select the USBCANFD 200U interface card which is convenient to use Its related information is available at http www zlg cn 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 C...
Page 22: ...rp Ltd 18 User Manual Figure 5 9 Starting ZCANPRO and selecting the USBCANFD 200U 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 ...
Page 23: ...rations and enable the terminal resistance as shown in Figure 5 11 Figure 5 11 Default startup parameters of USBCANFD 200U 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 ...
Page 24: ...rface as shown in Figure 5 13 Figure 5 13 Adding the CANFDWIFI TCP startup option Click the Start button of channel 0 The startup parameter setting interface appears Because the default working mode of the device is TCP Server mode the IP address is 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 cl...
Page 25: ...rameter selection 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 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 ...
Page 26: ...angzhou ZLG Microelectronics Technology Corp Ltd 22 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 ...
Page 27: ... the channel On the sending interface the data frame information to be sent can be set For example Frame Type can be a CAN frame or CANFD frame Frame Format can be a data frame or a remote frame Frame ID 0x can be a frame ID Data length data length of the CAN CANFD data field of the corresponding frame The length of the CAN frame data is a maximum of 8 bytes and the data length of the CANFD frame ...
Page 28: ... the main interface it is observed that USBCANFD 200U sent a frame of CAN message and CANFDWIFI TCP received the same frame See Figure 5 21 Figure 5 21 USBCANFD 200U sending result 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 ...
Page 29: ...ed to use an Ethernet wired connection to ensure that the device configuration can be reliably searched it can also be configured through a WIFI connection Connect the device to a 9 48 V DC power supply Use a crossover cable to connect the device s LAN port to the PC s network port We briefly introduced how to configure the device through the host computer For detailed configurations see 错误 未找到引用源...
Page 30: ...pot Frequency The default value is 2 4G It can be changed to 5G 2 4G channel ranges from 1 to 13 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 Figure 5 24 Setting the AP hotspot mode 5 5 2 Station Client Mode Station...
Page 31: ...thod and key if there is no encryption no password required Figure 5 25 shows the wireless configuration of a wireless router 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 normall...
Page 32: ...device acts as a TCP server the PC should act as a TCP client Open the Device Management interface of ZCANPRO select CANFDWIFI TCP as the device type open the device and start the device On the startup device interface as shown in Figure 5 28 select Client as Working Mode and enter IP Address and Working Port If the current device IP address is 192 168 0 178 and the port is 4001 set this parameter...
Page 33: ...ishes a connection with the TCP server two way data communication can be performed When the device acts as a TCP Client the PC should act as a TCP server Open the Device Management interface of ZCANPRO select CANFDWIFI TCP as the device type open the device and start the device On the startup device interface as shown in Figure 5 29 set Work Mode to Server and enter Local Port For example the curr...
Page 34: ... however because UDP is a simple communication method it will not increase too much additional communication volume and can provide a higher communication speed than the TCP method to ensure the real time transmission of data packets In fact when the network environment is simple and the network communication load is not too large the UDP working method is not error prone The devices working in th...
Page 35: ...8 0 178 the connection target IP address is 192 168 0 55 the target port is 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 ...
Page 36: ...iew the device Figure 6 1 Device function display in the network configuration tool 6 2 Restoring Factory Settings There are two ways to restore factory settings key and software After pressing the button for 5 seconds release the button to restore factory settings After the device is searched right click the device select Restore Factory Settings on the pop up interface enter the password and com...
Page 37: ...starts to back up the firmware The three indicators SYS CAN WIFI of the device start flashing green at the same time When the SYS indicator flashes again the entire firmware upgrade process is complete Note During the device upgrade do not restart the device or disconnect the power 6 4 Device Logs Device logs are used to analyze device operation After searching for the device right click the devic...
Page 38: ...stent for each device Used when adding to a cloud server Equipment name CANFDWIFI 100U Device name This value can be changed It contains a maximum of 31 characters ASCII characters can be used Modifying this value is very useful for users to identify multiple devices on the same network Password operation Current password 88888 Before changing other items you must enter the correct password Use AS...
Page 39: ... function IP 192 168 0 178 Do not enter X X X 0 or X X X 255 An IP address is an address on a network assigned to a network device and it is unique on the same network Subnet mask 255 255 255 0 The subnet mask is very important for the network Within the same network the values obtained by adding the IP addresses and subnet masks are equal Therefore set the IP Address and Subnet Mask correctly Gat...
Page 40: ...a2_aes Encryption mode wpa2_aes wpa2 open not encrypted Valid in AP mode CAN configuration Controller type CANFD ISO CAN When the bus is only CAN messages select CAN ISO CANFD The CANFD standard specified by ISO Non ISO CANFD Non ISO CANFD standard Working mode Normal mode Normal mode The CAN port can send and receive messages properly Listen only mode The CAN port is only used for monitoring and ...
Page 41: ...rface appears Table 7 2 lists configuration descriptions Message sending interval 0 Interval for sending packets per frame ranging from 0 ms to 255 ms Send buffer 100 Send message buffer The unit is 10 frames and the value ranges from 10 to 1000 That is 100 1000 frames You can set the size of this buffer to adjust the balance between the real time performance of the CAN port and the large capacity...
Page 42: ...0 ms it is valid when the bus utilization rate is enabled Network forwarding Working mode TCP Server TCP Server The device acts as a server and waits for client connections TCP Client The device as a client actively connects to the target server UDP The device uses UDP for communication and does not need to establish a connection Local port 8000 Local working port The value ranges from 0 to 65535 ...
Page 43: ... receives error messages By default channel error packets are not uploaded Timeout disconnect time 0 The available values are 0 and 100 65525 This item is meaningful only when a TCP client or server is used Time in 10 ms that the CAN or Ethernet interface delays from receiving the last data after the TCP connection is established If no data is received before the timeout period expires the TCP con...
Page 44: ...frame within the time defined by the packaging time interval unit ms and the number of packet frames has not been reached all data frames that have been received and have not been sent will be encapsulated into an Ethernet packet and sent to the network port Classic CANWIFI protocol Disable Protocol used by the current connection If it is enabled the CANWIFI 200T protocol is used to forward CAN me...
Page 45: ...n the specified ID range whitelist Within the specified ID range whitelist Frames within the preset ID range will be received Beyond the specified ID range blacklist Frames within the preset ID range will not be received Enable Disable Select the corresponding item to enable Frame type Standard frame Standard frame Set the filter message type to standard frame Extended frame Set the filter message...
Page 46: ...e the check code Note If there is no special description in the packet format all data will be transmitted in big endian format Table 7 5 Package type description Package type Type value Description CAN data packet 0x00 Indicates that the packet is a CAN data packet and the data area is a CAN format message see Table 7 6 When the device uploads a message the maximum number of messages is set and t...
Page 47: ...valid bit7 ERR 1 error message 2 0 normal message receive valid bit6 EXT 1 extended frame 0 standard frame bit5 RTR 3 1 remote frame 0 data frame bit4 FD 1 1 CANFD 0 CAN bit3 ECHO 4 1 send echo 0 send no echo bit2 TX 4 1 send message 0 receive message bit1 0 Transmission type only valid for transmission 0 for reception 0 send properly 1 Single transmission CANFDNET 200U does not support 2 Spontane...
Page 48: ...a fields Data area Description Byte0 For the definition of the bus status see Table 7 8 Byte1 Bus error type valid when the bus state is bus error For the definition see Note 1 Bus error is not a bus state only errors on the current bus are prompted 2 Reserved no longer used 3 CAN controller error When this error occurs the receiving and sending error counts are invalid The specific error value is...
Page 49: ...erminal application When this error occurs the receiving and sending error counts are invalid the specific error value is defined by the BYTE2 byte See Table 7 11 for details Table 7 9 Definition of bus error values Error value Error description 0x01 Bit error 0x02 Acknowledgment error 0x04 CRC error 0x08 Format error 0x10 Fill error 0x20 Overload error Table 7 10 Controller error definitions Erro...
Page 50: ... Single channel CAN FD to WIFI converter 2021 Guangzhou ZLG Microelectronics Technology Corp Ltd 46 User Manual 7 3 1002100310071009 The following example is a standard data frame with ID 0x0001 and contains 8 bytes ...
Page 51: ...CAN frames they need to calculate CAN frames cannot exceed the fastest sending traffic on the CAN side For example if the baud rate of 1000Kbps sends standard data frames the fastest CAN is 10000 frames s If the PC sends too fast the CAN cannot send so fast Although there is a large buffer inside the device overflow will occur CANWIFI 200T also needs to consider the transmission capacity of WIFI T...
Page 52: ...will try to present detailed and accurate product information in this manual However due to the effectiveness of this manual within a particular period of time 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 Electron...
Page 53: ... 2021 Guangzhou ZLG Microelectronics Technology Corp Ltd 49 User Manual Dreams come true with professionalism and dedication Guangzhou ZLG Electronics Co Ltd For more details please visit www zlg cn Welcome to call the national service hotline 400 888 4005 ...