background image

Chengdu Ebyte Electronic Technology Co.,Ltd

ECAN-W01S User

Manual

Copyright

©2012–2022, Chengdu Ebyte Electronic Technology

Co.,Ltd

4.3. Features

4.3.1. CAN filtering

CAN filtering is divided into software filtering and hardware filtering.

4.3.1.1. Software filtering

The upper limit value and lower limit value of received extended frame ID set jointly determine the range of

extended frame ID to be received; A total of three sets of ID filtering can be set.

4.3.1.2. Hardware filtering

There are as many as 28 filter groups (14 for each channel) in the module. By setting filter

groups, each CAN node can receive messages that conform to the filter rules. Messages that do
not conform to the filter rules are discarded by hardware without software intervention. Each
filter bank consists of two 32-bit registers CAN_ FxR0 and CAN_ FxR1 composition. The bit width
of the filter group can be configured as one 32-bit filter or two 16 bit filters. Each filter
group can be configured as masked bit or identifier list mode, and each filter group can be enabled
or disabled.

In the masked bit mode, the two registers are respectively the 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]

CAN_ FxR1[23:16]

CAN_
FxR1[15:8]

CAN_ FxR1[7:0]

Masked

bit

register

CAN_
FxR2[31:24]

CAN_ FxR2[23:16]

CAN_
FxR2[15:8]

CAN_ FxR2[7:0]

mapping

STID[10:3]

STID[2:0]

EXID[17:13]

EXID[12:5]

EXID[4:0]

IDE

RTR

0

In identifier list mode, both registers are used as identifier registers, and each bit of the
received message identifier must be consistent with one of the registers to pass the filtering.

32 bit identifier list

Identifier
register

CAN_
FxR1[31:24]

CAN_ FxR1[23:16]

CAN_
FxR1[15:8]

CAN_ FxR1[7:0]

Masked

bit

register

CAN_
FxR2[31:24]

CAN_ FxR2[23:16]

CAN_
FxR2[15:8]

CAN_ FxR2[7:0]

mapping

STID[10:3]

STID[2:0]

EXID[17:13]

EXID[12:5]

EXID[4:0]

IDE

RTR

0

In the 16 bit mode, the register group is divided into four registers. The mask bit mode of each

Summary of Contents for ECAN-W01S

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

Page 2: ...1 SOCKET Function 8 4 2 2 TCP Client Function 8 4 2 3 TCP Server Functions 9 4 2 4 UDP Client Functions 9 4 2 5 UDP Server Features 9 4 2 6 CAN function 10 4 2 7 CAN protocol conversion format 13 4 3...

Page 3: ...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...

Page 4: ...rch 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 re...

Page 5: ...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 con...

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

Page 7: ...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 pho...

Page 8: ...r 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 net...

Page 9: ...pported 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 connectionle...

Page 10: ...eceived 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 nu...

Page 11: ...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 li...

Page 12: ...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...

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

Page 14: ...group can be enabled or disabled In the masked bit mode the two registers are respectively the identifier register and the masked register which need to be used together Each bit of the identifier re...

Page 15: ...register n CAN_ FxR1 31 24 CAN_ FxR1 23 16 Identifier register n 1 CAN_ FxR2 15 8 CAN_ FxR2 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 Whe...

Page 16: ...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...

Page 17: ...ion 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 da...

Page 18: ...4 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 no...

Page 19: ...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...

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

Page 21: ...nual 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...

Page 22: ...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 6139...

Reviews: