Open ingenieroariel opened 7 years ago
Done, let's add pictures of the adapter we had to make, where we connected on the car and what commands we need to run in order to enable it. After that we can close the ticket.
This is the connector for the Kvaser interface
According to Kvaser guide http://www.kvaser.com/software/7330130980146/V1_2_189/kvaser_leaf_light_v2_usersguide.pdf the pins in the db9 pins are
2 CAN LOW 3 GROUND 7 CAN HIGH
There is a 120 resistor between CAN HIGH and CAN LOW
These are the commands to setup the Kvaser interface with can-utils:
sudo modprobe can
sudo modprobe can-raw
sudo modprobe can-dev
sudo modprobe kvaser_usb
sudo ip link set can0 type can bitrate 500000
sudo ifconfig can0 up
should be