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.

problem in pcm1796 zerol & zeroR

Other Parts Discussed in Thread: MSP430F5529, PCM1796, PCM9211

Hi all,

i am working on pcm1796 and msp430f5529.

here in pcm1796, pin ZEROL & ZEROR (pin1 and pin2) is connected to microcontroller. when I2S input comes then these pins goes low and when not connect then pins goes high. 

but when i connect it with 10k Resistance to microcontroller at BIT6 and BIT7 of PORT2 then it generate pulse means interchange between high and low and when i2s input connect then it working properly.

i want to know where is the problem in pcm1796 or in connection or anything else.

2- mute function also not working. 

  • Hi,

    My colleague who supports this part is out of the office today but he will provide feedback about the issue early next week.

    Thanks and Best Regards,

      -Diego Meléndez López
       Audio Applications Engineer

  • Hi,

    it is possible to detect silence in pcm1796??

    if yes then how ??

  • Hi, Prateek,

    Yes, the PCM1796 can detect a stream of 0000s in the I2S data. This is described in the d/s on page 18:

    If your system has some noise in it, the I2S DATA may not be "0" for the full 1024 LRCLK cycles which would result in the ZEROx pins never transitioning.

    -d2

  • Hi,

    thanks for reply but where i can detect using i2c communication, in reg 22 or 23 there is some data present for zero detection but when i configure it, it will not working properly.

  • Hi, Prateek,

    Are the hardware pins working correctly, but not the I2C registers? I suspect it's the same problem I mentioned above. Are you SURE your I2S stream is all zeroes?

    -d2
  • Hi Dapkus,

    yes hardware pins working correctly and iin i2s stream data will not come but LRCK,BCK,SCk comes, in data packets comes but not exact data.

    if noise comes then it will not working ??

    then how to reduce noise coz i2s data comes through pcm9211.
  • Hi,

    i can check noise today, noise level is -110dB with A-weighted filter at 96 KHz.

    but i cant read zero detect at this point when data not come.

    so would you plz suggest about reg 23 and mute setting.

    in pcm1796 when data will not come then ZEROL & ZEROR become high and when data comes then these pins become low.

    can you please told me that what is the impedance at ZEROL and ZERoR pin coz if i use transistor npn or pnp with respect to supply and ground then it shows trigger when data not come.  

  • Hi Prateek,

    If the Zero flag pins are going high then register 22 will reflect that. Could you post the I2C data you are sending? The datasheet does not specify whether the address for the register map is in decimal or hex, you could try using the opposite form of the address that you are using. Are you getting an ACK from the part?

    Justin