Content originally posted in LPCWare by karthik.s on Thu Jul 29 00:34:18 MST 2010
I am using SSP0 SPI module for transmitting and receiving data between LPC1114 and a NIC card.In this process while receiving data from the NIC card,i am frequently stuck at the following statement in the SSPReceive driver module
while ( (LPC_SSP->SR & (SSPSR_BSY|SSPSR_RNE)) != SSPSR_RNE );
BSY bit is shown as 0b0.Not able to figure out the cause.Any help is appreciated.