I am trying to communicate with two imx7d Sabre SD boards using ECSPI. The master board sent a "Hello World" and the slave in return sent a "Hello World" in the sample program. The slave is first allowed to fill its TXFIFO, after which master initiates the transactions. While the master sends all the bytes properly, the slave omits the first byte and starts to send data from the second byte onwards. I have attached the code which created this problem. Is there any specific reason, why this happens or is it something which is wrong with my code?