Hi. I have been made SPI slave activation but I have a problem.
I hope somebody helps me
Master : S32K144 (64pin)
Slave : S32K144 (64pin)

Problem :
- In case Master's PCS polarity and Slave's PCS polarity are 'Active low', Slave does not transfer.
- Only in case both PCS polarity are 'Active high', Slave transfers correctly
[Configuration]
- Master : PCS polarity is Active low

- Slave : PCS polarity is Active low

[Picture]
- PCS polarity is Active low(yellow) and Slave does not transfer(pink)

- PCB polarity is Active high(yellow) and Slave trasfers(pink)

[Source code]
void PORTB_ISR(void) // PCS is input to PTB0 and PORTB generates interrupt for falling edge
{
LPSPI_DRV_SlaveTransfer(RECEIVE,&slaveDataSend,slaveDataReceive,BUFFER_SIZE);
}
int main(void){
...
INT_SYS_EnableIRQ(PORTB_IRQn);
INT_SYS_InstallHandler(PORTB_IRQn, &PORTB_ISR, NULL);
LPSPI_DRV_SlaveInit(RECEIVE,&ReceiveState,&Receive_SlaveConfig0);
...
}