background image

Chengdu Ebyte Electronic Technology Co., Ltd

ECAN-W01 User Manual

Copyright

©2012–2022, Chengdu Ebyte Electronic Technology

Co.,Ltd

4.3.3. Modify baud rate online

The device supports online adjustment of the baud rate through the Ethernet port in the TCP Server
mode without entering the configuration software.
The command format is as follows

Instructions

CAN baud rate

3F 00 FF 00 00 00 00 FF 00 00 00 00

FF

1000K

3F 01 FF 00 00 00 00 FF 00 00 00 00

FF

800K

3F 02 FF 00 00 00 00 FF 00 00 00 00

FF

500K

3F 03 FF 00 00 00 00 FF 00 00 00 00

FF

250K

3F 04 FF 00 00 00 00 FF 00 00 00 00

FF

125K

3F 05 FF 00 00 00 00 FF 00 00 00 00

FF

100K

3F 06 FF 00 00 00 00 FF 00 00 00 00

FF

50K

3F 07 FF 00 00 00 00 FF 00 00 00 00

FF

20K

Summary of Contents for ECAN-W01

Page 1: ...Chengdu Ebyte Electronic Technology Co Ltd ECAN W01 User Manual Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd ECAN W01 ...

Page 2: ...1 SOCKET function 9 4 2 2 TCP Client Function 9 4 2 3 TCP Server Functions 10 4 2 4 UDP Client Functions 10 4 2 5 UDP Server Features 10 4 2 6 CAN function 11 4 2 7 CAN protocol conversion format 14 4 3 Features 15 4 3 1 CAN filtering 15 4 3 2 Custom baud rate 16 4 3 3 Modify baud rate online 17 4 3 4 Heartbeat function 18 4 3 5 Registration package function 18 4 3 6 Timeout restart function 19 4 ...

Page 3: ...unication supports fixed common CAN baud rate and user defined CAN baud rate with the highest baud rate of 1Mbps At the same time the device has multiple working modes such as TCP Server TCP Client UDP etc 1 2 Functional features Integrated 2 way CAN bus interface using plug in terminal wiring mode Support CAN2 0A and CAN2 0B frame formats and conform to ISO DIS 11898 specification CAN bus communi...

Page 4: ... After the device is powered on search the device WiFi through the PC as shown in the following figure Click Connect to connect to the device s WiFi 2 Open the network debugging assistant of the computer set it as TCP Client set the remote host IP to 192 168 4 101 and set the remote host port number to 8881 3 Connect CAN1 of ECAN W01 to CAN resolver When ECAN W01 is connected to CAN bus just conne...

Page 5: ...Chengdu Ebyte Electronic Technology Co Ltd ECAN W01 User Manual Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd ...

Page 6: ...cations IEEE802 11a b g standard 4 Network Protocol IP TCP UDP WiFi 5 Simple transparent transmission mode TCP Server TCP Client UDP Server UDP Client 6 TCP Server Connection A maximum of four TCP connections are supported in a single channel 7 IP acquisition method Static IP DHCP 8 Domain name resolution support 9 User Configuration Upper computer configuration 10 working temperature 40 85 indust...

Page 7: ...Chengdu Ebyte Electronic Technology Co Ltd ECAN W01 User Manual Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 3 2 Mechanical dimension drawing and pin definition ...

Page 8: ...d button press and hold for more than 5s to restore the factory 5 CAN2_ H CAN2 channel bus high 5 08 phoenix head CAN2_ G CAN2 channel bus ground 5 08 phoenix head CAN2_ L CAN2 channel bus low 5 08 phoenix head 6 Dial RES1 CAN1 channel 120 ohm resistance dial switch Dial RES2 CAN2 channel 120 ohm resistance dial switch 7 CAN1_ H CAN1 channel bus high 5 08 phoenix head CAN1_ G CAN1 channel bus grou...

Page 9: ...er working roles to STA mode the device can enable DHCP to obtain IP addresses and automatically configure the gateway subnet mask and DNS domain name server It can also set a static IP address for networking 4 2 Basic function Ethernet part 4 2 1 SOCKET function ECAN W01 can establish two sockets namely Socket A1 and Socket B1 Both of them support TCP Client TCP Server UDP Client and UDP Server T...

Page 10: ...ported in a dual socket and up to 4 clients can be supported in a single socket The local port number is a fixed value and cannot be set to 0 4 2 4 UDP Client Functions 1 UDP Client is a connectionless transmission protocol that provides simple and unreliable transaction oriented information transmission services Without connection establishment and disconnection you only need to specify an IP and...

Page 11: ...rt can normally respond to received CAN frame Number of subcontractin g frames 50 The value that can be filled in is 1 50 When the CAN port continuously receives data the interval is less than the packet time interval and the number of received CAN frames reaches the number of packet frames the received data will be packaged into an Ethernet packet and sent to the network port The number of frames...

Page 12: ...ved and have not been sent before will be packaged into an Ethernet packet and sent to the network port category name default explain CAN configurat ion Standard frame upper limit 7FF HEX The upper limit and lower limit of the received standard frame ID set by the user jointly determine the standard frame ID range to be received Lower limit of standard frame 000 HEX Extended frame upper limit 1FFF...

Page 13: ...than that of CAN transmission if the amount of data received by Ethernet is too large CAN needs to buffer transmission which can ensure no frame loss but such a large buffer may lead to poor real time performance that is the data currently sent by Ethernet can only be sent from the CAN interface after a certain time In this case the customer needs to control the sending speed of Ethernet to match ...

Page 14: ...Chengdu Ebyte Electronic Technology Co Ltd ECAN W01 User Manual Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 4 2 7 CAN protocol conversion format ...

Page 15: ...he identifier register and the masked register which need to be used together Each bit of the identifier register indicates that the expected value of the corresponding bit is explicit or implicit and each bit of the masked register indicates whether the expected value of the corresponding identifier register bit needs to be consistent 32 bit shielded bit mode Identifier register CAN_ FxR1 31 24 C...

Page 16: ...7 0 Mask bit register n 1 CAN_ FxR2 31 24 CAN_ FxR2 23 16 mapping STID 10 3 STID 2 0 RTR IDE EXID 17 15 When a message can be filtered by multiple filters the filter number stored in the receiving mailbox determines which filter number to store according to the filter priority rules The filter priority rules are as follows All 32 bit filters have higher priority than 16 bit filters For filters of ...

Page 17: ...ode without entering the configuration software The command format is as follows Instructions CAN baud rate 3F 00 FF 00 00 00 00 FF 00 00 00 00 FF 1000K 3F 01 FF 00 00 00 00 FF 00 00 00 00 FF 800K 3F 02 FF 00 00 00 00 FF 00 00 00 00 FF 500K 3F 03 FF 00 00 00 00 FF 00 00 00 00 FF 250K 3F 04 FF 00 00 00 00 FF 00 00 00 00 FF 125K 3F 05 FF 00 00 00 00 FF 00 00 00 00 FF 100K 3F 06 FF 00 00 00 00 FF 00 ...

Page 18: ...on In the network transparent transmission mode the user can choose to let the DTU send the registration package to the server The registration package is used to enable the server to identify the data source device or as a password to obtain server function authorization The registration packet can be sent when the DTU establishes a connection with the server or a packet of registration packet da...

Page 19: ... Support DHCP and domain name resolution 4 4 1 DHCP The device can automatically obtain the IP address through the router and automatically configure the gateway subnet mask and DNS server It does not support modifying the subnet mask and DNS server 4 4 2 DNS Domain Name Resolution When the user enters the domain name it will automatically query the DNS server and the DNS server retrieves the data...

Page 20: ...cally after disconnection to ensure that the connection can be restored in case of accidental disconnection note that the device is not restarted 4 6 Network interface upgrade Firmware can be upgraded and maintained through the serial port upgrade tool provided by our company Step 1 Open the software open the configuration host computer and click the menu bar Step 2 Select Device Upgrade Assistant...

Page 21: ...Chengdu Ebyte Electronic Technology Co Ltd ECAN W01 User Manual Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd Step 3 After selecting the firmware click Upgrade to upgrade ...

Page 22: ...anual 2 Due to the continuous improvement of the hardware and software of the product this manual may be changed without further notice and the latest version of the manual shall prevail 3 Everyone is responsible for protecting the environment In order to reduce the use of paper this manual is only printed in Chinese and the English manual is only provided with electronic documents If necessary pl...

Page 23: ...h one by one Please understand 6 Revision History Edition Revision Date Revision description Maintainer 1 0 2022 06 10 First edition LM 7 About us Sales hotline 4000 330 990 Company telephone 028 61399028 Technical support support cdebyte com Official website https www cdebyte com Address Building B5 No 199 West District Avenue High tech West District Chengdu Sichuan ...

Reviews: