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.

AM3715 SPI Driver for Linux?

Other Parts Discussed in Thread: AM3715, AM3517

Hello,

I'm currently working on an embedded software application for an embedded medical device. The device uses the Sitara AM3715 system on chip. That chip uses its McSPI interface #1,0 to communicate with a FPGA, which will do much of the I/O processing. The embedded application runs under Linux (k. 2.6.32). Development environment includes TI EZLinux 4.0.2 (or better) SDK and Eclipse/TimeStorm IDE under Ubuntu 10.04. Target hardware is the LogicPD eXperimenter/AM3715 SOM evaluation board. 

So far, everything is set nicely for cross-platform application development. The problem I have is that I can't find a SPI device driver for Linux.  My target hardware does not appear in kernel build configuration utility and I can't find any existing SPI driver source code for the AM3715 SoC. 

So, regarding my problem:

a) Will an update to the latest TI EZLinux SDK (5.02 release) would provide me the SPI driver? 

b) If not, is there any source code baseline I can rely on to create a custom driver?

 

Thanks for help,

 

Yves McDonald

  • Yves,

    I hope you're referring to AM3517- EVM.

    In the release based on 2.6.32 kernel, the SPI does not seem to have been enabled by default, as I just verified in the arch/arm/configs/am3517_evm_defconfig; you would have to enable this yourself through menuconfig.

    Another alternative (as you suggest) is to use the latest PSP (platform support package) which is based on 2.6.37 - this is available at http://processors.wiki.ti.com/index.php/AM35x-OMAP35x-PSP_04.02.00.07_UserGuide

    The user-guide is here: http://processors.wiki.ti.com/index.php/AM35x-OMAP35x-PSP_04.02.00.07_UserGuide

     

    The default configuration in this release has SPI support enabled.

    Hope this information is useful to you.

     

    regards

    Abhilash