Hi,
I am trying to enable ESAI interface as TDM (network) mode for a multi-channel codec.
I am looking at the IMX6DQRM.pdf 'Table 25-1. ESAI External Signals' as the attached images. The clock signals (CLK, FS, HF_CLK for both Tx/Rx) are very straightforward, but I can't tell which two data signals(Tx/Rx) will be used by iMX6 ESAI TDM (network) mode.
After configured ESAI to TDM mode, will Tx/Rx data signals been fixed to specific two data signals?
If yes, which two data signasl should I use ?
If not, how to select them or configure them?
Thanks for the help,
Steven Lin
已解决! 转到解答。
Hi steven
usage of these pins are programmable, please look at sect.
25.2.2 Serial Transmit 1 Data Pin i.MX6DQ Reference Manual :
TX1 is used for transmitting data from the ESAI_TX1 serial transmit shift register.
from sect.25.2.3 Serial Transmit 2/Receive 3 Data Pin :
TX2_RX3 is used as the TX2 for transmitting data from the ESAI_TX2 serial transmit
shift register when programmed as a transmitter pin..
TX2_RX3 is an input when data is being received by the ESAI_RX3 shift register.
sect.25.6.14 Transmit Control Register (ESAI_TCR), ESAI_TCR bits TEn
enable the transfer of data from ESAI_TXn
http://www.nxp.com/docs/en/reference-manual/IMX6DQRM.pdf
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi steven
usage of these pins are programmable, please look at sect.
25.2.2 Serial Transmit 1 Data Pin i.MX6DQ Reference Manual :
TX1 is used for transmitting data from the ESAI_TX1 serial transmit shift register.
from sect.25.2.3 Serial Transmit 2/Receive 3 Data Pin :
TX2_RX3 is used as the TX2 for transmitting data from the ESAI_TX2 serial transmit
shift register when programmed as a transmitter pin..
TX2_RX3 is an input when data is being received by the ESAI_RX3 shift register.
sect.25.6.14 Transmit Control Register (ESAI_TCR), ESAI_TCR bits TEn
enable the transfer of data from ESAI_TXn
http://www.nxp.com/docs/en/reference-manual/IMX6DQRM.pdf
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi igor,
Thanks for the information about these pins are not fixed, they are
programmable. And I've figured out the answer of my last question 'how to
select them or configure them?', the "Transmit/Receive FIFO Configuration
Register (ESAI_TFCR / ESAI_RFCR)" can be used to select TDM Tx/Rx data
signal pins. FYI.
Thanks,
Steven