iMX6SL SSI Interface problem

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

iMX6SL SSI Interface problem

1,304 Views
changyonglee
Contributor II

Hi. 

My custom board used imx6sl MPU.
And It is using SSI Interface between iMX6SL and vocoder(AMBE3000).
- The used ssi pin information is shown below.

캡처.PNG

SSI interface has problem. Check please.
At TX signal, Frame Sync pin clock is generated differently.

   -- Yello : TXFS pin.

   -- Green : TXC pin.

   -- Blue : TXD pin.

캡처.PNG

I send 32Byte same data. kernel version is 3.14.52. 
First image is normal.
But Second image is different. I marked it with a dotted line.
Frame Sync additional clock was generated. (1clock)

This problem is very important.

What is the cause? Please ask for a review.

Thankyou. 

Labels (4)
Tags (3)
0 Kudos
7 Replies

1,085 Views
igorpadykov
NXP Employee
NXP Employee

Hi changyonglee

if you have working case, most simple would be dump ssi clock registers,

please check sect.47.8.4 SSI Clocking i.MX6SL Reference Manual

http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6SLRM.pdf

amd compare with non-working case. Then set appropriate clocks correctly.

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

0 Kudos

1,085 Views
changyonglee
Contributor II

Thank you for your reply.


Can you give me another guide?
I think that your guide is inappropriate. Because It has limitations in solving the problem by set appropriate clocks correctly(modifying the software).

Is Freescale(nxp) company aware of SSI interface issues?

Best regards

0 Kudos

1,086 Views
igorpadykov
NXP Employee
NXP Employee

please look at Chapter 8 Porting Audio Codecs to a Custom Board

attached Porting Guide.

~igor

0 Kudos

1,086 Views
changyonglee
Contributor II

Thankyou for Your guide.

I think this issue may be a CPU problem.
I send same data but sometimes An additional Frame Sync clock is generated.
FrameSync clocks are sometimes not controlled.

Could let me know about SSI related issues.

thankyou.

0 Kudos

1,086 Views
igorpadykov
NXP Employee
NXP Employee

ssi works fine on i.MX6SL EVK and one can test it using Demo Images from

http://www.nxp.com/webapp/Download?colCode=IMX6_M6.0.1_2.1.0_A_DEMO_EVK_BSP&appType=license&location... 

~igor

0 Kudos

1,086 Views
changyonglee
Contributor II

Thanks your kind reply.

But, the above problem occur in my device.

untitled.png

The figure shows the iMX6SL and AMBE3000 device architecture.
The ALSA3000 driver uses ALSA LIB.


Do you have the informations related SSI Interface issues and patch ?

Thankyou.

0 Kudos

1,086 Views
igorpadykov
NXP Employee
NXP Employee
0 Kudos