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.

Simultaneous SPI master and SPI slave?

Other Parts Discussed in Thread: AM3359

Hi,

I want to configure SPI1 in slave mode on the am3359. In the future I plan to use SPI0 for serial flash memory. This will require SPI0 in master mode.

So I will need SPI0 as master and SPI1 as slave but I'm not sure if this is possible?

The am335x Technical Reference Manual (http://www.ti.com/lit/ug/spruh73g/spruh73g.pdf) is a bit confusing...

  • Section 24.1.1 says "Up to four SPI channels"
  • Section 24.2 says "This device includes two instantiations of McSPI: SPI0 and SPI1." 
  • Section 24.33 says "McSPI is in slave mode when the bit MS of the register MCSPI_MODULCTRL is set."
  • Section 24.4.1.7 shows only one McSPI Module Control Register (MCSPI_MODULCTRL)

Is it possible to have one master device and one slave device at the same time on the am3359?

Regards,

Fergal