ROM-6881 How to use CAN
From ESS-WIKI
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
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