LPSPI: Reading RX in continous transfer

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPSPI: Reading RX in continous transfer

1,159 次查看
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,016 次查看
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 项奖励
回复