Difference between revisions of "ROM-6881 How to use CAN"

From ESS-WIKI
Jump to: navigation, search
(Created page with " ROM-6881 has two CANs. The following commands set one CAN as sender and the other as receiver.  == SOM-DB2510 CAN Setting == File:SOM-DB2510 CAN0 1.PNG '''P...")
 
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
ROM-6881 has two CANs. The following commands set one CAN as sender and the other as receiver. 
 
ROM-6881 has two CANs. The following commands set one CAN as sender and the other as receiver. 
  
 +
'''Note:RK3588 CAN2.0 Errata;'''
 +
 +
'''CAN2.0 Errata: '''[https://pan.baidu.com/s/1EjIwk1i0RexK1AMZ0LhtWw?pwd=a887 CAN2.0 Errata]   Password:a887
  
 
== SOM-DB2510 CAN Setting ==
 
== SOM-DB2510 CAN Setting ==
  
[[File:SOM-DB2510 CAN0 1.PNG]]
+
[[File:SOM-DB2510 CAN0 1.PNG|RTENOTITLE]]
  
 
'''Preparation:'''
 
'''Preparation:'''
Line 22: Line 25:
 
<pre># /tools/test/adv/can/can_test.sh can1 can0</pre>
 
<pre># /tools/test/adv/can/can_test.sh can1 can0</pre>
  
[[File:ROM-6881 CAN.png]]
+
[[File:ROM-6881 CAN.png|RTENOTITLE]]

Latest revision as of 08:17, 24 June 2024

ROM-6881 has two CANs. The following commands set one CAN as sender and the other as receiver. 

Note:RK3588 CAN2.0 Errata;

CAN2.0 Errata: CAN2.0 Errata   Password:a887

SOM-DB2510 CAN Setting

RTENOTITLE

Preparation:

  •  Connect CAN0's CAN_L (PIN2 DB9) to CAN1's CAN_L (PIN2 DB9).
  •  Connect CAN0's CAN_H (PIN7 DB9) to CAN1's CAN_H (PIN7 DB9).

Testing

Run the following command on DUT Terminal、ADB or Debug console:

can0 is receiver, can1 is sender

# /tools/test/adv/can/can_test.sh can0 can1

can1 is receiver, can0 is sender

# /tools/test/adv/can/can_test.sh can1 can0

RTENOTITLE