IMX6 Asynchronous Audmux/SSI

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

IMX6 Asynchronous Audmux/SSI

773 Views
nathansweetman
Contributor I

Hi,

I am having trouble getting SSI to work in asynchronous, 2 channel, network mode on the imx6 platform.

I have tried using ssi as both a master and slave.

Master:

In the master configuration when i enable transmit I can see a correctly generated bit clk and frame sync present on the output of the audmux (port 4).

However  the same bit clk and frame sync is present on the receive lines even though the ssi controller, and both ports on the audmux are set to asynchronous.

There is no rx frame sync interrupt generated to the ssi controller however, and the txfs interrupt is fired only.

When i enable receive in this configuration instead, nothing comes out of the audmux on the receive or transmit lines, but the receive frame sync interrupt for the ssi controller is fired.

This lead me to believe the audmux was configured incorrectly, but other than disabling sync on that and setting the correct ports there doesn't to be anything else to do.

PDCR1: 00006000

PTCR1: 00000000

PDCR4: 00000000

PTCR4: 84210000

Slave:

I have been unable to get this to work at all, no matter the configuration that I use, synchronous or otherwise.

Unfortunately asynchronous slave is the ideal mode.

Currently I have the audmux settings:

PDCR1: 00006000

PTCR1: 9ce73000

PDCR4: 00000000

PTCR4: 00000000

I never get any form of frame sync interrupt no matter what I feed in.

Any help would be appreciated.

Thanks

Tags (3)
0 Kudos
1 Reply

360 Views
igorpadykov
NXP Employee
NXP Employee

Hi Nathan

Regarding settings:

"PDCR1: 00006000

PTCR1: 00000000

PDCR4: 00000000

PTCR4: 84210000"

I believe for asynchronous mode these should be changed to:

PTCR4: 84210000 --> 84318000

RFSEL[3:0]=1000 Selects RXFS from port1.

RCSEL[3:0]=1000 Selects RXC  from port1

also for master/slave examples one can look at SDK audio examples,

where sgtl5000 is working as master, wm8262 as slave

i.MX 6Series Platform SDK

Best regards

igor

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

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

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

0 Kudos