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.