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.

PCM1864-Q1: Question about PCM1864-Q1

Part Number: PCM1864-Q1
Other Parts Discussed in Thread: PCM1864

Tool/software:

Hello:

At present, the mic interface channel has been adjusted in sample B. Sample B is only connected to two channels of MIC. The DOUT of PCM1864 in sample B has no output (level 0). TDM CLK and FS signals are input normally. Please help confirm which registers need to be modified? Thanks!!!

The software register configuration is as follows:

i2cdbgr -D /dev/i2c1 -s 0x4a -w -b 2 -o 0x01 -x 0x20

i2cdbgr -D /dev/i2c1 -s 0x4a -w -b 2 -o 0x02 -x 0x20

i2cdbgr -D /dev/i2c1 -s 0x4a -w -b 2 -o 0x03 -x 0x20

i2cdbgr -D /dev/i2c1 -s 0x4a -w -b 2 -o 0x04 -x 0x20

i2cdbgr -D /dev/i2c1 -s 0x4a -w -b 2 -o 0x05 -x 0xe7

i2cdbgr -D /dev/i2c1 -s 0x4a -w -b 2 -o 0x06 -x 0x41

i2cdbgr -D /dev/i2c1 -s 0x4a -w -b 2 -o 0x07 -x 0x41

i2cdbgr -D /dev/i2c1 -s 0x4a -w -b 2 -o 0x08 -x 0x41

i2cdbgr -D /dev/i2c1 -s 0x4a -w -b 2 -o 0x09 -x 0x41

i2cdbgr -D /dev/i2c1 -s 0x4a -w -b 2 -o 0x0b -x 0x03

i2cdbgr -D /dev/i2c1 -s 0x4a -w -b 2 -o 0x0c -x 0x00

i2cdbgr -D /dev/i2c1 -s 0x4a -w -b 2 -o 0x71 -x 0x80

i2cdbgr -D /dev/i2c1 -s 0x4a -w -b 2 -o 0x73 -x 0x03

Sample A

Sample B

  • Hi Jimmy,

    Apologies for the delay, I will loop in additional ADC expert for support

  • Hi Jimmy,

    A couple of queries:

    1) Based on the configurations above, the device is operating at 48kHz with TDM (which requires 256 BCK per frame), is this correct?

    2) Can you share the readback values of the device status and interrupt registers in this condition?

    Thanks and Regards,

    Lakshmi Narasimhan

  • The readback values below, please help to check.

    addr: 0x0 data : 0x0 addr: 0x1 data : 0x0 addr: 0x2 data : 0x0 addr: 0x3 data : 0x0 addr: 0x4 data : 0x0 addr: 0x5 data : 0xe7 addr: 0x6 data : 0x41 addr: 0x7 data : 0x0 addr: 0x8 data : 0x0 addr: 0x9 data : 0x0 addr: 0xa data : 0x0 addr: 0xb data : 0x3 addr: 0xc data : 0x0 addr: 0xd data : 0x0 addr: 0xe data : 0x0 addr: 0xf data : 0x0 addr: 0x10 data : 0x1 addr: 0x11 data : 0x20 addr: 0x12 data : 0x0 addr: 0x13 data : 0x0 addr: 0x14 data : 0x0 addr: 0x15 data : 0x0 addr: 0x16 data : 0x0 addr: 0x17 data : 0x0 addr: 0x18 data : 0x0 addr: 0x19 data : 0x0 addr: 0x1a data : 0x0 addr: 0x1b data : 0x0 addr: 0x1c data : 0x0 addr: 0x1d data : 0x0 addr: 0x1e data : 0x0 addr: 0x1f data : 0x0 addr: 0x20 data : 0xf addr: 0x21 data : 0x7 addr: 0x22 data : 0x7 addr: 0x23 data : 0xf addr: 0x24 data : 0x50 addr: 0x25 data : 0x7 addr: 0x26 data : 0x3 addr: 0x27 data : 0x3f addr: 0x28 data : 0x3 addr: 0x29 data : 0x0 addr: 0x2a data : 0x1 addr: 0x2b data : 0x10 addr: 0x2c data : 0x0 addr: 0x2d data : 0x0 addr: 0x2e data : 0x0 addr: 0x2f data : 0x0 addr: 0x30 data : 0x0 addr: 0x31 data : 0x0 addr: 0x32 data : 0x0 addr: 0x33 data : 0x1 addr: 0x34 data : 0x0 addr: 0x35 data : 0x0 addr: 0x36 data : 0x1 addr: 0x37 data : 0x0 addr: 0x38 data : 0x0 addr: 0x39 data : 0x0 addr: 0x3a data : 0x0 addr: 0x3b data : 0x0 addr: 0x3c data : 0x0 addr: 0x3d data : 0x0 addr: 0x3e data : 0x0 addr: 0x3f data : 0x0 addr: 0x40 data : 0x80 addr: 0x41 data : 0x7f addr: 0x42 data : 0x0 addr: 0x43 data : 0x80 addr: 0x44 data : 0x7f addr: 0x45 data : 0x0 addr: 0x46 data : 0x80 addr: 0x47 data : 0x7f 
    addr: 0x48 data : 0x0 addr: 0x49 data : 0x80 addr: 0x4a data : 0x7f addr: 0x4b data : 0x0 addr: 0x4c data : 0x80 addr: 0x4d data : 0x7f addr: 0x4e data : 0x0 addr: 0x4f data : 0x80 addr: 0x50 data : 0x7f addr: 0x51 data : 0x0 addr: 0x52 data : 0x80 addr: 0x53 data : 0x7f addr: 0x54 data : 0x0 addr: 0x55 data : 0x80 addr: 0x56 data : 0x7f addr: 0x57 data : 0x0 addr: 0x58 data : 0x0 addr: 0x59 data : 0x0 addr: 0x5a data : 0x0 addr: 0x5b data : 0x0 addr: 0x5c data : 0x0 addr: 0x5d data : 0x0 addr: 0x5e data : 0x0 addr: 0x5f data : 0x0 addr: 0x60 data : 0x1 addr: 0x61 data : 0x0 addr: 0x62 data : 0x10 addr: 0x63 data : 0x0 addr: 0x64 data : 0x0 addr: 0x65 data : 0x0 addr: 0x66 data : 0x0 addr: 0x67 data : 0x0 addr: 0x68 data : 0x0 addr: 0x69 data : 0x0 addr: 0x6a data : 0x0 addr: 0x6b data : 0x0 addr: 0x6c data : 0x0 addr: 0x6d data : 0x0 addr: 0x6e data : 0x0 addr: 0x6f data : 0x0 addr: 0x70 data : 0x70 addr: 0x71 data : 0x80 addr: 0x72 data : 0x0 addr: 0x73 data : 0x3 addr: 0x74 data : 0x77 addr: 0x75 data : 0x57 addr: 0x76 data : 0x11 addr: 0x77 data : 0x44 addr: 0x78 data : 0x3
  • Hi,

    Couple of observations based on the register readback values:

    1) The registers 0x1-0x4 are begin written to 0x20, but readback is showing 0x0. Similarly, the Registers 0x6-0x9 are being written to 0x41, readback still shows 0x0.

    2) The register 0x28 is reading 0x3, indicating that PLL is not locked. Additionally, register 0x72 is reading 0x0 indicating device is in power-down status. Register 0x74 is reading 0x77, indicating that the BCK/SCK ratios are invalid, or LRCK halt.

    3) The register 0x73 is a read-only register, the above configuration is trying to write it to 0x03.

    4) Register 0x75 is reading 0x57, indicating clock halt and clock errors.

    Can you share the sampling rate and BCLK/SCK frequencies that is being provided to the device?

    Thanks and Regards,

    Lakshmi Narasimhan

  • Hi,

    The device BCLK frequencie is 12.288MHz(f sampling=48Khz, 8 channel, 32bit).

    The register 0x72 is writing failure(

    # i2cdbgr -D /dev/i2c1 -s 0x4a -w -b 2 -o 0x72 -x 0x0f addr: 0x72 <- data: 0xf # i2cdbgr -D /dev/i2c1 -s 0x4a -r -b 1 -o 0x72 -i 1 addr: 0x72 data : 0x0

    ), what's the cause?

    The AVDD, DVDD and IOVDD is normal.

  • Hi,

    Are we trying to write into the register 0x72 into the host.

    The register 0x72 is a read-only register, it gives out the current status of the device operation?

    The register 0x72 reading back 0x0 is indicating that device is in shut-down state, and based on the 0x75 readback in previous comment, it is indicating clock error flag. The register 0x74 is also reading 0x77, indicating invalid BCK ratio/SCK ratio.

    Thanks and Regards,

    Lakshmi Narasimhan

     

  • Hi,

    This case can be closed.

    The main reason is that the software ACDB audio configuration file push don't effect.

  • Hi,

    Thank you for the confirmation, closing this thread now.

    Thanks and Regards,

    Lakshmi Narasimhan