Hi Gartin,
Normally, when customer meet the SPI problem, it's better to check the SPI bus wave at first.
You said, when your SPI master send the tx2, but the slave always can't receive the MSB.
So, please use the logic analyzer or the oscilloscope to check the SPI bus at first, check MOSI data, whether it send out the correct data? If the SPI bus data is correct, then the problem is in the slave code side, you need to check the code and the register.
After you test the SPI wave, if the data is correct, please send me the SPI wave.
Actually, our SDK code SPI project already have the slave code, you can refer to the official code, which can be downloaded from this link:
Welcome | MCUXpresso SDK Builder
The spi slave code folder: SDK_2.3.0_FRDM-KL27Z\boards\frdmkl27z\driver_examples\spi\polling_b2b_transfer\slave
Wish it helps you!
If you still have question about it, please kindly let me know.
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------