AnsweredAssumed Answered

SSP Slave Mode Not Working in LPC11u68

Question asked by Gaurav More on Feb 28, 2018
Latest reply on Apr 27, 2018 by Kerry Zhou

We are using SSP0 as in slave mode. But the example given in LPC Expresso is not working in slave mode. In slave mode it is not receiving any data. It is in busy mode. Not able to understand the behaviour. I have check it in master mode in order to confirm the clock and pin configuration with LPC43XX SPI .   

Following are the modes in which the communication is successful.   

1) In Master Mode:  LPC11E67 (SSP) in master mode , 8 bit data bus, Mode 0, clock 1MHz. LPC4367 (SPI) in slave mode , , 8 bit data bus, Mode 2, clock 1MHz 

Here we are able to communicate and the data is receiving properly in LPC11E67 

2) In Slave Mode:  LPC11E67 (SSP) in Slave mode , 8 bit data bus, Mode 0, clock 1MHz. LPC4367 (SPI) in Master mode , , 8 bit data bus, Mode 2, clock 1MHz 

Here in this case we are not receiving any data in slave side (LPC11E67)  Referred all the forum not able to get any proper solution in data sheet and through forums.

Tried all the inputs from the  forums but still the result is same. It always remains in the Busy status and data is 0.

Kindly provide the working and tested code of LPC11E67 SPP0/1 in slave mode 

Outcomes