Ebyte E810-DTU User Manual page 18

Intelligent protocol converter can-rs485
Hide thumbs Also See for E810-DTU:
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,LTD
88h
11h
Below is the standard frame,frame ID is 0x789,5 bytes valid data format(12h,34h,56h,78h,90h).
05h
00h
00h
Please note:every frame contains 13 bytes,add 0 if bytes are not enough, otherwise, communication may fail.
For example:
CAN message converts to frames in UART
1.
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,
Frames in UART converts to CAN message
2.
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.
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:
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd.
22h
33h
44h
11h
07h
89h
12h
22h
33h
44h
34h
56h
78h
90h
:
E810-DTU(CAN-RS485) User Manual
55h
66h
77h
88h
00h
00h
00h
18

Advertisement

Table of Contents
loading

Table of Contents