[iMX6] To configure two SSI audmux without audio codec

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

[iMX6] To configure two SSI audmux without audio codec

1,143 Views
renbo-wei
Contributor I

Dear Sir,

We would like to configure two SSI audmux without audio codec, that includes SSI1 and SSI2.

So far, SSI1 TX/RX are work as well. But SSI2 RX is not work.

I checked DTS setting, all of the setting are the same as SSI1.

The attachment is our DTS file. Could you give me some suggestions to debug further?

Thanks in advance for your support.

Best Regards,

Bowei Ren

Labels (1)
0 Kudos
6 Replies

908 Views
hsl
Contributor I

Hello,Sir:

I would like to ask if your ssi audmux does not have an audio codec. Is it just using ssi for data transmission?
Can you provide a sample of the success of your ssi1 source code let me refer to it, I am confused now, to receive data through i2s, but do not know how to start.
Thank you~

0 Kudos

908 Views
igorpadykov
NXP Employee
NXP Employee

Hi Ren

for using SSI audmux without audio codec, testing, one can try to use

"simple-audio-card" patch

Simple-card without codec for testing purpose - Patchwork 

Also one can check with jtag debugger SSI clock gating in CCM_CCGRn register

and other SSI&AUDUMX registers.

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

0 Kudos

908 Views
renbo-wei
Contributor I

Dear Igor,

I tried the method what you suggests, it seems not workable. Because we cannot find not ALSA device.

Could you provide sample code how to configure SSI1 and SSI2 in DTS?

So far, according to our setting, we can find out ALSA device. But SSI2 are not workable and no BCLK and WCLK.

Thank you!

Best Regards,

Bowei

0 Kudos

908 Views
igorpadykov
NXP Employee
NXP Employee

Hi Bowei

you can configure two SSI with baremetal Github SDK
https://github.com/backenklee/swp-report/tree/master/iMX6_Platform_SDK

then compare their registers with linux version.

Unfortunately I am not aware of dts example with two SSI.

Best regards
igor

0 Kudos

908 Views
renbo-wei
Contributor I

Dear igor,

This SDK is older linux kernel version, right? Because I cannot find out any DTS file in this SDK.

Our kernel version is 3.14.52.

Could you help me to review my DTS? I'm not sure whether our settings is correct or not?

Many thanks for your support.

Best Regards,

Bowei

0 Kudos

908 Views
renbo-wei
Contributor I

Dear igor,

do you have any idea?

is there the limitations to configure two SSI? if not, i don't understand why SSI2 settings are the same as SSI1, but SSI2 doesn't work well.

Best Regards,

Bowei 

0 Kudos