i.mx6 SSI in TDM mode

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

i.mx6 SSI in TDM mode

1,376 Views
lo2
Contributor I

Hello,

I attached a PCM3168a to the SSI port of the i.mx6q, the codec provides the bit- and wordclocks (imx is slave) and expects data like this:

Screenshot from 2015-01-12 18_44_27.png

(ti pcm3168a datasheet page 25) bit clock is 11.29MHz

I configured ssi scr to work in networked mode and the ssi stccr is set to 0x16705:

-> word length WL 24 bits

-> 8 words per frame (DC)

I looks like the i.mx6 outputs all 8x24bits back to back, i.e. there's no padding to 32 bits.

I need either 24bits data + 8bits padding or 24bits data + 8 bits padding.

How can I configure the ssi to output such a pattern?

Sending 32 bits with the padding bits set to zero seems to be no option as the WL limit is 24 bits.

Regards,

Lo2

Labels (1)
0 Kudos
1 Reply

537 Views
igorpadykov
NXP Employee
NXP Employee

Hi Lothar

you are right WL limit is 24 bits as stated in

IMX6DQRM sect.61.1.1 Features :

Programmable word length (8, 10, 12, 16, 18, 20, 22 or 24 bits)

unfortunately, I am afraid it is not possible to extend (or pad in some way) it to 32 bits.

Best regards

igor

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

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

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

0 Kudos