LPSPI: Reading RX in continous transfer

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPSPI: Reading RX in continous transfer

1,175件の閲覧回数
martinhoffmann2
Contributor II

Hi!

Following the example on AN5320 https://www.nxp.com/doc/AN5320

I want to send multiple 8 bit frames in continous mode.

 

Sending works fine, but the Application Note does not describe how to correctly read back the received bytes after each single transmission.

 

Is there any detailed description available how to handle the received bytes (which flags to poll/clear, etc.)

 

Thanks in advance!

-Martin

0 件の賞賛
返信
1 返信

1,032件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

You need to poll SR[RDF] bit which is set and clear depending on the number of words in the receive FIFO, configurable in FCR[RXWATER].

 

Regards,

Daniel

0 件の賞賛
返信