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: issues

Part Number: PCM1865

Hi team,

My customer need assistance.

Chip: PCM1865

Desired settings:

Audio data out type: I2S
Audio rate: 48,000Hz
Bits per sample: 32bits (24bit would be okay)
PCM1865 in master mode, source clock from 3.3v SCK
SCK Freq = 6,144,000Hz

***I should note that the chip is on a board I designed, but I closely followed the component recommendations***

Issue 1

-Register reading does not work after the I2S is turned on (once SCK is turned on)
-Even when the SCK is stopped, the reading still doesn’t work until the pcm1865 power is cut off and restarted
-However the register reading and writing works well otherwise

Issue 2 (main issue)

-Audio interface DOUT1 does not output any data (I2S mode), and it is pulled low

-At first, DOUT1 did output some data, but it was incorrect. For every 32 bit sample, there would only be data in the 3rd quarter, never elsewhere within each sample.

-It stopped doing this, and now outputs nothing, and I don’t know why, it may be from when I changed clock settings from SCK source to PLL source, for testing

-The bit clock BCK and left right clock LRCK are outputting correct signals

I have tried many different combinations of register settings, but nothing has worked. There are some settings I don’t fully understand.

Here is a list of the last settings I tried:

Using SPI,

Page 0
Reg 1 01010000
Reg 2 01010000
Reg 3 01010000
Reg 4 01010000
Reg 5 11000110
Reg 6 01000001
Reg 7 01000001
Reg 8 01000010
Reg 9 01000010
Reg 10 00000000
Reg 11 00000000
Reg 12 00000000
Reg 13 00000000
Reg 14 00000000
Reg 15 00111111
Reg 16 00000000
Reg 17 00000000
Reg 18 00000000
Reg 19 00000000
Reg 20 00000000
Reg 21 00000000
Reg 22 00111111
Reg 23 00111111
Reg 24 00111111
Reg 25 00111111
Reg 26 01000000
Reg 27 00000000
Reg 32 01111110
Reg 33 00000011
Reg 34 00000111
Reg 35 00001111
Reg 37 00000000
Reg 38 00011111
Reg 39 00111111
Reg 41 00000000
Reg 42 00000001
Reg 43 00001000
Reg 44 00000000
Reg 45 00000000
Reg 48 00000000
Reg 49 00000000
Reg 50 00000000
Reg 51 00000011
Reg 52 00000000
Reg 54 00000001
Reg 64 10000000
Reg 65 01111111
Reg 67 10000000
Reg 68 01111111
Reg 70 10000000
Reg 71 01111111
Reg 73 10000000
Reg 74 01111111
Reg 76 10000000
Reg 77 01111111
Reg 79 10000000
Reg 80 01111111
Reg 82 10000000
Reg 83 01111111
Reg 85 10000000
Reg 86 01111111
Reg 88 00000111
Reg 96 00000000
Reg 98 00010000
Reg 112 01110000
Reg 113 00010000

Page 1
Reg 1 00000000
Reg 2 00000000
Reg 4 00000000

Page 3
Reg 18 01000000
Reg 21 00000001

Please help. Thanks.

  • Hi,

    It sounds like there may be some error in the clocks that is causing the device to go into standby mode.

    If the device is active there should always be some data coming out of SDOUT(just a few LSBs switching) I assume this is what you mean when you say "data in the 3rd quarter". since there is no data I suspect the device is experiencing an error. 

    Please see 9.3.9.7 Clock Halt and Error Detect section of the datasheet. this will explain the conditions that cause this a bit more

    Regards,

    Arthur