All:
I have taken the SPI-loopback example and created a SPI-master on SPI-A and a SPI-slave on SPI-B in order to debug some code before including into product code. Because the product code is doing I/O expansion using SPI and it is "output only," I was able to create a 2-wire interface - using SPICLK and SPISIMO.
I am using an eZdsp2808, and my connections were
GPIO18/SPICLKA (P8-25) to GPIO14/SPICLKB (P8-5)
GPIO16/SPISIMOA (P8-23) to GPIO12/SPISIMOB (P8-37)
Minimal changes were required to the existing code to do this.
One thing I found that was a little odd - in order the the SPI-B to work in slave mode, I needed to comment out the line that Configured the SPISTEB - I did not even connect a line to this port bit, but if it was configured, the information did not get into the slave receive buffer.
Also, I noticed that the example code initializes the FIFO - if the FIFO is not used, is this necessary?
Regards,
Todd Anderson