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.

PCM1865: Clock Change Auto Detect Problem

Part Number: PCM1865

Hello,

I'm using the PCM1865 EVM connected to my microcontroller via I2S and I2C. I'm able to configure properly for 4 channels I2S (Using Dout2 on a GPIO) and change gain with I2C (side note: I do get clicks on gain change regardless if I have the "smooth gain change" enabled or not). I have the device setup as slave and to autodetect the MCLK from the microcontroller. My audio stream at 44.1 / 88.2kHz plays perfectly, but when I attempt to change to 48kHz or 96kHz, I get what sounds like a tremolo or stuttering in the audio. In addition, the Power Status changes from "run" to "fade in". What should I be looking at to solve this problem?

Cheers, Colin

  • Hi, Colin,

    Thanks for tour post, We will take a look. Could you please share your register settings and hardware configurations?.

    Best Regards,

      -Diego Meléndez López
       Audio Applications Engineer

  • Hi Diego, Thanks for the quick reply. I have the Purepath .xml file, which would make it very easy for you to load and see my settings. Is there a way to attach that here?

    Another funny thing (perhaps related?) is that GPIO2 was the only one I could get DOUT2 to consistently work on. I was getting that "tremelo" sort of effect on GPIO3.

    My hardware setup is with EVMs for prototyping/choosing parts right now, so there are jumper wires neatly going from one board to another. I'm using the PCM1865 as a 4 channel front end for microphone array processing. I've pulled the 0 ohm resistors, so as far as I know the SPIDIF Transceiver is out of the picture. The problem happens regardless if the chip is programmed via Purepath console or my microcontroller.

    Here is my initial configuration for the registers:

    {
    { 0x00, 0x00 },
    { 0x01, 0x0c },
    { 0x02, 0x0c },
    { 0x03, 0x0c },
    { 0x04, 0x0c },
    { 0x05, 0x46 },
    { 0x06, 0x41 },
    { 0x07, 0x41 },
    { 0x08, 0x42 },
    { 0x09, 0x42 },
    { 0x0a, 0x00 },
    { 0x0b, 0x00 },
    { 0x0c, 0x01 },
    { 0x0d, 0x00 },
    { 0x0e, 0x00 },
    { 0x0f, 0x0c },
    { 0x10, 0x21 },
    { 0x11, 0x25 },
    { 0x12, 0x00 },
    { 0x13, 0x04 },
    { 0x14, 0x00 },
    { 0x15, 0x00 },
    { 0x16, 0x0c },
    { 0x17, 0x0c },
    { 0x18, 0x0c },
    { 0x19, 0x00 },
    { 0x1a, 0x00 },
    { 0x1b, 0x00 },
    { 0x1c, 0x00 },
    { 0x1d, 0x00 },
    { 0x1e, 0x00 },
    { 0x1f, 0x00 },
    { 0x20, 0x07 },
    { 0x21, 0x00 },
    { 0x22, 0x00 },
    { 0x23, 0x03 },
    { 0x24, 0x50 },
    { 0x25, 0x07 },
    { 0x26, 0x03 },
    { 0x27, 0x3f },
    { 0x28, 0x01 },
    { 0x29, 0x03 },
    { 0x2a, 0x01 },
    { 0x2b, 0x08 },
    { 0x2c, 0x00 },
    { 0x2d, 0x0f },
    { 0x2e, 0x00 },
    { 0x2f, 0x00 },
    { 0x30, 0x00 },
    { 0x31, 0x00 },
    { 0x32, 0x00 },
    { 0x33, 0x01 },
    { 0x34, 0x01 },
    { 0x35, 0x00 },
    { 0x36, 0x01 },
    { 0x37, 0x00 },
    { 0x38, 0x00 },
    { 0x39, 0x00 },
    { 0x3a, 0x00 },
    { 0x3b, 0x00 },
    { 0x3c, 0x00 },
    { 0x3d, 0x00 },
    { 0x3e, 0x00 },
    { 0x3f, 0x00 },
    { 0x40, 0x80 },
    { 0x41, 0x7f },
    { 0x42, 0x00 },
    { 0x43, 0x80 },
    { 0x44, 0x7f },
    { 0x45, 0x00 },
    { 0x46, 0x80 },
    { 0x47, 0x7f },
    { 0x48, 0x00 },
    { 0x49, 0x80 },
    { 0x4a, 0x7f },
    { 0x4b, 0x00 },
    { 0x4c, 0x80 },
    { 0x4d, 0x7f },
    { 0x4e, 0x00 },
    { 0x4f, 0x80 },
    { 0x50, 0x7f },
    { 0x51, 0x00 },
    { 0x52, 0x80 },
    { 0x53, 0x7f },
    { 0x54, 0x00 },
    { 0x55, 0x80 },
    { 0x56, 0x7f },
    { 0x57, 0x00 },
    { 0x58, 0x80 },
    { 0x59, 0x00 },
    { 0x5a, 0x00 },
    { 0x5b, 0x00 },
    { 0x5c, 0x00 },
    { 0x5d, 0x00 },
    { 0x5e, 0x00 },
    { 0x5f, 0x00 },
    { 0x60, 0x00 },
    { 0x61, 0x00 },
    { 0x62, 0x10 },
    { 0x63, 0x00 },
    { 0x64, 0x00 },
    { 0x65, 0x00 },
    { 0x66, 0x00 },
    { 0x67, 0x00 },
    { 0x68, 0x00 },
    { 0x69, 0x00 },
    { 0x6a, 0x00 },
    { 0x6b, 0x00 },
    { 0x6c, 0x00 },
    { 0x6d, 0x00 },
    { 0x6e, 0x00 },
    { 0x6f, 0x00 },
    { 0x70, 0x70 },
    { 0x71, 0x20 },
    { 0x72, 0x01 },
    { 0x73, 0x05 },
    { 0x74, 0x77 },
    { 0x75, 0x07 },
    { 0x76, 0x11 },
    { 0x77, 0xc4 },
    { 0x78, 0x07 },
    { 0x79, 0x00 },
    { 0x7a, 0x00 },
    { 0x7b, 0x00 },
    { 0x7c, 0x00 },
    { 0x7d, 0x00 },
    { 0x7e, 0x00 },
    { 0x7f, 0x00 },
    { 0x00, 0x01 },
    { 0x01, 0x00 },
    { 0x02, 0x2d },
    { 0x03, 0x00 },
    { 0x04, 0x00 },
    { 0x05, 0x00 },
    { 0x06, 0x01 },
    { 0x07, 0x00 },
    { 0x08, 0x00 },
    { 0x09, 0x00 },
    { 0x0a, 0x00 },
    { 0x0b, 0x00 },
    { 0x0c, 0x00 },
    { 0x0d, 0x00 },
    { 0x0e, 0x00 },
    { 0x0f, 0x00 },
    { 0x00, 0x00 },
    }; 



    Please let me know if there is any more information you need.

    Regards,
    Colin

  • Hi, Colin,

    Thanks for the feedback, I will take a look to the information. About how to post a file, please refer to the following link, having the .xml file would be useful.

    https://e2e.ti.com/group/helpcentral/w/e2e/148.4-5-attaching-a-file  

     Best Regards,

      -Diego Meléndez López
       Audio Applications Engineer

  • Thanks Diego,

    Here is the XML.

    <?xml version="1.0"?>
    <properties>
    	<header>PCM1865</header>
    	<component name="DigitalMixer4">
    		<property name="CH1L" value="-120.0"/>
    		<property name="CH1LInvert" value="False"/>
    		<property name="CH1LMute" value="False"/>
    		<property name="CH1R" value="-120.0"/>
    		<property name="CH1RInvert" value="False"/>
    		<property name="CH1RMute" value="False"/>
    		<property name="CH2L" value="-120.0"/>
    		<property name="CH2LInvert" value="False"/>
    		<property name="CH2LMute" value="False"/>
    		<property name="CH2R" value="0"/>
    		<property name="CH2RInvert" value="False"/>
    		<property name="CH2RMute" value="False"/>
    		<property name="I2SL" value="-120.0"/>
    		<property name="I2SLInvert" value="False"/>
    		<property name="I2SLMute" value="False"/>
    		<property name="I2SR" value="-120.0"/>
    		<property name="I2SRInvert" value="False"/>
    		<property name="I2SRMute" value="False"/>
    	</component>
    	<component name="DigitalPGACh1Right">
    		<property name="HasMute" value="False"/>
    		<property name="I2CAddress1" value="8"/>
    		<property name="I2CLength1" value="2"/>
    		<property name="Mute" value="False"/>
    		<property name="Volume" value="-15"/>
    	</component>
    	<component name="DigitalMixer1">
    		<property name="CH1L" value="0"/>
    		<property name="CH1LInvert" value="False"/>
    		<property name="CH1LMute" value="False"/>
    		<property name="CH1R" value="-120.0"/>
    		<property name="CH1RInvert" value="False"/>
    		<property name="CH1RMute" value="False"/>
    		<property name="CH2L" value="-120.0"/>
    		<property name="CH2LInvert" value="False"/>
    		<property name="CH2LMute" value="False"/>
    		<property name="CH2R" value="-120.0"/>
    		<property name="CH2RInvert" value="False"/>
    		<property name="CH2RMute" value="False"/>
    		<property name="I2SL" value="-120.0"/>
    		<property name="I2SLInvert" value="False"/>
    		<property name="I2SLMute" value="False"/>
    		<property name="I2SR" value="-120.0"/>
    		<property name="I2SRInvert" value="False"/>
    		<property name="I2SRMute" value="False"/>
    	</component>
    	<component name="DigitalMixer2">
    		<property name="CH1L" value="-120.0"/>
    		<property name="CH1LInvert" value="False"/>
    		<property name="CH1LMute" value="False"/>
    		<property name="CH1R" value="0"/>
    		<property name="CH1RInvert" value="False"/>
    		<property name="CH1RMute" value="False"/>
    		<property name="CH2L" value="-120.0"/>
    		<property name="CH2LInvert" value="False"/>
    		<property name="CH2LMute" value="False"/>
    		<property name="CH2R" value="-120.0"/>
    		<property name="CH2RInvert" value="False"/>
    		<property name="CH2RMute" value="False"/>
    		<property name="I2SL" value="-120.0"/>
    		<property name="I2SLInvert" value="False"/>
    		<property name="I2SLMute" value="False"/>
    		<property name="I2SR" value="-120.0"/>
    		<property name="I2SRInvert" value="False"/>
    		<property name="I2SRMute" value="False"/>
    	</component>
    	<component name="DigitalMixer3">
    		<property name="CH1L" value="-120.0"/>
    		<property name="CH1LInvert" value="False"/>
    		<property name="CH1LMute" value="False"/>
    		<property name="CH1R" value="-120.0"/>
    		<property name="CH1RInvert" value="False"/>
    		<property name="CH1RMute" value="False"/>
    		<property name="CH2L" value="0.0"/>
    		<property name="CH2LInvert" value="False"/>
    		<property name="CH2LMute" value="False"/>
    		<property name="CH2R" value="-120.0"/>
    		<property name="CH2RInvert" value="False"/>
    		<property name="CH2RMute" value="False"/>
    		<property name="I2SL" value="-120.0"/>
    		<property name="I2SLInvert" value="False"/>
    		<property name="I2SLMute" value="False"/>
    		<property name="I2SR" value="-120.0"/>
    		<property name="I2SRInvert" value="False"/>
    		<property name="I2SRMute" value="False"/>
    	</component>
    	<component name="BQ">
    		<property name="ActiveGangList" value=""/>
    		<property name="AliasOf" value="None"/>
    		<property name="CoefDefaultQ" value="23"/>
    		<property name="CoefWidth" value="24"/>
    		<property name="CurrentRate" value="Rate48"/>
    		<property name="DisplayName" value="None"/>
    		<property name="GangList" value=""/>
    		<property name="HasAlias" value="False"/>
    		<property name="Inst1_A1" value="0.1537830829620361328125"/>
    		<property name="Inst1_A2" value="-0.18834507465362548828125"/>
    		<property name="Inst1_B0" value="0.22019469738006591796875"/>
    		<property name="Inst1_B1" value="0.22019469738006591796875"/>
    		<property name="Inst1_B2" value="0.22019469738006591796875"/>
    		<property name="Inst1_Bandwidth" value="1000.0"/>
    		<property name="Inst1_CornerFrequency" value="100.0"/>
    		<property name="Inst1_FilterSubType" value="ButterWorth 1"/>
    		<property name="Inst1_FilterType" value="Custom"/>
    		<property name="Inst1_Gain" value="0.0"/>
    		<property name="Inst1_On" value="1"/>
    		<property name="Inst1_PB" value="0.5"/>
    		<property name="Inst1_Q" value="8.6"/>
    		<property name="Inst1_Scale" value="1.0"/>
    		<property name="Inst2_A1" value="0.47448217868804931640625"/>
    		<property name="Inst2_A2" value="0"/>
    		<property name="Inst2_B0" value="0.97448217868804931640625"/>
    		<property name="Inst2_B1" value="-0.4872410297393798828125"/>
    		<property name="Inst2_B2" value="0"/>
    		<property name="Inst2_Bandwidth" value="16.0"/>
    		<property name="Inst2_CornerFrequency" value="18000.0"/>
    		<property name="Inst2_FilterSubType" value="ButterWorth 1"/>
    		<property name="Inst2_FilterType" value="Custom"/>
    		<property name="Inst2_Gain" value="0.0"/>
    		<property name="Inst2_On" value="1"/>
    		<property name="Inst2_PB" value="0.5"/>
    		<property name="Inst2_Q" value="0.707"/>
    		<property name="Inst2_Scale" value="1.0"/>
    		<property name="Instances" value="2"/>
    		<property name="IsGanged" value="False"/>
    		<property name="Rate12" value="False"/>
    		<property name="Rate16" value="False"/>
    		<property name="Rate176" value="False"/>
    		<property name="Rate192" value="False"/>
    		<property name="Rate24" value="False"/>
    		<property name="Rate32" value="False"/>
    		<property name="Rate44" value="True"/>
    		<property name="Rate48" value="False"/>
    		<property name="Rate8" value="False"/>
    		<property name="Rate88" value="False"/>
    		<property name="Rate96" value="False"/>
    		<property name="ShowComposite" value="True"/>
    		<property name="WriteToBoard" value="False"/>
    	</component>
    	<component name="GainCh1Right">
    		<property name="HasMute" value="False"/>
    		<property name="I2CAddress1" value="8"/>
    		<property name="I2CLength1" value="2"/>
    		<property name="Mute" value="False"/>
    		<property name="Volume" value="6"/>
    	</component>
    	<component name="Mux4">
    		<property name="MuxSelect" value="1"/>
    	</component>
    	<component name="EVMIO">
    		<property name="CurrentTarget" value="PCM1865_0"/>
    		<property name="Mode" value="mode0"/>
    	</component>
    	<component name="Mux2">
    		<property name="MuxSelect" value="1"/>
    	</component>
    	<component name="Mux3">
    		<property name="MuxSelect" value="1"/>
    	</component>
    	<component name="Mux1">
    		<property name="MuxSelect" value="1"/>
    	</component>
    	<component name="DigitalPGACh2Left">
    		<property name="HasMute" value="False"/>
    		<property name="I2CAddress1" value="8"/>
    		<property name="I2CLength1" value="2"/>
    		<property name="Mute" value="False"/>
    		<property name="Volume" value="-15"/>
    	</component>
    	<component name="AnalogPGACh1Right">
    		<property name="HasMute" value="False"/>
    		<property name="I2CAddress1" value="8"/>
    		<property name="I2CLength1" value="2"/>
    		<property name="Mute" value="False"/>
    		<property name="Volume" value="5"/>
    	</component>
    	<component name="VirtualCoeff">
    		<property name="Address" value="0"/>
    		<property name="Export" value="None"/>
    	</component>
    	<component name="Framework">
    		<property name="ADCAdaptive" value="True"/>
    		<property name="AutoWriteState" value="True"/>
    		<property name="AutoWriteStateDelay" value="100"/>
    		<property name="CoefDefaultQ" value="23"/>
    		<property name="CoefWidth" value="24"/>
    		<property name="DACAdaptive" value="False"/>
    		<property name="DACAdaptive1" value="False"/>
    		<property name="DACAdaptive2" value="False"/>
    		<property name="DefaultI2C" value="148"/>
    		<property name="DeviceName" value="PCM186x"/>
    		<property name="DeviceType" value="PCM51XX"/>
    		<property name="SampleRate" value="48kHz"/>
    		<property name="TargetType" value="AIC3xxx"/>
    		<property name="USBType" value="AIC_TUSB1020B"/>
    	</component>
    	<component name="DigitalPGACh2Right">
    		<property name="HasMute" value="False"/>
    		<property name="I2CAddress1" value="8"/>
    		<property name="I2CLength1" value="2"/>
    		<property name="Mute" value="False"/>
    		<property name="Volume" value="-15"/>
    	</component>
    	<component name="PFWControl">
    		<property name="Autogain" value="True"/>
    		<property name="Controls" value="True"/>
    		<property name="DecimationFilter" value="1"/>
    		<property name="HighPassFilter" value="0"/>
    		<property name="MuteCh1Left" value="False"/>
    		<property name="MuteCh1Right" value="False"/>
    		<property name="MuteCh2Left" value="False"/>
    		<property name="MuteCh2Right" value="False"/>
    		<property name="PGA_Attenuation" value="0"/>
    		<property name="PGA_Clipping" value="False"/>
    		<property name="PGA_PgaSmoothChange" value="True"/>
    		<property name="PGA_Startafter" value="3"/>
    		<property name="ProcessingMode" value="0"/>
    		<property name="Suppression" value="False"/>
    	</component>
    	<component name="GainCh1Left">
    		<property name="HasMute" value="False"/>
    		<property name="I2CAddress1" value="8"/>
    		<property name="I2CLength1" value="2"/>
    		<property name="Mute" value="False"/>
    		<property name="Volume" value="6"/>
    	</component>
    	<component name="GainCh2Right">
    		<property name="HasMute" value="False"/>
    		<property name="I2CAddress1" value="8"/>
    		<property name="I2CLength1" value="2"/>
    		<property name="Mute" value="False"/>
    		<property name="Volume" value="6"/>
    	</component>
    	<component name="AnalogPGACh1Left">
    		<property name="HasMute" value="False"/>
    		<property name="I2CAddress1" value="8"/>
    		<property name="I2CLength1" value="2"/>
    		<property name="Mute" value="False"/>
    		<property name="Volume" value="5"/>
    	</component>
    	<component name="BlockDiagram">
    		<property name="ADC1LeftPolarity" value="False"/>
    		<property name="ADC1LeftSource" value="1"/>
    		<property name="ADC1RightPolarity" value="False"/>
    		<property name="ADC1RightSource" value="1"/>
    		<property name="ADC2LeftPolarity" value="False"/>
    		<property name="ADC2LeftSource" value="2"/>
    		<property name="ADC2RightPolarity" value="False"/>
    		<property name="ADC2RightSource" value="2"/>
    		<property name="AI_Format" value="0"/>
    		<property name="AI_I2SRxLength" value="0"/>
    		<property name="AI_I2STxLength" value="0"/>
    		<property name="AI_TDMDutyCycle" value="0"/>
    		<property name="AI_TDMOutputSelect" value="1"/>
    		<property name="AI_TDMRxOffset" value="0"/>
    		<property name="AI_TDMTxOffset" value="0"/>
    		<property name="Ctl_ClippingErrorEnable" value="False"/>
    		<property name="Ctl_ClippingErrorTrigger" value="False"/>
    		<property name="Ctl_ClockErrorTrigger" value="False"/>
    		<property name="Ctl_DCLevelEnable" value="False"/>
    		<property name="Ctl_DCLevelTrigger" value="False"/>
    		<property name="Ctl_DINToggleEnable" value="False"/>
    		<property name="Ctl_DINToggleTrigger" value="False"/>
    		<property name="Ctl_EnergySenseEnable" value="False"/>
    		<property name="Ctl_EnergySenseTrigger" value="False"/>
    		<property name="Ctl_PulsePolarity" value="1"/>
    		<property name="Ctl_PulseWidth" value="0"/>
    		<property name="GPIODirection0" value="0"/>
    		<property name="GPIODirection1" value="0"/>
    		<property name="GPIODirection2" value="4"/>
    		<property name="GPIODirection3" value="0"/>
    		<property name="GPIOFunction0" value="1"/>
    		<property name="GPIOFunction1" value="2"/>
    		<property name="GPIOFunction2" value="5"/>
    		<property name="GPIOFunction3" value="2"/>
    		<property name="GPIOPolarity0" value="0"/>
    		<property name="GPIOPolarity1" value="0"/>
    		<property name="GPIOPolarity2" value="0"/>
    		<property name="GPIOPolarity3" value="0"/>
    		<property name="IntEnable" value="False"/>
    		<property name="MD0Enable" value="False"/>
    		<property name="MD1Enable" value="False"/>
    		<property name="MD2Enable" value="False"/>
    		<property name="MD3Enable" value="False"/>
    		<property name="MD4Enable" value="False"/>
    		<property name="MD5Enable" value="False"/>
    		<property name="MD6Enable" value="False"/>
    		<property name="Power_AnalogPowerDown" value="False"/>
    		<property name="Power_DeviceSleep" value="False"/>
    		<property name="Power_DigitalStandby" value="False"/>
    		<property name="Ref_MicBiasPower" value="1"/>
    		<property name="Ref_ResistorBypass" value="0"/>
    		<property name="SecADC_AuxADCData" value="0"/>
    		<property name="SecADC_DCChannel" value="0"/>
    		<property name="SecADC_ReadData" value="True"/>
    		<property name="SecADC_ReadDataButton" value="False"/>
    		<property name="SecADC_SD_Ch1_Left" value="False"/>
    		<property name="SecADC_SD_Ch1_Right" value="False"/>
    		<property name="SecADC_SD_Ch2_Left" value="False"/>
    		<property name="SecADC_SD_Ch2_Right" value="False"/>
    		<property name="SecADC_SD_Ch3_Left" value="False"/>
    		<property name="SecADC_SD_Ch3_Right" value="False"/>
    		<property name="SecADC_SD_Ch4_Left" value="False"/>
    		<property name="SecADC_SD_Ch4_Right" value="False"/>
    		<property name="SecADC_Signal_Ch1_Left_D" value="127"/>
    		<property name="SecADC_Signal_Ch1_Left_R" value="128"/>
    		<property name="SecADC_Signal_Ch1_Right_D" value="127"/>
    		<property name="SecADC_Signal_Ch1_Right_R" value="128"/>
    		<property name="SecADC_Signal_Ch2_Left_D" value="127"/>
    		<property name="SecADC_Signal_Ch2_Left_R" value="128"/>
    		<property name="SecADC_Signal_Ch2_Right_D" value="127"/>
    		<property name="SecADC_Signal_Ch2_Right_R" value="128"/>
    		<property name="SecADC_Signal_Ch3_Left_D" value="127"/>
    		<property name="SecADC_Signal_Ch3_Left_R" value="128"/>
    		<property name="SecADC_Signal_Ch3_Right_D" value="127"/>
    		<property name="SecADC_Signal_Ch3_Right_R" value="128"/>
    		<property name="SecADC_Signal_Ch4_Left_D" value="127"/>
    		<property name="SecADC_Signal_Ch4_Left_R" value="128"/>
    		<property name="SecADC_Signal_Ch4_Right_D" value="127"/>
    		<property name="SecADC_Signal_Ch4_Right_R" value="128"/>
    		<property name="SecADC_SignalDectectInterval" value="1"/>
    		<property name="SecADC_SignalLossDetect" value="1"/>
    		<property name="SecADC_TM_Ch1_Left" value="False"/>
    		<property name="SecADC_TM_Ch1_Right" value="False"/>
    		<property name="SecADC_TM_Ch2_Left" value="False"/>
    		<property name="SecADC_TM_Ch2_Right" value="False"/>
    		<property name="SecADC_TM_Ch3_Left" value="False"/>
    		<property name="SecADC_TM_Ch3_Right" value="False"/>
    		<property name="SecADC_TM_Ch4_Left" value="False"/>
    		<property name="SecADC_TM_Ch4_Right" value="False"/>
    		<property name="SecADCGlobalLoss" value="-110.00"/>
    		<property name="SecADCGlobalResume" value="-55.00"/>
    	</component>
    	<component name="AnalogPGACh2Left">
    		<property name="HasMute" value="False"/>
    		<property name="I2CAddress1" value="8"/>
    		<property name="I2CLength1" value="2"/>
    		<property name="Mute" value="False"/>
    		<property name="Volume" value="5"/>
    	</component>
    	<component name="ClockControl">
    		<property name="ADCClockSource" value="0"/>
    		<property name="ADCDivider" value="1"/>
    		<property name="AutoDetect" value="True"/>
    		<property name="DSP1ClockSource" value="0"/>
    		<property name="DSP1Divider" value="1"/>
    		<property name="DSP2ClockSource" value="0"/>
    		<property name="DSP2Divider" value="2"/>
    		<property name="InitialBCK" value="3.072"/>
    		<property name="InitialLRCK" value="48"/>
    		<property name="InitialSCK" value="24.576"/>
    		<property name="InitialXtal" value="24.576"/>
    		<property name="MasterBCKDivider" value="64"/>
    		<property name="MasterClockSource" value="0"/>
    		<property name="MasterSCKDivider" value="4"/>
    		<property name="Mode" value="0"/>
    		<property name="PCM9211DIT" value="1"/>
    		<property name="PLLDivider" value="8"/>
    		<property name="PLLDValue" value="3840"/>
    		<property name="PLLEnable" value="False"/>
    		<property name="PLLJValue" value="16"/>
    		<property name="PLLPValue" value="2"/>
    		<property name="PLLReference" value="0"/>
    		<property name="PLLRValue" value="1"/>
    		<property name="SCKSelection" value="0"/>
    	</component>
    	<component name="DigitalPGACh1Left">
    		<property name="HasMute" value="False"/>
    		<property name="I2CAddress1" value="8"/>
    		<property name="I2CLength1" value="2"/>
    		<property name="Mute" value="False"/>
    		<property name="Volume" value="-15"/>
    	</component>
    	<component name="GainCh2Left">
    		<property name="HasMute" value="False"/>
    		<property name="I2CAddress1" value="8"/>
    		<property name="I2CLength1" value="2"/>
    		<property name="Mute" value="False"/>
    		<property name="Volume" value="6"/>
    	</component>
    	<component name="AnalogPGACh2Right">
    		<property name="HasMute" value="False"/>
    		<property name="I2CAddress1" value="8"/>
    		<property name="I2CLength1" value="2"/>
    		<property name="Mute" value="False"/>
    		<property name="Volume" value="5"/>
    	</component>
    </properties>
    

  • I have an update. It seems the problem stems from the DOUT2 on GPIO2 and maybe grounding. When I turn DOUT2 off, I have no problem changing Sample Frequencies and auto detecting. When DOUT2 is on, the problem occurs. Adding to this, of course my two EVMs are grounded together, but when I add not one, but two more ground connections, the 96kHz playback gets a whole lot better when DOUT2 is on. There are still unacceptable glitches. Perhaps the problem will go away once I create my own PCB, but it's a little perplexing why it only happens with DOUT2 is turned on. I need to run DOUT2 for 4 audio streams. Any advice? Do my register values look OK?

    EDIT UPDATE: system works perfectly if scope probes are connected to DOUT1 and DOUT2, so I added 47 ohm resistor on DOUT2 line and things seem to work OK now. When I move to PCB vs. 2 EVMs connected, I'm expecting things to behave properly.

    Thanks for looking at my problem.

    Regards, Colin

  • Hi, Colin,

    Thanks for the update and sorry for the delay in getting back to you; I'm glad to hear you were able to solve the issue. Regarding the code you sent, it seems that digital Audio format register (0x0b) is not configured ({ 0x0b, 0x00 }), this is weird because you are able to configure the PCM1865s properly.

    Please let us know if you have more questions.

    Best Regards,

      -Diego Meléndez López
       Audio Applications Engineer

  • My guess for register 0x0b is that I had it set to 32-bit I2S in Purepath Console.