lpcware

LPCOpen code for lpc54100

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by ocind on Thu Mar 26 01:53:25 MST 2015
Hi all,

I was experimenting with the rom_spim_int sample code of LPC54100 microprocessor. I am using LPCXpresso IDE and OM13077 demo board for my LPC54100.

If I changed the CPHA&CPOL mode into 1 or 3, I find this issue that whenever I modified the number of items sent in a SPI transfer to a value less than 3 (constant BUFFSENDSIZE in the sample code), the code would simply get stuck in the transfer handle. Is this a known issue with the LPCOpen sample code for this microprocessor?

Attached code gets stuck when it is run on the OM13077.

Thank you.

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

Outcomes