AnsweredAssumed Answered

SPI Slave

Question asked by Kim JungHyun on Jun 20, 2017
Latest reply on Jul 10, 2017 by Razvan-nicolae Tilimpea

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



- Master :  PCS polarity is Active low

- Slave : PCS polarity is Active low


- 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



int main(void){