Go to advanced search

by rudwna
Wed Mar 11, 2015 11:43 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 813
Views: 338960

Re: CAN controller

I thoughts i found the the problem. I've been prototyping them on breadboard and .. after I fiddling with some wires I've found that the power wires onto breadboard (or maybe the breadboard contact) is actually a problem. So I move it to somewhere else and ... it just works :| Thank you very much fo...
by rudwna
Tue Mar 10, 2015 11:22 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 813
Views: 338960

Re: CAN controller

The oscillators are the same and the CNF registers all have the same values :/
Or you connect a can transceiver to a pin on the rpi and sample that pin to estimate the bit rates on the bus to see what is expected.
Could you please explain this in more details?
by rudwna
Tue Mar 10, 2015 7:13 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 813
Views: 338960

Re: CAN controller

Are you sure you want to configure a baud-rate of 50k not 500k? I wonder because such errors you would get when you have a speed mismatch that result in bit stuff errors/missing acknowledge... Just checking if it is not a typo. Yes, at first I try configuring it at higher speed, same errors. So I t...
by rudwna
Tue Mar 10, 2015 5:57 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 813
Views: 338960

Re: CAN controller

Hi, I've tried to connect RPi and PIC MCU with MCP2515 and MCP2551 as CAN controller and transceiver at each node. One RPi and two PICs on the bus with 120ohm terminating resistor at each end. On RPi I use mcp251x on 3.6.11+ kernel with bit timing parameters set to match those on the PIC: bitrate 50...

Go to advanced search