Go to advanced search

by nexulm
Fri Jul 19, 2013 10:38 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 817
Views: 399525

Re: CAN controller

Hi, Cannot find device "can0" It´s also strange that wlan0 is missing after loading kernel modules. I think this has something to do with each other. I don't think that can0 and wlan0 depends on each other. My USB-WLAN interface is working with the MCP2515 in parallel. For me it seems tha...
by nexulm
Fri Jul 19, 2013 8:18 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 817
Views: 399525

Re: CAN controller

Hello Felix, hello Gerd, Hi feliks, However CAN interface is not present after modprobe of kernel modules. wlan0 is also missing after this step. Setting up can0 failes like this: ip link set can0 type can bitrate 125000 loopback on RTNETLINK answers: Operation not supported IMHO bitrate is not supp...
by nexulm
Tue Jul 16, 2013 10:03 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 817
Views: 399525

Re: CAN controller

Hello 123456 (nice name 8-) ), 1. Kernel configuration 2. MCP2515 Asynchronous Driver patch 3. SPI low latency patch 4. compiling the kernel The correct order is: 1. MCP2515 Asynchronous Driver patch 2. Kernel configuration 3. SPI low latency patch 4. compiling the kernel You must first apply the MC...
by nexulm
Mon Apr 15, 2013 9:30 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 817
Views: 399525

Re: CAN controller

What does "ip -s -d link show can0; ip -s -d link show can1" say ? In fault case if CAN0 stops receiving the output of the commands is: 3: can0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UNKNOWN mode DEFAULT qlen 10 link/can can state ERROR-ACTIVE (berr-counter tx 0 rx 0) res...
by nexulm
Mon Apr 15, 2013 10:09 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 817
Views: 399525

Re: CAN controller

Hello Gerd, There is a flag for the SPI-DMA transfer which should raise the CS line automatically after last bit was transfered. Does the new SPI driver use DMA with this flag on? I think Martin (msperl) is the expert for his driver/patch! The async MCP2515 code from Andre B. Olivera wasn't tested a...
by nexulm
Sat Apr 13, 2013 12:35 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 817
Views: 399525

Re: CAN controller

...and the missing measurements. ;-)

Mike
by nexulm
Sat Apr 13, 2013 12:32 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 817
Views: 399525

Re: CAN controller

Hello, two day ago I've measured the Interrupt and SPI behaviour on my 2x MCP2515 CAN-Interface setup. I'm using raspbian with Kernel 3.6.y, the spi-latency patch and the newer MCP2515 driver. The MCP2515 interrupts are routed to GPIO25 (CAN0) and GPIO24 (CAN1). The problem that one of the CAN inter...
by nexulm
Wed Apr 03, 2013 7:06 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 817
Views: 399525

Re: CAN controller

Hello maddin1234, as I'm see the same problem on my setup 2x CAN interfaces with MCP2515/PCA82C250, 12MHz and GPIO-Interrupts on GPIO25 (CAN0) / GPIO24 (CAN1) with Kernel 3.6.11. I've read a lot across the forum. I was using cangw from the can-utils to make a CAN-Gateway with the Raspi as I've seen ...

Go to advanced search