Content originally posted in LPCWare by JGold on Tue Jul 24 09:45:00 MST 2012
I have been trying to use the LCP1767 SSP port in SPI mode. I can get it to work if I set the FIFO to 1 byte. If I set it to more, it mostly works, but sometimes I don't get all my read bytes back. Example, I'll send 20 bytes, and receive back only 19.
I am using linear buffers for the transmissions.
Does anyone have good working code using the FIFO and interrupts?