Dear TI experts,
Our customer has inquiry below, it would be great if you could help on this.
I have created a non RTOS version of the SPI loopback code in order to communicate between two TM4C1294XL boards , since im running in the default MOTO_MODE_0 , i believe i am running the SSI legacy mode which specifies that SSIXDAT0 behaves as the tx while SSIXDAT1 behaves as the rx. However since the general spi convention involves a mosi to mosi and miso to miso connection , i would like to know if there is anyway to swap these 2 lines . currently i am able to communicate between the two devices .
However for further development i would like to know how to swap these pins to allow me to connect to other test jigs and boards that follow the normal SPI convention .
i have attempted to change the functions assigned to each pin in the pin_map.h file in the ccs project , but this does not seem to change anything
#define GPIO_PQ2_SSI3XDAT0 0x000E080E // SSI3XDAT1 0x000E0C0E
#define GPIO_PQ3_SSI3XDAT1 0x000E0C0E // SSI3XDAT0 0x000E080E
Original configuration Desired configuration
i have attempted to switch to SSIAdvMode with no success , can running the SSI in BI_READ and BI_WRITE solve my dilema
im willing to have simplex communication from master to Slave for one base and vice versa on another base
Stay safe and have a great day.
Best Regards,
William