IMX SSI TDM 32-channel SabreLite

cancel
Showing results for 
Search instead for 
Did you mean: 

IMX SSI TDM 32-channel SabreLite

1,578 Views
ertan_esgun
Contributor I

Hello there,

I am using Boundary Devices's SabreLite Board (https://boundarydevices.com/product/sabre-lite-imx6-sbc/​) with Yocto Project.

I am trying to use 32-channel TDM over SSI (Slave mode, 8Khz, 32-channel, 8bit per channel).

SabreLite board has SGTL5000. I removed it and i am gonna use the SSI pins connected to SGTL5000.

And here is my questions:

1) First of all, can i do that?

2) Does ALSA support TDM((Slave mode, 8Khz, 32-channel, 8bit per channel).)?

3) And if answers of question 1 and euestion 2 is yes, tell me how please

Thank you for your interest.

Good Luck.

Labels (3)
5 Replies

661 Views
rosciio
Contributor I

Hi everyone,

i'm working on that argument. I would like configure the ssi into Network mode. I have done this, so, I modified the register to do it, but now I can't understand how linux show on user space "/proc/asound/card0/pcmX" X times my slot.

 

any one can explain me this?

 

thank you very much

Marco From Italy

0 Kudos

661 Views
jerryyan
Contributor I

Hi Marco,

   I am now also struggling on this issue. Can you share your solution with us? 

   I use SSI to connect to a CS42888 codec, As state in document of CS42888, the SCLK should be 256xFs, but in fsl_ssi.c, if  4 channels used, the BCLK will be set to 4*32*Fs=128Fs, not 256Fs.  Is there any misunderstanding ?

0 Kudos

661 Views
nguyenanhduc
Contributor I

Dear Ertan,

I am implementing a system almost the as the same as yours and also struggling with the low-level software stuff.

I am wondering if you are making any progress and could you please share your experience,

Thank you in advance,

0 Kudos

661 Views
igorpadykov
NXP TechSupport
NXP TechSupport

also it may be useful to look at

Documentation/bindings/sound/tdm-slot.txt

http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/Documentation/devicetree/bindings/s...

and sources of ssi dai driver in linux/sound/soc/fsl/fsl_ssi.c

Best regards

igor

661 Views
fabio_estevam
NXP Employee
NXP Employee

The kernel NXP provides does not support 32 channels in the SSI interface.

There is a new series from Arnaud Mouiche that allows such usecase in the mainline kernel.This series appears in the 4.7-rc series and you can find it at:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/sound/soc/fsl/fsl_ssi.c?id=refs/...

0 Kudos