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.

PCM5142EVM on PurePathStudio

Other Parts Discussed in Thread: PCM5142

Hi

Is it possible to use tone generator in the GDE of PurePath Studio to generate sine wave at the output of PCM5142EVM? I got it through the USB but is it possible through tone generator?

Thanks

Ankur

  • Hi Ankur,

    Yes, this is possible. Below is a screen capture of a very basic PPS layout I used. The Mux is only there so I could switch back and forth between my I2S signal and the tone generator to ensure the tone generator was producing an output. Connecting the tone generator to the output should produce a sine wave.

    Hope this helps! 
    -Mike

  • Hello Mike
    Instead of using the MUX I gave two generators to L and R of OUT ROM. But it didn't work. The switches on my EVM are positioned in the USB mode. Do I have to change switch settings or do some modifications in the .cfg file?

    Best Regards
    Ankur
  • Hi Ankur,

    The DSP has an auto-mute feature which is what is being activated when there is no I2S signal coming in. You need to disable this feature if you only want to use tone generators.

    To disable this feature go into the "SystemSettingsCode Editor" which is within the properties window of the PCM5142 block (see below):

    Next, add this line of code to the end of that editor:
    reg[0][0x41] =0x0

    This register will turn off the auto-mute feature of the device.

    Regards,
    Mike

  • Thanks Mike
    That made it work.

    Regards
    Ankur