0

I updated my raspi to 3.18.7+ last days and i also need new driver for my modules. I was waiting for PICAN board driver for pi and yesterday i uploaded it. Before uploaded;

ls -al /dev/spi*

crw-rw---T 1 root spi 153, 1 Jan 1 1970 /dev/spidev0.0

crw-rw---T 1 root spi 153, 1 Jan 1 1970 /dev/spidev0.1

After;

ls -al /dev/spi*

crw-rw---T 1 root spi 153, 1 Jan 1 1970 /dev/spidev0.1

Because of my project needs, i should use 2 channel on spi. one for PICAN board the other one MCP3008.

Who can give me an advice?

  • I guess you are using device tree. Have you any entries in /boot/config.txt relating to dtoverlay? – joan Mar 17 '15 at 12:30
  • there are no entries in /boot/config.txt relating to dtoverlay – gulyvz Mar 17 '15 at 12:46
  • How is the PICAN driver configured? Is spidev0.1 the channel used by PICAN? – joan Mar 17 '15 at 12:57
  • this is configuration command : modprobe spi-config devices=bus=0:cs=0:modalias=mcp2515:speed=10000000:gpioirq=25:pd=20:pds32-0=16000000:pdu32-4=0x2002:force_release – gulyvz Mar 17 '15 at 13:50
  • Do both devices exist before you modprobe PICAN? Are you using device tree? Do you have a dtparam=spi=on entry in /boot/config.txt? – joan Mar 17 '15 at 14:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.