Hi,
Looking at the example, the pins as I see, appear to translate thus:
/** * Pin GPIO McBSP Signal SPI equivalent status * ----------------------------------------------------------------------------- * - Pin#08 - GPIO22 - MCLKX - SPICLK (master) SCLK * - Pin#49 - GPIO23 - MFSX - SPISTE (master) CS * - Pin#45 - GPIO20 - MDX - SPISIMO MOSI * * - GPIO58 - MCLKR - SPICLK (slave) SCLK unused * - Pin#18 - GPIO44 - MFSR - SPISTE (slave) CS unused * - Pin#48 - GPIO21 - MDR - SPISOMI MISO unused * * By default for the McBSP examples, the McBSP sample rate generator (SRG) * input clock frequency is LSPCLK 80E6/4. * * \b Watch \b Variables: \n * - sdata1 - Sent data word(1) * - sdata2 - Sent data word(2) * - rdata1 - Received data word(1) * - rdata2 - Received data word(2) */
I have a few questions:
#01.
I see only the Master pins being used ?
#02.
I dont see any pin connections between the Master and Slave, for the loopback to be complete ?
#03
It appears that there are 2 Master's and 2 Slave's from the 2 data variable pairs: sdata1, sdat2, rdata1, rdata2 ?
But from the example description, there appears to be one Master and one Slave ?
Can somebody please clarify ?
Thanks,
Manu