Go to advanced search

by xxethanixx
Wed Feb 25, 2015 11:39 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 813
Views: 338773

Re: CAN controller

Okay so after all that fun configuration and headaches, I was finally able to take the time and hookup my pi to the obdII shell with CAN_H on pin 6 and CAN_L on pin 14. After that, I started up the canbus, and set the baud rate to 500000 (500kb). Finally I thought I was going to be able to listen in...
by xxethanixx
Wed Feb 25, 2015 5:54 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 813
Views: 338773

Re: CAN controller

After messing around, I found out I needed to use the following command to bring up the link: ip link set can0 type can bitrate 125000 loopback on (I changed the bitrate just for testing) Additionally, I used your suggestion and created a simple shell script to bring down/up the device which accepts...
by xxethanixx
Tue Feb 24, 2015 12:41 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 813
Views: 338773

Re: CAN controller

Thanks Martin! I'm not sure what I did different, but I did the steps you provided an I can see this is now working semi-correctly. By that, I mean the bit timing is now set correctly, but I am still unable to send data to can0, and read it correctly. Below you can see some further details: root@ras...
by xxethanixx
Mon Feb 23, 2015 4:54 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 813
Views: 338773

Re: CAN controller

Hello All, I would like to thank this entire community for the support on this subject. I have spent my weekend attempting to configure my pi with the pican board. I seem to be getting pretty close to being able to use this pican board with the canutils, but I cant seem to get any output from candum...

Go to advanced search