Hi VIGNESH BALAJI,
Please download the FRDM-KEA quick start package from this website:
http://www.nxp.com/assets/downloads/data/en/board-support-packages/FRDM-KEA-QSP.zip
Then you can find the SPI slave code from folder:
FRDM-KEA-QSP\Quick Start Package v5\SDK Drivers and Code Example Projects\FRDM-KEAZ128\Driver Test SW for KEAZ128\Driver Test SW for KEAZ128\FRDM_KEA128_SPI_Slave
The driver is nearly just control the register, it is not difficult to understand.
Wish it helps you!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------