About audio codec with I2S in i.MX6

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

About audio codec with I2S in i.MX6

跳至解决方案
1,643 次查看
keitanagashima
Senior Contributor I

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

标签 (4)
0 项奖励
回复
1 解答
1,207 次查看
igorpadykov
NXP Employee
NXP Employee

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!

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

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,208 次查看
igorpadykov
NXP Employee
NXP Employee

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!

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

0 项奖励
回复