Go to advanced search

by Andreas Munoz
Wed Sep 17, 2014 3:11 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 814
Views: 346974

Re: CAN controller

I see these result before and after cansend. can0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 UP RUNNING NOARP MTU:16 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:10 RX bytes:0 (0...
by Andreas Munoz
Tue Sep 16, 2014 3:24 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 814
Views: 346974

Re: CAN controller

To configure the interface I write: sudo ip link set can0 type can bitrate 250000 loopback on And the interface shows: 3: can0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UNKNOWN mode DEFAULT qlen 10 link/can can <LOOPBACK> state ERROR-ACTIVE restart-ms 0 bitrate 250000 sample-point 0.85...
by Andreas Munoz
Tue Sep 16, 2014 1:29 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 814
Views: 346974

Re: CAN controller

Hi Gerd, I just changed the mcp2515 chip and the problem disappeared. Thanks for the interest Gerd. Now I'm trying to send a CAN message, but when I use "cansend", I can't see any change in the SPI outputs and of course none in the CAN outputs. I used the schematic of the http://skpang.co.uk/catalog...
by Andreas Munoz
Mon Sep 15, 2014 11:35 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 814
Views: 346974

Re: CAN controller

Hi, I just have tried the new modules for 3.12.28+, but I have the same problem I had with the old ones. I have a problem with spi-config, because in the initialization it gaves me an error "mcp251x spi0.0: probe failed". The problem is that when the module reset the mcp2515, after that it tries to ...
by Andreas Munoz
Tue Aug 19, 2014 7:17 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 814
Views: 346974

Re: CAN controller

Hi everyone, I've been following this forum for a few time and I've tried most of the solutions you are sharing on it, but I can't make CAN works. The better result I obtained was to transmit info over SPI but the MCP2515 never transmit CAN. I have now the Kernel version 3.12.20+, but I'm thinking o...

Go to advanced search