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,