GPIO SPI help
Posted: Fri Mar 06, 2015 6:51 am
How can I tell if I have enabled SPI on my r-pi. I followed a guide but, im not sure if it worked. Thank you
A small, affordable computer with free resources to help people learn, make things, and have fun
https://www.raspberrypi.org/forums/
https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=102949
Code: Select all
$ ls -l /dev/spi*
crw-rw---T 1 root spi 153, 0 Jan 1 1970 /dev/spidev0.0
crw-rw---T 1 root spi 153, 1 Jan 1 1970 /dev/spidev0.1
Yes, thank you. I just read all about SPI. I think I understand how it works. I was able to confirm its running smoothly, my device and code are working. Thank you again.joan wrote:The pins won't be active until you have actually opened the SPI device (open call, CE0/1 will go high) and you are actually reading/writing data (read/write calls, CE0/1, SCLK, MISO, MOSI will be active).