Dear Sir or Madam,
Hello.
Let me clarify my understanding.
Now, we are trying to test the audio codec with TDM mode.
And, I consider that we should set the below setting in i.MX6's SSI.
1. Set the I2S network mode.
2. Set the SSIx_STCCR (DC4_DC0) = 2 (set the using slots)
3. Set the SSIx_STMSK register = 0xfffffffc (to mask the sending slot)
But, the below description looked opposite it to above things.
Refer to 61.8.1.4 I2S Mode in MCIMX6DQRM(Rev.2) page 5112~5113.
I looked that the network mode doesn't use when one use the I2S slave mode,
[Question]
If I use the network mode, should I set the master mode in I2S.
Best Regards,
Keita
Solved! Go to Solution.
Hi Keita
SSI module uses different modes in I2S master and slave,
from IMX6DQRM sect."61.8.1.4 I2S Mode":
In I2S master mode(SSI.SCR[6:5]=01), the following settings are internally overridden
by the hardware:
• Network mode is selected (SSI_SCR[3]=1)
..
In I2S slave mode(SSI_SCR[6:5]=10), the following settings are internally overridden by
the hardware:
• Normal mode is selected (SSI_SCR[3]=0)
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Keita
SSI module uses different modes in I2S master and slave,
from IMX6DQRM sect."61.8.1.4 I2S Mode":
In I2S master mode(SSI.SCR[6:5]=01), the following settings are internally overridden
by the hardware:
• Network mode is selected (SSI_SCR[3]=1)
..
In I2S slave mode(SSI_SCR[6:5]=10), the following settings are internally overridden by
the hardware:
• Normal mode is selected (SSI_SCR[3]=0)
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------