Content originally posted in LPCWare by daniel.widyanto on Wed Oct 03 21:06:43 MST 2012
Hi,
The SSP1 has 8-frame of FIFO. So if the frame is set to 8-bits / frame, it will hold 8-bytes before the FIFO is full.
To catch the whole 255-bytes with minimum interrupt, you can use the LPC1769's DMA. Just set the DMA to fetch the data from SSP1, deliver it to your program buffer, count / no of bytes 255 and interrupt the MCU when it's done.