Changes for page LSS-PRO CAN Bus

Last modified by Eric Nantel on 2025/03/24 07:17

From version < 10.1 >
edited by Eric Nantel
on 2024/11/25 14:38
To version < 8.1 >
edited by Eric Nantel
on 2024/11/25 14:30
< >
Change comment: Uploaded new attachment "Extended-CAN-frame-structure.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -1,20 +10,5 @@
1 -LSS-PRO uses the extended CAN frame format to send and receive LSS command information.
2 -
3 -Since LSS commands are character data (1 character 1 byte), they cannot be directly assigned to the CAN Data field (8 bytes). Therefore, it converts the LSS command and assigns the conversion information to the **Identifier **and **Data field** of the extended CAN frame format.
4 -
5 -**Extended CAN frame format (29-bit CAN ID)**
6 -
7 -Extended CAN 2.0 B has 29-bit identifier which means that there are 2^29 = 536,870,912 unique CAN-IDs. With a longer 29-bit identifier field, Extended CAN frames support a significantly larger address space. accommodating up to or over 500 million unique message identifiers.
8 -
9 -Example: 10101010111000111010101011101 (binary 29 bits) i.e., 0x155C755D (hex).
10 10  
11 11  
12 -Assign LSS command information to the field in green in this image~:
13 -
14 -[[image:Extended-CAN-frame-structure.png]]
15 -
16 -
17 -
18 18  |(% colspan="2" rowspan="1" style="text-align:center" %)**Data format on USB-Serial**|(% rowspan="16" style="text-align:center" %) |(% colspan="3" rowspan="1" style="text-align:center" %)**Data format on CAN-Bus**
19 19  |(% colspan="2" rowspan="1" style="width:150px" %) |(% style="width:150px" %)ID[28-20]|(% style="width:300px" %)Reserved|
20 20  |(% style="background-color:yellow; width:150px" %)Header|(% style="background-color:yellow" %)# or *|(% style="background-color:yellow" %)ID[19]|(% style="background-color:yellow" %)Request/Response (0:Request 1:Response)|(% style="background-color:yellow" %)# = 0, * = 1
Copyright RobotShop 2018