AnsweredAssumed Answered

Waiting for SPI RDY on LPC812 (Example_SPI0M_SPI1S)

Question asked by jonaspistor on Jun 12, 2017
Latest reply on Jun 12, 2017 by jeremyzhou

Hello,

 

I'm trying to run the SPI0M_SPI1S example on the LPC812 demo board.

It hangs in a loop waiting for the TXRDY flag:

while ((LPC_SPI1->STAT & STAT_TXRDY) == 0);

Debugger shows:

LPC_SPI1->STAT: 0b100010000

STAT_TXRDY: 0b10

 

Best regards

Jonas

Outcomes