Difference between revisions of "CAN(ROM-5880)"
From ESS-WIKI
Xingxing.li (talk | contribs) |
Xingxing.li (talk | contribs) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | |||
+ | === '''CAN2.0''' === | ||
+ | |||
+ | '''Note:RK3568 CAN2.0 Errata;''' | ||
+ | |||
+ | '''CAN2.0 Errata:[https://pan.baidu.com/s/1WeQwXmE409gA4vJxhRqusg?pwd=a887 CAN2.0 Errata ] '''提取码:a887 | ||
+ | |||
+ | '''CAN2.0 Patch:'''[https://pan.baidu.com/s/1I5MOuiH3uVn2xJjP8VuVVA?pwd=a887 Baidu] Password:a887 | ||
'''Connect CAN0 and CAN1.(SOM-DB2510 HW Connector:CAN0_1)''' | '''Connect CAN0 and CAN1.(SOM-DB2510 HW Connector:CAN0_1)''' | ||
Line 9: | Line 17: | ||
'''[[File:SOM-DB2510 CAN0 1.PNG|RTENOTITLE]]''' | '''[[File:SOM-DB2510 CAN0 1.PNG|RTENOTITLE]]''' | ||
+ | |||
+ | '''测试CAN2.0功能指令:''' | ||
<pre># ip link set can0 down | <pre># ip link set can0 down | ||
# ip link set can0 type can bitrate 1000000 | # ip link set can0 type can bitrate 1000000 | ||
Line 18: | Line 28: | ||
# ip link set can1 up | # ip link set can1 up | ||
# ip -details link show can1 | # ip -details link show can1 | ||
− | # cansend can1 123# | + | # cansend can1 123#55 |
− | + | </pre> | |
− | |||
− | |||
− | [[File:ROM-5880 CAN2.0 loopback.png| | + | [[File:ROM-5880 CAN2.0 loopback.png|1000x800px|ROM-5880 CAN2.0 loopback.png]] |
Latest revision as of 07:37, 24 June 2024
CAN2.0
Note:RK3568 CAN2.0 Errata;
CAN2.0 Errata:CAN2.0 Errata 提取码:a887
CAN2.0 Patch:Baidu Password:a887
Connect CAN0 and CAN1.(SOM-DB2510 HW Connector:CAN0_1)
Short CAN0_1 Pin header ,Loopback test for example:
CAN0 PIN4->CAN1 PIN14
CAN0 PIN3->CAN1 PIN13
测试CAN2.0功能指令:
# ip link set can0 down # ip link set can0 type can bitrate 1000000 # ip link set can0 up # ip -details link show can0 # candump can0 & # ip link set can1 down # ip link set can1 type can bitrate 1000000 # ip link set can1 up # ip -details link show can1 # cansend can1 123#55