SSI1 is stuck on IMX6

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

SSI1 is stuck on IMX6

867 Views
ciaran_lequeux
Contributor I

Hello,

I work on IMX6 Dual Lite with Linux 4.1.
Sometimes during the startup of the SSI, the SSI1 is stuck : no signal leaves on the IMX.
This error occurs 1 over 300 startup, and otherwise, the SSI1 works as expected.

When the SSI is stuck, I don't succeed to restart it.
I tried to disable/re-enable the SSI block.
I also tried to disable/re-enable the audio PLL.

I compared AUDMUX, CCM, IOMUX, SDMA and SSI registers and I don't see any difference between a stuck state and a normal state.

However I never have problem with SSI2 block.

Does somebody already have this kind of error?

Thank you for your answer,

Labels (2)
0 Kudos
Reply
6 Replies

838 Views
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @ciaran_lequeux 

I hope you are doing well.

When SSI1 got stuck what error it shows on the dmesg, Please share it.
Does this behavior only happens with Linux 4.1 or Have you tried using the latest kernel?

Please check with it.

Thanks & Regards,
Dhruvit Vasavada

0 Kudos
Reply

792 Views
ciaran_lequeux
Contributor I

Hi Dhruvit,

In my project context, I can't try with an other kernel.

The SSI driver I use is an home-made but it works well with the SSI2, that's why I want to know if there are differences between the two blocks of SSI.
Or are there known issues with the SSI1 block?

Thank you for your answer,
Ciaran

0 Kudos
Reply

762 Views
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @ciaran_lequeux,

I hope you are doing well.

"Are there known issues with the SSI1 block?"
->One can check the same from the Errata document, I have shared a link for the same, Please find the same.
https://www.nxp.com/docs/en/errata/IMX6SDLCE.pdf

Please make sure to use the SSI driver provided by NXP.
One can find the same at a given location
<Yocto_BuildDir>/linux/sound/soc directory.

fsl/fsl_ssi.c -> SSI CPU DAI driver for stereo CODEC ALSA SoC

I have shared a link for the doc, please find the same.
https://www.nxp.com/webapp/Download?colCode=L4.1.15_2.0.0-LINUX-DOCS

Further, if one wants to debug between SSI1 & SSI2 block please try to put print statement for the initialization, working phase, one may find the error message.

I hope this helps!

Thanks & Regards,
Dhruvit Vasavada

0 Kudos
Reply

749 Views
ciaran_lequeux
Contributor I

Hi Dhruvit,

Thanks for your answer.


I already read the errata document and errors on SSI inside the document are not the same as I encounter. It concerns AC_97 mode or a problem of swap data. Whereas my problem is ssi signals don't output on IMX pads.

Using your SSI driver instead of our is not easy in our project context.

If I understand your answers, you never heard a problem like mine on SSI block?

Best regards,
Ciaran

0 Kudos
Reply

719 Views
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @ciaran_lequeux,

I hope you are doing well.

->Regarding the issue you are having there is no mention like that in the errata.

->Have you checked the pad muxing one is using is not being used in another node?
Please make sure of it, It may cause a problem.

Thanks & Regards,
Dhruvit Vasavada

0 Kudos
Reply

812 Views
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @ciaran_lequeux,

I hope you are doing well.

Any Updates from your side?

Thanks & Regards,
Dhruvit Vasavada

0 Kudos
Reply