I2S pin description on Cinterion DSB mini board | Telit Cinterion IoT Developer Community
October 25, 2016 - 9:51am, 4201 views
Hello
We would like to test I2S audio with modul Cinterion PLS8-E version3 with Cinterion DSB mini board + Cinterion multi adapter. We need know exact pins dedicated for I2S digital audio. From documentation (M2M-accessories-dsb-mini_ug.pdf) on page 22, I found description i2s pins on DAI connector.
I2S_OUT is probably pin3 DAI1/TX
I2S_IN is probably pin4 DAI1/RX
I2S_CLK is probably pin6 DAI3/BITCLK
however I don’t know which pin is I2S_FSC (frame synchr). Is it pin5 DAI2/FS or pin7 DA4/FSIN? I marked it bellow picture with yellow colour.
Thank you in advance
Alan
Hello,
It should be FS for this module. The boards are universal. FS is used for master and FSIN for slave mode.
Regards,
Bartłomiej
Hello Bartolomej
Thank you for your answer. You are right DAI2/FS is for master mode and FSIN is for slave mode. In documentation missing one PIN description. I found out that DAI5 is BCLKIN (for slave mode) similar DAI3/BCLK(for master mode).Could I have one question I test i2s audio and I have evaluation dsb mini board with modem PLS8-E (modem has revision 02.011) and USB/I2S sound card. I m not sure that this revision support I2S audio because I have problem with I2S audio . I suppose that only modem PLS8-E with REVISON 03.017 support i2s audio. Could you confirm it please.
Thank you in advance
Best regards
Alan
Hello,
Thank you for the information about the slave mode - that is interesting.
The revision 2 should also support i2s. Could you describe your problems?
Regards,
Bartłomiej
Hello Bartolomiej
Thank you for answer. We bought USB/I2S sound card ministreamer
https://www.minidsp.com/products/usb-audio-interface/ministreamer
and we connect this sound card with module Cinterion PLS8-E version2(with Cinterion DSB mini board).In first phase I only try play (send) audio wav file from minidsp sound card to PLS8 module. I set modul with at command at^saic=3,1,1,0,1,0,1,1 as slave mode and ministreamer as master (with jumper). I connected pin FSIN(DAI connector module) with pin LRCLKOUT(ministreamer) and BCLKIN(DAI connector-module) with SCLKOUT(ministreamer) and RX(DAI connector module) with SDOUT(ministreamer). On ministreamer is also connector MCLK clock however on DAI connector is not such connector. I’m not sure that this MCLK clock is important for i2s audio... Do you have experience with I2S audio? Problem is that sound is few second good and after few seconds there is some horrible noise and after few seconds is it Ok again and after few seconds is again noise. I think there is some problem with synchronization. I set on ministreamer: 2channels/16bit/16000kHz sample rates, I tried also 2channels/16bit/8000kHz sample rates.
If you have some advice it could be greate.
Best regards Alan
Hello,
This is not a very popular feature and I also don't have experience with that unfortunately.
Have you also tried to use the module as master? In fact I can't see a slave option in the documentation. My colleague has tested with master mode some time ago and it was working.
I have also noticed in your SAIC configuration that you have set <ext_clk_mode> parameter to 1 - "I²S master clock will be automatically provided only during audio activity" which seems to be relevant to master mode only. The other option "I²S master clock is permanently off" seems more accurate for slave mode (if it is supported).
As you have probably noticed some parameters of AT^SAIC command are only valid for PCM and ignored for i2s.
Is the MCLK line of your device an input or output? There is I2S_MCLKOUT on the module which is "I2S Master clock to supply external codecs without PLL".
According to the module's HD description there are the following lines available:
PCM_I2S_OUT - I2S data from PLS8-E to external codec (output)
PCM_I2S_IN - I2S data from external codec to PLS8-E (input)
PCM_I2S_FSC - Frame synchronization signal to/from external codec Word alignment (WS) (output)
PCM_I2S_CLK - Bit clock to external codec (output)
I2S_MCLKOUT - I2S Master clock to supply external codecs without (output)
And the I2S interface characteristics:
• Bit clock mode: Master, optional master clock output
• Sampling rate: 8KHz (narrowband), 16KHz (wideband)
• 256kHz bit clock at 8kHz sample rate
• 512kHz bit clock at 16kHz sample rate
• Frame length: 32 bit stereo voice signal (16 bit word length)
• Optional Master clock: 2048KHz (8KHz sample rate) or 4096KHz (16KHz sample rate)
Regards,
Bartłomiej
Hello Bartłomiej
I received information from our module supplier that might revision 2.011 (module PLS-8) doesn’t support i2s audio, I’m not sure with this information. Revision 3.017 support surely i2s. We will test this revision in near future. Our supplier will deliver us mentioned module (nowadays we have only revision 2.011. Could you please find out if it is possible which revision used your colleague?
1.In documentation on page 442 (PLS8-E AT Command Set V03.017 (26.05.2016).pdf) is parameter for master/slave
I’m not sure that this parameter is also for I2S audio or only for PCM...
<mode>(num) PCM Master or Slave mode
0(P) Master mode
1 Slave mode
I have tried also set module as master and sound card as slave. If I set this combination outgoing audio which I sent from sound card to module was ok only sometimes (it was accidental process) maybe 10% from all attempts.
Mostly I received only noise without audio. Sometimes If I detached common ground between module (DSB Mini board) and sound card minstreamer audio was Ok. I don’t know explain this behavior.
In first tests i tested outgoing audio from sound card ministreamer usb/i2s to module. In second tests I have tried test also recording audio file (receive audio from module and record audio wav file to sound card ministreamer. I tried set module as mater and ministreamer as slave and also set module as slave and ministreamer as master. I received only silence audio file in both cases.
2.Our device sound card ministreamer has MCLKOUT (play) and MCLKIN (rec) however I didn’t find MCLK pin on DAI connector on white DSB-Mini developer board and also I didn’t find this pin on green Multi-Adapter R1. I hope that MCLK pin is not so important. I’m not sure... Could you found out if it is possible from your colleague that he used MCLK for i2s?
3.I tried set <ext_clk_mode> to vlaue 0 and also 1.
Thank you for your willingness.
Best regards Alan
Hello,
My colleague was using the revision 3 module. The codec W681360RG or NAU8822 with a handset was used connected to the DAI interface on DSB Mini or DSB75.
The mode parameter is for PCM as some other PCM-only parameters. You can't omit it but it's ignored for i2s.
Regards,
Bartłomiej
Hello Bartolomiej
Thank you for your answer and information.
Best regards Alan