SPI FIFO and Watermark

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

SPI FIFO and Watermark

ソリューションへジャンプ
4,363件の閲覧回数
suhel_mulla
Contributor III

Hello,

I am using i.MX RT1050 Evaluation Kit. I want to use SPI program in SDK for NXP i.MXRT 1052 processor. 

I am confused about the use FIFO and Watermark in SPI code. I haven't found any document which can explain these concepts. It is also not given in "i.MX RT1050 Processor Reference Manual".

Can you explain it here or suggest any document which explains the i.MX RT 1052 FIFO and watermark concepts in detail?

 

Thank you.

 
ラベル(1)
1 解決策
4,334件の閲覧回数
suhel_mulla
Contributor III

Thank you for the explanation.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
4,335件の閲覧回数
suhel_mulla
Contributor III

Thank you for the explanation.

0 件の賞賛
返信
4,346件の閲覧回数
FelipeGarcia
NXP Employee
NXP Employee

Hi,

We don't have specific documents describing these concepts but I can help you explain this for you. A FIFO is a first in, first out internal stack that in this case will help you store SPI words. RT1050 has transmit FIFO of 16 words and a receive FIFO of 16 words.

On the other hand, watermarks can be used to generate interrupts depending on the number of words contained in these FIFOs. If the receive FIFO is greater than RXWATER value an interrupt will be generated, also if the number of words in the transmit FIFO is equal or less than TXWATER an interrupt will be fired.

Hope it helps!

Best regards,

Felipe

-------------------------------------------------------------------------------

Note:

- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored. Please open a new thread and refer to the closed one, if you have a related question at a later point in time. 

------------------------------------------------------------------------------