LPC1114 SPI Receive module help needed

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC1114 SPI Receive module help needed

936 次查看
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 项奖励
回复
3 回复数

912 次查看
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 项奖励
回复

912 次查看
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 项奖励
回复

912 次查看
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 项奖励
回复