SAI transmit FIFO pointers

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

SAI transmit FIFO pointers

735 Views
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

Tags (1)
0 Kudos
3 Replies

589 Views
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 Kudos

589 Views
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 Kudos

589 Views
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 Kudos