Hi customer,
When you send payload, whether the SPI bus wave received data is the same as the KL25 code?
If yes, it means the slave feedback is wrong, please check the SPI bus wave.
If the SPI bus wave data is correct, then it should be the KL25 code's problem, your master need to select same SPI mode, CHPA and CPOL as your slave.
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------