Difference between revisions of "ROM-6881 How to use CAN"
From ESS-WIKI
Xingxing.li (talk | contribs) |
Xingxing.li (talk | contribs) |
||
Line 1: | Line 1: | ||
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;''' | ||
== SOM-DB2510 CAN Setting == | == SOM-DB2510 CAN Setting == |
Revision as of 07:53, 21 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;
SOM-DB2510 CAN Setting
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