Hello Stefan Lindblad ,
Yes, the sequence is wrong, the right sequence should like below:
void SPI_1_init(void) {
/* Initialization function */
SPI_SlaveInit(SPI_1_PERIPHERAL, &SPI_1_config);
/* Enable interrupt SPI0_IRQn request in the NVIC */
EnableIRQ(SPI_1_IRQN);
/* Enable interrupts */
SPI_EnableInterrupts(SPI_1_PERIPHERAL, (kSPI_RxFullAndModfInterruptEnable | kSPI_TxEmptyInterruptEnable));
/* Initialization function */
}
I will report it to development team. And now , I recommend you refer to the SPI demo under KL27 board,

Hope it helps,
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------