Go to advanced search

by DK9
Sun Jan 29, 2017 11:36 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: mcp2515 overlay
Replies: 1
Views: 983

Re: mcp2515 overlay

Whats the output in

Code: Select all

ip -s -d link show can0
  1. When it works as expected
  2. After it stops working
by DK9
Sun Jan 29, 2017 11:29 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RPI3 mcp2515 issues
Replies: 2
Views: 1449

Re: RPI3 mcp2515 issues

Hi, the 8 MHz is fine because http://lxr.free-electrons.com/source/drivers/net/can/spi/mcp251x.c?v=4.4 1036 clk = devm_clk_get(&spi->dev, NULL); 1037 if (IS_ERR(clk)) { 1038 if (pdata) 1039 freq = pdata->oscillator_frequency; 1040 else 1041 return PTR_ERR(clk); 1042 } else { 1043 freq = clk_get_rat...
by DK9
Sat Jan 28, 2017 3:23 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RPI3 mcp2515 issues
Replies: 2
Views: 1449

RPI3 mcp2515 issues

Cant get my head around this issue, even tho I've tested every single example, how-to and guides found in forums and other google searches. Ive enable dtoverlay for mcp2515 and spi and it kind of seems to work, except clock setting. Here's my outputs /boot/config.txt dtparam=spi=on dtoverlay=mcp2515...

Go to advanced search