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

Prodigy 180 points

Replies: 1

Views: 842

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

1 Reply

  • 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

      Please click the Verify Answer button on this post if it answers your question.

            Be sure to read the OMAP Application Processors Forum Guidelines and FAQ

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.