SSI AUDMUX configuration

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

SSI AUDMUX configuration

5,760 次查看
saurabh206
Senior Contributor III

Hi

My audio codec is setup as slave and SSI is configured as a master.

Playback is working perfectly.

My configuration:

SSI2

Internal port: 2

external port:3

Now I want to register a dummy sound card which can read (loop-back) the content from SSI2 which goes to speaker.

Does is possible to route the AUDMUX data from one SSI port to another SSI port?

Thanks

Saurabh

标签 (1)
标记 (3)
0 项奖励
回复
6 回复数

2,552 次查看
sinanakman
Senior Contributor III

Hi Saurabh, I am just curious, what would be the usage of this.

Thanks

Sinan Akman

0 项奖励
回复

2,552 次查看
saurabh206
Senior Contributor III

Hi

Sinan

I want to debug one issue related AUDMUX data distortion.

It I am able to get it working than we can verity this without usage of any scope.

0 项奖励
回复

2,552 次查看
sriramperiyasam
Contributor II

Hi All,

I am integrating Audio Codec LM49352 in SABRESD Android KK 4.4.2. For the following Audio IOs.

Case1: Stereo Output IMX -> LM49352 -> Speaker/HP

     In this case, i use SSI as I2S master mode and it works very fine.

Case 2: Mono Microphone -> LM49352 -> IMX

     In this case also, i tried to use SSI as I2S master mode. But no audio has been captured.

I have gone through the SSI Architecture and Clocking from Ref manual. But no exact clarity on case 2.

Can anyone please help me to use SSI as I2S master mode to capture the mono audio data?

Is it possible to use SSI as I2S master mode for receiving mono audio data?

Shouldnt i use SSI as master mode?

Please anyone help on this use cases.

Regards,

Sriram.

0 项奖励
回复

2,552 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Saurabh

yes this is possible, from sect.16.5.2 Connectivity Between Ports IMX6DQRM :

Four basic types of connections are provided by the AUDMUX:

• Internal port to external port

• External port to external port

• Internal port to internal port

• Loopback

Best regards

igor

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

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

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

2,552 次查看
saurabh206
Senior Contributor III

Hi

igorpadykov

If I use SSI1 for capturing the SSI2 data.

How the clocking can be set for SSI1?

And Can you please verify Input output port configuration

sound-pcmcodec {

   compatible = "fsl,imx6-audio-pcmcodec",
   "fsl,imx-audio-pcmcodec";
   model = "imx-pcmcodec";

   ssi-controller = <&ssi2>;
   audio-codec = <&pcmcodec>;
   mux-int-port = <2>;
   mux-ext-port = <1>;

    };

   

    sound-pcm_test {

   compatible = "fsl,imx6-audio-pcmtest",
   "fsl,imx-audio-pcmtest";
   model = "imx-pcmtest";

   ssi-controller = <&ssi1>;
   audio-codec = <&pcmtest>;
   mux-int-port = <1>;
   mux-ext-port = <2>;

    };

Thanks

Saurabh

0 项奖励
回复

2,552 次查看
nicolaitel
Contributor II

Hi Again!!

can you please share your final code? dts configuration and codec files....

I'm stuck with another similar situation

0 项奖励
回复