7 years, 10 months ago.

LPC1768 SPI slave is receiving data

hi, I am trying to communicate two LPC1768 through SPI. I am able to send the data from the master side but in slave side data is not receiving. It is waiting at the status flag, i don't know how to receive the data in the slave side. Can anyone help me to solve this problem. In Configuration SSEL or SCLK configuration or code wrong i don't know. help me try to solve this problem. I am placing some slave sample code here check this /media/uploads/sivaindia/pcb.h . /media/uploads/sivaindia/spi.c /media/uploads/sivaindia/spi.h /media/uploads/sivaindia/gpio.h /media/uploads/sivaindia/pconp.h /media/uploads/sivaindia/main.c /media/uploads/sivaindia/pcb.c

Be the first to answer this question.