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

From ESS-WIKI
Jump to: navigation, search
 
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; '''[https://pan.baidu.com/s/1EjIwk1i0RexK1AMZ0LhtWw?pwd=a887 CAN2.0 Errata]   Password:a887
+
'''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 ==

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