This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

omapl137/da830

hi,i want to use the spidev,but,linux kernel /dev has not  spidevx.x  nod,how to make it? THANK YOU

  • Hello,

    SPIDEV supports access to SPI devices using normal userspace I/O calls.

    SPI devices have a limited userspace API, supporting basic half-duplex read() and write() access to SPI slave devices. Using ioctl() requests, full duplex transfers and device I/O configuration are also available.

    #include <fcntl.h>
    #include <unistd.h>
    #include <sys/ioctl.h>
    #include <linux/types.h>
    #include <linux/spi/spidev.h>

    Please refer to this link http://omapedia.org/wiki/PandaBoard_SPI See necessary configuration in Kernel.

    Please check for Linux/drivers/spi/spidev.c file in your Linux' sources.

    I would to remind you that in OMAP4 Forum, we provide support only for OMAP4 devices.

    Best regards,
    Yanko