SAI transmit FIFO pointers

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

SAI transmit FIFO pointers

857件の閲覧回数
linasstaisiunas
Contributor I

I am handling SAI audio interface on imx6. There is a SAI Transmit FIFO reg (TFR) with WFP and RFP pointers for transmit data channel. At what condition WFP and RFP pointers are reset to 0?

In the reference manual WFP is incremented after each valid write to TDR. Does the WFP is incremented until max value 2^6?

Br,

Linas

タグ(1)
0 件の賞賛
返信
3 返答(返信)

711件の閲覧回数
linasstaisiunas
Contributor I

I understand what is written in the sect.42.3.2.2. But I am interested in I2Sx_TFRn and I2Sx_RFRn registers which store read/write pointers. Is it possible to calculate fill level of transmit and receive buffers using these pointer values?

0 件の賞賛
返信

711件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

please refer to sect.42.3.5.2 FIFO pointers

>Is it possible to calculate fill level of transmit and receive buffers using these pointer values?

I am afraid no

Best regards
igor

0 件の賞賛
返信

711件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Linas

please refer to sect.42.3.2.2 FIFO reset  i.MX6UL and description

of register RMI2Sx_TCSR[FR] FIFO Reset.

http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6ULRM.pdf 

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

0 件の賞賛
返信