This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/PCM9211: I2S Dout have no data output

Part Number: PCM9211

Tool/software: Linux

pcm9211 pin:

RXIN3:   spdif input

input source:48K sine wave

I had switched the router to DIR RXIN3! The BCLK and the LRCK is ok, seperatly 3.074M and 48K,but DOUT have no data output??

In addition,everything was ok when I switched the router to ADC(VINR/VINL).

  • Hi Erlei,
    Welcome to e2e forum!

    Can you please share the config file that you are using for this routing?

    To clarify, what you are trying to do is route S/PDIF input on RXIN3 and expect I2S on main output port. Is my understanding correct?
    If yes, I'll be more than happy to share the correct configuration for the same. Please let me know.

    Thanks and Best regards,
    Ravi
  • Hi Ravi,

    Thanks for the reply!

    Yes, your understanding is correct.

    I have four input source,RXIN0,RXIN2,RXIN3,VINR/VINL. I'm trying to route them and expect I2S on main output port Separately.

    Another, how can I know witch one of them is inserted? how pcm9211 can inform me when one S/PDIF input on RXINx is inserted?

    my config:

    static struct router_rxin3_to_main_out_config[] = {

    {0x40, 0x33},

    {0x40, 0xc0},

    {0x31, 0x1a},

    {0x32, 0x22},

    {0x33, 0x22},

    {0x24, 0x00},

    {0x26, 0x81},

    {0x33, 0x22},

    {0x21, 0x00},

    {0x22, 0x01},

    {0x23, 0x00},

    {0x27, 0x00},

    {0x2f, 0x04},

    {0x30, 0x02},

    {0x32, 0x22},

    {0x34, 0xc3},

    {0x37, 0x00},

    {0x6a, 0x00},

    {0x6b, 0x11},

    {0x6d, 0x00},

    };

    Thanks and Best regards,
    ErLei

  • Hi ErLei,

    I just tested the SPDIF->RXIN3->DIR->MainOutput (I2S) using the below script -

    #REG 34h DIR Input Biphase Signal Source Select and RXIN01 Coaxial Amplifier

    #PWR down amplifier, select RXIN3

    w 80 34 C3

    #--------------------------Start MainOutput Settings---------------------------

    #MainOutput

    #REG. 6Ah, Main Output & AUXOUT Port Control

    w 80 6A 00

    #REG. 6Bh, Main Output Port (SCKO/BCK/LRCK/DOUT) Source Setting | Select DIR as SCK Source & BCK/LRCK/DATA Source

    w 80 6B 11

    #REG. 6Dh, MPIO_B & Main Output Port Hi-Z Control

    w 80 6D 00

    I do see DOUT without any issues. I did input 1kHz tone at 48kHz sampling rate and was able to analyze the output using AP. I did briefly evaluate the specific registers listed above and you seem to be have the right values configured.

    Let me review the rest of the register values to see if there is any disconnect.

    As far as detecting which RXIN has S/PDIF, unfortunately we do not have an ability to inform which input has S/PDIF signal present. Thanks. 

  • I alsotested the SPDIF->RXIN3->DIR->MainOutput (I2S) only using the below script:
    ---------------
    w 80 34 c3
    w 80 6a 00
    w 80 6b 11
    w 80 6d 00
    --------------
    I did input 1kHz tone at 48kHz sampling rate.
    The phenomenon(Oscilloscope measurement):
    bclk:3.072M
    lrck:48K
    DOUT:nothing
  • Hi Ravi,
    Thanks for your reply!
    The problem has been solved!
    Thanks for your confirmation that my configs are right!
    Our hardware(Circuit of FILT) have some problem.
  • Hi Erlei,

    Thanks for the update and as a matter of fact, I was about to request review of the HW. Glad the issue is resolved and please feel free to ask of any follow-up question on PCM9211 or any other device you may consider for future projects!

    We are here to help! Thanks again!

    Best regards,
    Ravi