1. [...] I enabled the SPI device on my Rasp­berry PI, I wanted to drive some LED Mod­ules. Thanks to Scott Gib­son this was quite [...]

  2. 趣味の電子工作 » GPIO制御

    [...] Neophob  SPI [...]

  3. TT
    TT January 15, 2013 at 16:18 . Reply

    I am pretty new to programming. I have a device which I want to connect to the RPi using SPI. I tried out the spi_devtest.c and it works. But the SPI frame of the slave device requires 24 bits. I have searched high and low and have not been able to find a solution. I tried changing the number of bits per word but that does not work. I wonder if I would have to just send 3 bytes instead of 24 bits. In that case, I don’t know how to send 3 bytes without the chip select going inactive after each word. Any help would be greatly appreciated.

  4. TT
    TT January 16, 2013 at 22:09 . Reply

    nevermind, i figured it out. thanks anyways :)

  5. yvesined
    yvesined May 8, 2013 at 08:22 . Reply

    That was a quite awesome tutorial guys! Thank you. Is it possible to set digital GPIO Pins with this library (for example the CSN Pin that is recommened for SPI)?
    Greets, yvesined.

  6. Tom Hodder
    Tom Hodder July 24, 2014 at 15:18 . Reply

    After shorting the pins, I get the following output;

    $ sudo ./spidev_test
    spi mode: 0
    bits per word: 8
    max speed: 10000000 Hz (10000 KHz)

    EE FF

Leave a Reply

%d bloggers like this: