ROM-6881 How to use CAN
From ESS-WIKI
Revision as of 08:11, 3 January 2024 by Xingxing.li (talk | contribs) (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...")
ROM-6881 has two CANs. The following commands set one CAN as sender and the other as receiver.
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