i.MX6Q Audio channel swap issue

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

i.MX6Q Audio channel swap issue

835 Views
saurabh206
Senior Contributor III

Hi

We have setup SSI master mode to provide clock to slave codec.

We found that Audio channel data swap after hardware reboot.

After debug I found that

In normal case we should get TUE0 ISR first and TUE1 ISR next to TUE0.

But when reboot/next boot occurs we are getting TUE1 ahead or TUE0. Which make data order change

How to fix this issue?

Thanks

Saurabh

Labels (5)
Tags (3)
0 Kudos
5 Replies

587 Views
igorpadykov
NXP Employee
NXP Employee

Hi Saurabh

probably codec did not stop after reboot and become

out of sync after processor rebooted. One can try to stop codec

and reinitialize both processor and codec.

Best regards

igor

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

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

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

0 Kudos

587 Views
saurabh206
Senior Contributor III

Hi igor,

This issue happens with simple PCM or wav file playback.

Also happens after system power off also.

What should be correct approach if we get TUE1 ISR ahead of TUE0 ISR?

Thanks

Saurabh

0 Kudos

587 Views
igorpadykov
NXP Employee
NXP Employee

Hi Saurabh

what BSP are you using, had you tried

latest Freescale L3.14.28_1.0.0_iMX6QDLS_BUNDLE

Best regards

igor

0 Kudos

587 Views
saurabh206
Senior Contributor III

Hi Igor,

We are using 3.10.17, its hard to update kernel at this stage, Only this issue is remaining.

I have refer 3.14.28 kernel code, which has FIQ implementation.

Thanks

Saurabh

0 Kudos

587 Views
igorpadykov
NXP Employee
NXP Employee

Hi Saurabh

I would suggest to check L3.10.17_1.0.2_iMX6QDLS_BUNDLE

Best regards

igor

0 Kudos