Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 17 May 2016 09:27 AM by  Adam Ford
SPI SLave
 5 Replies
Sort:
You are not authorized to post a reply.
Author Messages
L DiRuscio
New Member
New Member
Posts:44


--
10 May 2016 12:24 PM

    Does your DM3730 SOM | BSP support McSPI slave operation?

    I want to connect two of your DM3730 Zoom dev kits together using one of the SPI interfaces, one kit as SPI master, the other as SPI slave.

     

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    12 May 2016 11:30 AM
    I talked with one of the other Apps Engineers, and we dont' have any examples. I am also seeing conflicting information on whether or not it's available. I'm going to search the TI forum and see what they have and I'm going to ask some of our Linux developers if they have any examples we can give you.

    adam
    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    16 May 2016 08:29 AM
    Unfortunately, I don't have any good news for you. The software developers here don't have any examples, and I wasn't able to find any on TI's support Forum located here: https://e2e.ti.com/search?q=dM37X%20SPI

    I was able to find some other SPI related issues, but nothing specific to slave operation.

    adam
    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    16 May 2016 11:02 AM
    Unfortunately, I have more bad news for you. According to one of the developers, there was a statement in the kernel indicating there is no SPI slave mode support.

    adam

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    16 May 2016 11:08 AM
    We did some checking with the mainstream kernel to see if the slave API was implemented. Kernel 4.6 was released yeterday but it doesn't appear to have slave API support yet. See the excerpt from the code:

    https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/spi/Kconfig?id=refs/tags/v4.6#n728


    #
    # SPI driver configuration
    #
    # NOTE: the reason this doesn't show SPI slave support is mostly that
    # nobody's needed a slave side API yet. The master-role API is not
    # fully appropriate there, so it'd need some thought to do well.
    #

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    17 May 2016 09:27 AM
    I talked about this subject in a meeting this morning. Our design services group might be able to develop a SPI slave driver, but it would require a services contract. If you'd like, I could have someone in our sales department contact you.

    adam
    You are not authorized to post a reply.