How to get SPI working with the LPC4330

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by kye on Sun Apr 07 19:00:44 MST 2013

I'm trying to get the LPC4330 to output SPI data, but, I'm encountering problems getting the basic demo code working. I've download the following library http://lpcware.com/content/nxpfile/lpc4350apdlzip for controlling the SSP1 peripheral and I'm trying to get the SSP Master example code working found in the Examples/SSP sub directory in the peripheral library. I'm using the Keil version of the project.

The only changes I've made are to disable the debug output, use SSP1 instead of SSP0, and change the pin muxes for my particular setup. I am using a custom board to develop with, but, I've got the clock setup just like the LPC development board for the 4330.

I've attached the example code I'm using, there really isn't much to it. If anyone can point me in the right direction for what I am doing wrong it will be appreciated.

Also attached is the output wave form I am getting.

Thank you,