LPC1114 SPI Receive module help needed

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC1114 SPI Receive module help needed

307 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by karthik.s on Tue Aug 03 02:26:55 MST 2010
Can anyone explain me what the following statement means?

while ( (LPC_SSP->SR & (SSPSR_BSY|SSPSR_RNE)) != SSPSR_RNE );

This statement is taken from the SPI driver(SSP0 receive module) sample provided with the LPC1114 library.My application code is always stuck at this point and not able to figure what the problem is.
0 Kudos
3 Replies

283 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Spencer on Mon Jul 04 01:34:07 MST 2011
Dear Sirs:

Thanks a lot.
I know NXP had example code.
But it seem read/write with EEPROM......

How to do it?
0 Kudos

283 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Wed Jun 29 00:35:25 MST 2011
There's an example in your example folder :)


...\lpcxpresso\Examples\NXP\LPC1000\LPC11xx\NXP_LPCXpresso1114-302_2011-02-07.zip -> ssp
0 Kudos

283 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Spencer on Tue Jun 28 18:25:59 MST 2011
Dear Sirs:

How LPC1114 Read/Write another MCU by SPI interface?

Does it have any source code?

Thanks.
0 Kudos