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.
Hi Team,
We try to use PCM5121 in our system. PCM5121 is set by slave mode, it is controlled by a BT module, and BCK=3.072MHz, LRCK=48KHz, data sample length=16bit. but there is no any output of PCM5121, we suspect the setup code maybe wrong. Below is our code, could you help to check if it is ok? thanks.
W 98 00 00 #select page0
W 98 3B 66 #mute
W 98 3C 01 #right volume follow left settings
W 98 3D 4F #left digital volume
W 98 3E 4F #right digital volume(omit?)
W 98 3F BB # set vol changes for every 4 samples, 0.5 sample steps.
W 98 20 00 # R20 P=1
W 98 21 0x10 # R21 J=16
W 98 24 0x01 # R24,R=2
W 98 41 0x01 # R41, 1 bck offset.
W 98 13 0x10 # R13, selectt BCK
W 98 14 0x10 # R14, selectt PLL
W 98 27 0x02 # R27, set dsp clock
W 98 28 0x10 # R28, selectt dac clock
W 98 29 0x02 # R29, selectt ncp clock
W 98 30 0x08 # R30, selectt dosr clock
W 98 04 0x01 # R04, pll enable
best regards.
Wiky