in slave mode ,the RXNOTEMPTY bit of FIFOSTAT register is always 0.
Hi Sidney zou,
Please refer to the LPC54114 lpcopen sample code from this link:
LPCOpen Software for LPC5411X|NXP
Project folder:lpc5411x_xpresso54114_keil_iar_v3.00c.001_42\lpc5411x\prj_xpresso54114\keil\periph_spi_sm_poll
I have test it on my LPCXpresso LPC54114 in keil project, the RXNOTEMPTY can be set:
Wish it helps you!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------