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.

AM3517 + Craneboard : SPI integration

Other Parts Discussed in Thread: AM3517

Hi,

I use a AM3517 on Craneboard with Argo Projet 2009.11

I start with this  system and I follow my investigations.

I saw that SPI1 was available on expansion connector and I want to send and to receive data.

On the Craneboard (linux), there is not driver SPI. I think ?

According to my researches on web, it is necessary to add an interface :

static struct spi_board_info_spi_board_info[] = {
    {
        .modalias    = "spidev",
        .max_speed_hz    = 10000000, //10 Mbps
        .bus_num    = 1,
        .chip_select    = 1,
        .mode = SPI_MODE_1,
        },

};

But I do not know where and how?

I search a driver of test or an example.

In the sources of kernel  (/drviers/spi), I find « spidev.c »

 Spidev is a module?

How to insert and use it on craneboard?

Thank for your help