lpcware

SSP Slave mode not working

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by dlo on Thu Jan 07 14:36:35 MST 2016
I am using the code example in lpc11xx.keil-examples-CMSIS-update_2 to implement SPI in slave mode. I configured the ssp.h and ssp.c found in the example folder, but can't seem to get data into the receive buffer. I am using a TotalPhase Aadvark USB to SPI controller to send data to the LPC1111. I've tried changing clock speed and set it as Master and do get a clock output on SCK, but do not see data come out.

Thank you for your help.

Original Attachment has been moved to: ssp_0.c.zip

Original Attachment has been moved to: ssp.h.zip

Original Attachment has been moved to: main_19.c.zip

Outcomes