Difference between revisions of "CAN(ROM-5880)"

From ESS-WIKI
Jump to: navigation, search
Line 1: Line 1:
 +
 +
=== '''CAN2.0——待更新''' ===
  
 
'''Connect CAN0 and CAN1.(SOM-DB2510 HW Connector:CAN0_1)'''
 
'''Connect CAN0 and CAN1.(SOM-DB2510 HW Connector:CAN0_1)'''
Line 9: Line 11:
  
 
'''[[File:SOM-DB2510 CAN0 1.PNG|RTENOTITLE]]'''
 
'''[[File:SOM-DB2510 CAN0 1.PNG|RTENOTITLE]]'''
<pre># 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##155</pre>
 
 
If there is no error, can0 will receive like the following:
 
<pre>can0 &nbsp;123 &nbsp; [1] &nbsp;55</pre>
 
 
[[File:ROM-5880 CAN2.0 loopback.png|RTENOTITLE]]
 

Revision as of 09:21, 6 May 2024

CAN2.0——待更新

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

RTENOTITLE