Da7212 Different output noise for left/right HP out channel

3 posts / 0 new
Last post
TomasTrenz
Offline
Last seen:2 weeks 4 days ago
加入:2020-01-06 08:29
Da7212 Different output noise for left/right HP out channel

Hi,

we have Da7212 codec on our custom board, and there is observeble noise apearing on one channel (only), if HP gain increased from -30dB to -29dB.

If bot channels have HP gain (reg 0x48 + 0x49) set to 0x1B onbothoutput channels is observable noise about44 mvpp.

If bot channels have HP gain (reg 0x48 + 0x49) set to 0x1C onrightoutput channels is observable noise about72mVppand onleftchannel noice is44 mvpp

Configuration:

(一步一步向设备)

It is in order: register | value

//software reset
0x1D 0x80

//Activate chip + IO level + LDO
0xFD 0x01
0x91 0x01
0x90 0x90

//PLL for fs = 16kHz with MCLK = 4096kHz
0x22 0x05
0x24 0x00
0x25 0x00
0x26 0x30
0x27 0xc0
0x94 0x00

// Unlock MCLK<5MHz (Mclk = 4096kHz)
0xF0 0x8B
0xF1 0x03
0xF0 0x00

//2ch + 16bit + i2s mode + TDm + DAI enabled + 128 BCLK per WCLK + Dai offset 32bit
0x29 0xe0
0x28 0x02
0x98 0x20

//DAI_R -> DAC_R + DAI_L -> DAC_L
0x2A 0x32
//Ramp rate x16
0x92 0x01

//CP setup
0x47 0xED
0x95 0x06

// disanle lineout
0x4a 0x00
0x6D 0x40

//HP setup
0x48 0x1b
0x49 0x1b
0x6B 0xA8
0x6C 0xA8

//DAI + DAC setup
0x45 0x6f
0x46 0x6f
0x69 0xA0
0x6A 0xA0

//High pass filter
0x44 0xA0

//Mix out
0x4B 0x08
0x4C 0x08
0x6E 0x98
0x6F 0x98

//enable Outputs
0x51 0xF1

Data on I2S lines are zero and clocks are generated correctly. I have try to disable DAI and result was same.

Signal captured from scope, attached in PDF.

Could you plese check if all is set correctly?

Best regards,

Tomas Trenz

Attachment:
Device:
ED_Dialog
Offline
Last seen:6 days 16 hours ago
Staff
加入:2017-09-18 11:54
Hello Tomas,

Hello Tomas,

I will look into this for you.

Could you sent a snippet of the schematic of the DA7212?

Kind regards,

Elliott

TomasTrenz
Offline
Last seen:2 weeks 4 days ago
加入:2020-01-06 08:29
Hi Elliott,

Hi Elliott,

changes done for fixing issue:

  • PLL configuration was tuned
  • Grounding loop has been found, caused by wrongly assembled component
  • Correct load on output by speakers

Thank you for your help with PLL and configuration.

Best regards,

Tomas