I installed Raspbian
4.1.18-v7+ on my new RPi 3 and WiFi works great however when I proceed with instructions for connecting the MCP3009 ADC I don't find spi-bcm2708 listed in
/etc/modprobe.d/raspi-blacklist.conf, nor do I find any spi module when I search with
lsmod | grep spi.
Hmm... is SPI not supported anymore?
Thanks, Steve and Joan. I now see "dtparam=spi=on" was appended to /boot/config.txt by raspi-config just as you predicted. Now I see spi_bmc2835 is listed in lsmod.
My MCP3008 tool is able to open the /dev/spidev0.0 device but fails to write SPI structures via ioctl() which returns errno=22 "Invalid parameter."
Also, spidev_test loopback test fails (MISO <-> MOSI connected). The output data is all "00 00 00 ..." when we are expecting "FF FF FF ...". I did a full update and rpi-update with reboot but results are still negative results.
I attached my oscilloscope to SCLK, MIOS, MOSI, CE0, but do not even see a glimmer of a triggered signal as the tests are run.
I double checked my connections and verified 3.3VDC power level.
Is there some way to take a closer look at the state of the spidev module? Would you know how to enable a kernel trace on it?
Thanks for your help.