Hello all,
I am using FRDM-KV31F512VLL Board. There are 2 DSPI instances available in this board. What I am trying to do is configure one DSPI as Master and the other DSPI as Slave. And I was trying to send a set of data from the master to the slave. And send an other different set of data from the slave to the master. What i see from my code is Master is able to send and receive data to and from the slave. But the slave is able to just send data to the Master and the Slave is not able to receive the data. I have configured the slave in Interrupt mode and master in Polling mode.

I was sending data=[1,2,3,4,5,6] from the Slave to the Master.
And the master was able to receive this data.
I was sending data=[7,8,9,A,B,C] from the Master to the Slave.
The Slave was not able to receive more that first two data.
When I set breakpoints in my code, what I see is after this data '8' gets POPED UP from the FIFO Register, is some RFOF-Receive FIFO Overflow Flag getting set up. I really don't understand the point how is this getting set up.

This is the piece of code which i made for master send.

This is the piece of code which i used for slave receive.
Please help me to make this transfer successful.