请问,lpc54113通过查询模式该怎么样配置spi从机,根据官方给的例程配置之后还是失败了。

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

请问,lpc54113通过查询模式该怎么样配置spi从机,根据官方给的例程配置之后还是失败了。

486 Views
sidneyzou
Contributor I

in slave mode ,the RXNOTEMPTY bit of FIFOSTAT register is always 0.

Labels (1)
0 Kudos
1 Reply

326 Views
kerryzhou
NXP TechSupport
NXP TechSupport

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:

pastedImage_2.png

Wish it helps you!


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos