Tool/software: TI-RTOS
I've configured one of the launchpads as the SPI Master and the other as a slave and am trying to transmit info between them. I'm running them in callback mode. According to what I've read, the SPI slave is supposed to call SPI_transfer() BEFORE the master starts transmitting.
In my case, however, I get errors if I turn the master off while it's transmitting to the slave (the slave starts receiving an array with more incorrect data). Every subsequent SPI transmission is this same erroneous array.
However, I fixed this by having a delay of 2 seconds in the SPI slave launchpad so that when the two devices are powered on at the same time, the SPI slave starts AFTER the master starts transmitting; I do not get errors this way.
Any comments/thoughts on this would be very much appreciated.
Kind regards,
Savinda