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.

TDA4VM: TDA4 linux SPI Master / Slave mode together

Part Number: TDA4VM

Hi Ti members:

I have a design issue about the spi role in linux,

If we want enable spi slave mode, I need enable CONFIG_SPI_SLAVE.

But in our project design, we will use two spi path.

one spi (mcspi3) will connect to a Lin master, and our role is master. 

and one spi (mcu_spi0) will connect to another soc, and our role is slave. 

So my question is can we let spi master mode and slave mode work together in linux?

BR

Sentinen Chen

  • Hi Sentinen Chen,

    Linux in general supports One SPI instance to be master and the other to be slave on the same SoC.
    McSPI driver does have the slave mode supported.

    That said there is no support on TDA4VM for McSPI in slave mode on the SDK as there are no SPI
    slave devices on the device.

    Hope this answers your question.

    Thanks,
    Keerthy