Go to advanced search

by pier1999
Sat Apr 18, 2015 7:29 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 814
Views: 346775

Re: CAN controller

I tried the fixed overlay and now It works as expected. The interface status shows the right clock value (10000000) and I can send and receive messages.
Thanks a lot Martin for sharing the fixed overlay.
Pier
by pier1999
Fri Apr 17, 2015 3:58 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 814
Views: 346775

Re: CAN controller

Thank you Martin, do you think the fix will take days or weeks to be in the firmware update? Just to know so that if it take long I'll revert to the old method on the last working kernel.
by pier1999
Fri Apr 17, 2015 3:48 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 814
Views: 346775

Re: CAN controller

Thanks for the reply. When I bring the interface up, messages about the missing baudrate disappear and the interface status is ERROR-ACTIVE (which I learnt from the previous setup is the right status) . As soon as I try to send a message or there is a message waiting to be read, I get 2 error frame...
by pier1999
Fri Apr 17, 2015 3:29 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 814
Views: 346775

Re: CAN controller

Thanks for the reply. When I bring the interface up, messages about the missing baudrate disappear and the interface status is ERROR-ACTIVE (which I learnt from the previous setup is the right status) . As soon as I try to send a message or there is a message waiting to be read, I get 2 error frames...
by pier1999
Fri Apr 17, 2015 2:01 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CAN controller
Replies: 814
Views: 346775

Re: CAN controller

Hello, I had a setup working until I enabled the devicetree on kernel 3.18.11+ and did the following configuration of overlay parameters: dtparam=spi=on dtoverlay=mcp2515-can0-overlay,oscillator=20000000,interrupt=25 dtoverlay=spi-bcm2835-overlay Note the 20 MHz oscillator which is the freq of my ca...

Go to advanced search