Ebyte E810-TTL-CAN01 User manual

Chengdu Ebyte Electronic Technology Co., Ltd. E810-TTL-CAN01 User Manual
Co Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd. 1
Contents
1 Product Overview..................................................................................................................................................................
1.1 Introduction.................................................................................................................................................................
1.2 Feature........................................................................................................................................................................
1.3 Application..................................................................................................................................................................
2. Technical Parameters............................................................................................................................................................
2.1 Limit parameter...........................................................................................................................................................
2.2 Operating parameter...................................................................................................................................................
3 Size and pin definition ...........................................................................................................................................................
4 Mode Instructions..................................................................................................................................................................
4.1 Operating mode...........................................................................................................................................................
4.2 UART connection.......................................................................................................................................................
4.3 Data conversion method.....................................................................................................................................................
4.3 Transparent conversion...............................................................................................................................................
4.3.1 Frames in UART converts to CAN message................................................................................................
4.3.2 CAN message converts to frames in UART.................................................................................................
4.4 Conversion example(Transparent conversion)......................................................................................................
4.4.1 Frames in UART converts to CAN message...................................................................................................
4.4.2 CAN message converts to frames in UART....................................................................................................
4.5 Transparent tape identification conversion.................................................................................................................
4.5.1 Frames in UART converts to CAN message...................................................................................................
4.5.2 CAN message converts to frames in UART....................................................................................................
4.6 Conversion example(transparent tape identification)............................................................................................
4.6.1 Frames in UART converts to CAN message...................................................................................................
4.6.2 CAN message converts to frames in UART....................................................................................................
4.7 Protocol mode.............................................................................................................................................................
4.8 Conversion example(Protocol mode)....................................................................................................................
4.8.1 Frames in UART converts to CAN message...................................................................................................
4.8.2 CAN message converts to frames in UART.................................................................................................
4.9 ModBus mode.............................................................................................................................................................
5 Operation Instructions............................................................................................................................................................
5.2 Command overview....................................................................................................................................................
5.3 Command error code..................................................................................................................................................
5.4 Command list..............................................................................................................................................................
5.4 Command details........................................................................................................................................................
5.4.1 AT test command..............................................................................................................................................
5.4.2 AT+CANFLT Inquire/set CAN filter info.....................................................................................................
5.4.3 AT+CAN inquire/set transmitted CAN parameter info...................................................................................
5.4.4 AT+EXAT exit AT command...........................................................................................................................
5.4.5 AT+E inquire/set command echo mode...........................................................................................................
Function:inquire/set command echo mode............................................................................................................
Format:inquire........................................................................................................................................................
5.4.6 AT+MODBUSID inquire/set MODBUS ID....................................................................................................
5.4.7 AT+MODE inquire/set operating mode........................................................................................................

Chengdu Ebyte Electronic Technology Co., Ltd. E810-TTL-CAN01 User Manual
Co Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd. 2
5.4.8 AT+MID inquire module name........................................................................................................................
5.4.9 AT+RESTORE restore factory default setting..............................................................................................
5.4.10 AT+REBT reset module.................................................................................................................................
5.4.11 AT+UARTPKT inquire/set UART sub=packing info....................................................................................
5.4.12 AT+UART inquire/set UART parameter.......................................................................................................
5.4.13 AT+VER inquire module version info...........................................................................................................
6 Hardware design............................................................................................................................................................
7. FAQ.......................................................................................................................................................................................
7.1 Module is easy to damage...........................................................................................................................................
7.3 Unable to use after parameter is changed...........................................................................................................
8. Soldering guidance...............................................................................................................................................................
8.1 Reflow soldering temperature.....................................................................................................................................
8.2 Reflow soldering curve...............................................................................................................................................
9. Packing..................................................................................................................................................................................
9.1 Anti-statistic pallet......................................................................................................................................................
Revision history........................................................................................................................................................................
About us................................................................................................................................................错误!未定义书签。

Chengdu Ebyte Electronic Technology Co., Ltd. E810-TTL-CAN01 User Manual
Co Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd. 3
1 Product Overview
1.1 Introduction
E810-TTL-CAN01 is a cost-effective CAN-BUS product with
powerful data analysis capabilities. The intelligent protocol conversion
module is compact and easy to install. It is a reliable assistant for
engineering applications, project debugging and product development.
E810-TTL-CAN01 is independently developed by Chengdu
Ebyte Electronic Technology Co., Ltd. It integrates the transparent
transmission function, master-slave integration, and is ready to use.
Configuration of module parameters and functions is available via serial port command. Conversion mode supports
transparent conversion, transparent tape identification conversion, protocol mode conversion, and Modbus
ASCII/RTU protocol conversion.
E810-TTL-CAN01 integrates one channel CAN-BUS interface and one channel UART TTL interface,
which can realize mutual transparent transmission or Modbus protocol conversion between UART TTL signal and
CAN-BUS. The CAN-TTL-01 is compact and can be powered from any 3.3V or 5V power supply for easy
integration into a variety of boards. Half-hole process, with pin welding holes at the same time, can be patched and
soldered, and can also be plugged and unplugged.
1.2 Feature
Bidirectional conversion between UART and CAN is available;
Conversion mode includes transparent conversion, transparent tape identification conversion and protocol mode
conversion;
Modbus RTU protocol conversion is available;
Two CAN frame data types transmission methods: fixed configuration and serial frame data designation;
Parameter configuration via UART interface is available;
UART baud rate : 300~921600
Enter parameter setting mode via software and hardware;
Factory parameters is restored either via software or hardware;
It contains multiple indications such as a power indicator, status indicator, mode indicator.

Chengdu Ebyte Electronic Technology Co., Ltd. E810-TTL-CAN01 User Manual
Co Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd. 4
1.3 Application
CAN-BUS networks in Industrial control;
Auto and railway equipment networking, on-site network data monitoring;
For existing RS-232 devices to be connected to the CAN-bus network;
Underground remote communication;
Security, fire protection network;
⚫CAN-bus application systems such as Intelligent building control data broadcasting system;
Parking equipment control;
Smart home.
2. Technical Parameters
2.1 Limit parameter
Main parameter
Performance
Note
Min
Max
Voltage supply (V)
2.3
5.5
Voltage over 5.5V will cause permanent damage to module, 5V
and 3.3V are recommended
Operating temperatur(℃)
-40
+85
Industrial grade
2.2 Operating parameter
Category
Items
Value
UART
Baud rate
115200 bps
Parity
none
Data bit
8
Stop bit
1
Flow Control
off
CAN
CAN baud rate Flow Control
100kbps
CAN ID
0x00000000
Flow Control
off
Default operating mode
Transparent transmission mode
Receive all kinds of data
Default device address
Modbus device address
Default device address is 1
Frame sub-packing
parameter
Time
10ms
Byte
1000byte

Chengdu Ebyte Electronic Technology Co., Ltd. E810-TTL-CAN01 User Manual
Co Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd. 5
3 Size and pin definition
No.
Item
Direction
Application
1
CANH
CAN high
CAN high
2
CANL
CAN low
CAN low
3
GND
Ground
Ground
4
TXD
UART transmit
Module transmits UART data
5
RXD
UART receive
Module receives UART data
6~12
NC
-
-
13
GND
Ground
Ground
14
VCC
Power input
Power input,5V or 3.3V is recommended
15
GND
Ground
Ground
16
RESET
Reset pin
The module with low level input enters the hardware reset state, and the
module with high level input returns to the normal working state. This
function is used for reset operation in an emergency.
17
CFG
Hardware
parameter setting
pin
For parameter setting,it should be connected with GND in short circuit.
18
Restore
Restore default
For restoring ,it should be connected with GND in short circuit for 5S.
Only valid when reset or power on again.
19~20
NC
-
-
21
STE
State indicator
When there is data transfer, the STE pin is low level
22~25
NC
-
-
26
RTS
Hardware control
flow pin
Hardware control flow pin RTS
27
CTS
Hardware control
flow pin
Hardware control flow pin CTS
28
GND
Ground
Ground

Chengdu Ebyte Electronic Technology Co., Ltd. E810-TTL-CAN01 User Manual
Co Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd. 6
4 Mode Instructions
4.1 Operating mode
There are two modes for E810-TTL-CAN01, normal and configuration mode.
Mode
Function
Normal
The general mode of the module is normal mode, and it works normally when it is powered on.
Configuration
The mode in which the module can be configured. For details on how to enter the configuration
mode, see Chapter 5: Instructions on Entering Command Configuration
4.2 UART connection
The level for E810-TTL-CAN01 is 3.3V,it can be connected to UART interface of MCU directly.
4.3 Data conversion method
⚫
There are four data conversion method: transparent conversion, transparent tape identification conversion,
protocol conversion and MODBUS conversion;
⚫
Bidirectional conversion between UART and CAN is available;
Data Conversion Method
Data Conversion Direction
Transparent conversion
Bidirectional conversion between UART and CAN
Transparent tape identification conversion
Bidirectional conversion between UART and CAN
Protocol conversion
Bidirectional conversion between UART and CAN
MODBUS conversion
Bidirectional conversion between UART and CAN

Chengdu Ebyte Electronic Technology Co., Ltd. E810-TTL-CAN01 User Manual
Co Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd. 7
4.3 Transparent conversion
Transparent conversion: The converter converts the bus data of one format to the data format of another bus as it
is, without adding data or modifying it. The data format is exchanged without changing the data content. For the bus
at both ends, the converter is like "transparent".
The E810-TTL-CAN01 module can convert the valid data received by the CAN bus to the UART, and the
UART outputs the same data. Similarly, the module can also convert the data received by the UART to the CAN bus,
and realize transparent conversion between UART and CAN.
4.3.1 Frames in UART converts to CAN message
All data in the UART frames is sequentially filled into the data field of the CAN message frame. The converter
receives and converts as soon as it detects that there is data on the serial bus.The frame type and frame ID of the
converted CAN message come from the user's prior configuration, and the frame type and frame ID remain
unchanged during the conversion process. The corresponding format of data conversion is shown as below.
If the received serial frame length is less than or equal to 8 bytes, the characters 1 to n (n is the serial frame
length) are sequentially filled into the 1 to n byte position of the data field of the CAN message (as shown in the
figure, n is 7).
If the frame length is greater than 8, starting from the first character of the serial frame, for the first time the
processor takes 8 characters to fill the data field of the CAN message in turn; after the data is sent to the CAN bus, the
conversion is performed. The remaining serial frame data is filled into the data field of the CAN message until its data
is completely converted.

Chengdu Ebyte Electronic Technology Co., Ltd. E810-TTL-CAN01 User Manual
Co Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd. 8
4.3.2 CAN message converts to frames in UART
All data in the data field of the CAN message frame is sequentially filled into the serial frame data; the converter
receives and converts immediately after detecting the data on the CAN bus.

Chengdu Ebyte Electronic Technology Co., Ltd. E810-TTL-CAN01 User Manual
Co Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd. 9
4.4 Conversion example(Transparent conversion)
4.4.1 Frames in UART converts to CAN message
Assume that the frame information converted into CAN message is "standard frame" and the frame ID (ID1,
ID2) is set to 0060, then the conversion format is as shown in the figure below.
4.4.2 CAN message converts to frames in UART
Assume that the frame information of CAN message is "standard frame" and the frame ID (ID1, ID2) is set to
0060, then the conversion format is as shown below.

Chengdu Ebyte Electronic Technology Co., Ltd. E810-TTL-CAN01 User Manual
Co Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd. 10
4.5 Transparent tape identification conversion
Transparent tape identification conversion is a special use of transparent conversion without any protocol
attached. This conversion method is based on the common characteristics of the usual serial frame and CAN message,
so that the two different bus types can easily form a same communication network.
In this mode, the CAN bus receiver can add the received frame information of the CAN message and the frame
ID to the converted serial frame. In this way, the receiver can clearly see the sender's CAN message to ensure more
flexible use.
4.5.1 Frames in UART converts to CAN message
With the transparent conversion, all the data of the serial frame is sequentially filled into the data field of the
CAN message frame. The converter receives and converts as soon as it detects that there is data on the serial bus.
The frame type and frame ID of the converted CAN message come from the user's prior configuration, and the
frame type and frame ID remain unchanged during the conversion process. The corresponding format of data
conversion is shown in Figure 4.1.
If the received serial frame length is less than or equal to 8 bytes, the characters 1 to n (n is the serial frame

Chengdu Ebyte Electronic Technology Co., Ltd. E810-TTL-CAN01 User Manual
Co Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd. 11
length) are sequentially padded to the 1 to n byte position of the data field of the CAN message (as shown in the
figure, n is 8).
If the number of bytes of the serial frame is greater than 8, starting from the first character of the serial frame,
for the first time the processor takes 8 characters to fill the data field of the CAN message in turn; The data is sent to
the CAN bus before the conversion is performed. The remaining serial frame data is filled into the data field of the
CAN message until its data is completely converted.
4.5.2 CAN message converts to frames in UART
Once data is detected on the CAN bus via the converter, it is immediately received and converted. When the
converter receives a frame of CAN message, the frame is immediately converted . Whenever the conversion, the
CAN frame information and the frame ID are added to the serial frame. The conversion is the same as the CAN
message to serial frame of the following protocol mode. For details, please refer to the protocol mode), as shown in
the figure below.
Please note: whether the serial frame or CAN message is applied at the time of its frame format (standard frame
or extended frame) should meet the previously configured frame format requirements, otherwise communication may
fail.

Chengdu Ebyte Electronic Technology Co., Ltd. E810-TTL-CAN01 User Manual
Co Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd. 12
4.6 Conversion example(transparent tape identification)
4.6.1 Frames in UART converts to CAN message
Assume that the frame information converted into CAN message is "standard frame" and the frame ID (ID1,
ID2) is set to 0060, then the conversion format is as shown in the figure below.

Chengdu Ebyte Electronic Technology Co., Ltd. E810-TTL-CAN01 User Manual
Co Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd. 13
4.6.2 CAN message converts to frames in UART
CAN transmit:
Frame format:extension frames
Frame type:data frames
ID :0x12345678
Data :AAh BBh CCh DDh EEh
Frames in UART receive:85 12 34 56 78 AA BB CC DD EE 00 00 00
0x85 indicates that the frame format is an extended frame, the frame type is a data frame, and the data length is 5
The last four digits indicate that the CAN ID is 12345678.
The last 8 bits are the data area, the effective length is 5, and the remaining bits are filled with 0.

Chengdu Ebyte Electronic Technology Co., Ltd. E810-TTL-CAN01 User Manual
Co Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd. 14
4.7 Protocol mode
The data conversion format of E810-TTL-CAN01 module is as follows. Each CAN frame contains 13 bytes, and
the 13-byte contents include CAN frame information + frame ID + frame data.

Chengdu Ebyte Electronic Technology Co., Ltd. E810-TTL-CAN01 User Manual
Co Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd. 15
4.8 Conversion example(Protocol mode)
4.8.1 Frames in UART converts to CAN message
Frames in UART transmit:05 00 00 06 78 12 34 56 78 90 00 00 00
0x05 indicates that the frame format is a standard frame, the frame type is a data frame, and the data length is 5.

Chengdu Ebyte Electronic Technology Co., Ltd. E810-TTL-CAN01 User Manual
Co Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd. 16
00 00 06 78 indicates ID is 0678
12 34 56 78 90 00 00 00 is data field,valid length is 5,as shown below:
4.8.2 CAN message converts to frames in UART
CAN transmits:
Frame format:extension frames
Frame type:data frames
ID :0x12345678
Data :AAh BBh CCh DDh EEh
Frames in UART receives:85 12 34 56 78 AA BB CC DD EE 00 00 00
0x85 indicates that the frame format is an extended frame, the frame type is a data frame, and the data length is 5
The last four digits indicate that the CAN ID is 12345678.
The last 8 bits are the data area, the effective length is 5, and the remaining bits are filled with 0, as shown
below,

Chengdu Ebyte Electronic Technology Co., Ltd. E810-TTL-CAN01 User Manual
Co Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd. 17
4.9 ModBus mode
Modbus conversion mode supports RTU conversion mode. The E810-TTL-CAN01 module is used as a slave
device to receive and respond to commands sent by the host (via the UART).
The E810-TTL-CAN01 conversion module supports two Modbus commands: read register (function code 03)
and write multiple registers (function code 16).
A buffer is internally built in the conversion module for buffering the received CAN frame data, and the buffer
has a total of 64 levels of buffer according to the addresses 0~63. The cache address starts from 0 to address 63, and
can continuously buffer 8 frames of CAN data (8 bytes per frame, a total of 64 bytes). When the first frame of CAN
data is received, the CAN frame data is stored in address 0, and the received CAN frame data is sequentially stored in
increasing order according to the address. If the 64-level cache is full, the newly received CAN frame data will be
stored in address 0 and overwrite the original number, following FIFO.
Read register (function code 03):
Send command:
[Device Address] [Command No. 03 (0x03)] [Start Register Address is 8 Bits High] [8 Bits Low] [Read Register
Numbers is 8 Bits High] [8 Bits Low]
[High 8 bits of CRC check] [Lower 8 bits of CRC check]

Chengdu Ebyte Electronic Technology Co., Ltd. E810-TTL-CAN01 User Manual
Co Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd. 18
The read format is only allowed to read 00 08 from address 00 00 (one byte of data is read at a time, that is, data of 00
00 – 00 07 address is read), after reading successfully, the 8 The byte data will be emptied, and the data after its
address will move forward by 8 data.
such as:
When the module in MODBUS mode, the CAN bus receives 4 frames of data:
First frame: 0x01 0x02 0x03 0x04 Total: 4 bytes of data
Second frame: 0x0A 0x0B 0x0C 0x0D 0x0E 0x0F Total: 6 bytes of data
Third frame: 0x11 0x22 0x33 0x44 0x55 0x66 0x77 0x88 Total:8 bytes of data
Fourth frame: 0XAA 0XBB 0XCC Total: 3 bytes of data
They are stored in the MODBUS cache address:
(The address without data is 0x00)

Chengdu Ebyte Electronic Technology Co., Ltd. E810-TTL-CAN01 User Manual
Co Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd. 19
With the command: 01 03 00 00 00 08 (in the slave device with address 01, read 8 data starting from address
0000) Write this command to the special tool (Modbus CRC 16 calculator) to calculate the CRC check. The value is
added after the instruction. This command is issued via the UART: 01 03 00 00 00 08 44 0C. When the slave receives
the instruction, it returns the buffer value inside the slave conversion module. (When no new CAN frame data is
received, the cache value read by the host is all 0)
Return instruction:
[Device Address] [Command No. 03] [Number of Bytes Returned] [Data 1] [Data 2]...[Data n] [High 8 bits of
CRC check] [Low 8 bits of CRC check]
Such as:
Once the slave receives instruction 01 03 00 00 00 08 44 0C,it returns:
01 03 10 00 01 00 02 00 03 00 04 00 00 00 00 00 00 00 00 1F 9F
After the reading is completed, the 8 bytes of data are emptied, and the data after the address is moved forward
by 8 data. As shown below:
Table of contents
Other Ebyte Network Hardware manuals

Ebyte
Ebyte E01-2G4M27S User manual

Ebyte
Ebyte E103-W10 User manual

Ebyte
Ebyte E22-900MM22S Installation instructions

Ebyte
Ebyte E104-BT12NSP User manual

Ebyte
Ebyte EA01-D User manual

Ebyte
Ebyte MBL Series User manual

Ebyte
Ebyte E83-2G4M03S User manual

Ebyte
Ebyte EA01-SG User manual

Ebyte
Ebyte E01-ML01IPX User manual
Popular Network Hardware manuals by other brands

Idis
Idis DR-4100P Series installation manual

Extron electronics
Extron electronics PVT CV D Specification sheet

Extron electronics
Extron electronics AVTrac Demonstration Kit Setup guide

National Instruments
National Instruments FieldPoint FP-2000 user manual

Belden
Belden Grass Valley Thunder user guide

ADTRAN
ADTRAN 1200 Series Specifications