Tool/software: Code Composer Studio
Hello,
I am trying to implement a launchpad to launchpad communication using SSI(SPI) protocol present in the TIVA C TM4C123GXL launchpad.
I am configuring one launchpad in Master mode and the other one in Slave mode. Master and slave both are configured using SSI0.
My concept is when I press the switch at the master side, data should get transmitted to slave from master and it should get printed on PC's serial monitor and this part is working fine. And in the same way, when I press the switch slave side, data should get transmitted to the master from slave and it should get printed on PC's serial monitor but this not happening. The interesting part is that data sent from slave to master is getting printed on the serial monitor during transmission of data from the master to slave.
And as I read in the datasheet that the master only should initiate the transmission of data from the slave to master. I am not getting how to do this. Kindly give a solution to my issue as soon as possible. And also I have attached the master and slave code for your reference.