I’m working on an Elixir application that I’m deploying to a Raspberry Pi Model B using Nerves and
I’m communicating with devices using
Circuits.SPI and the standard
/dev/spidev/0.1 channels. Now I’d like to talk to more devices, and use the second SPI interface to do so (info about SPI devices).
To do this, I am led to believe that I need to add the following line to
I have therefore followed the instructions for overwriting files in the boot partition. I copied
config.txt to my '/config
directory and edited them andconfig.exs` to point to one another.
However, when I deploy to my RPi, the devices do not show up:
iex> Toolshed.cmd "ls /dev/spi*" /dev/spidev0.1 /dev/spidev0.0
I was hoping for a
/dev/spidev1.0! My change is definitely there:
iex> Toolshed.cmd "grep spi /boot/config.txt" dtparam=spi=on dtoverlay=spi1-3cs
Help! How do I troubleshoot this? is there something I’m missing? I would appreciate any pointers I can get!