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.

TLV320AIC3106: not able to control this volume of tlv320aic3106 based sound card using my PC(windows 7)

Part Number: TLV320AIC3106

Dear All,

 

I have developed a sound card using cp2114-b02 and tlv320aic3106 codec form TI.

Issue that I am facing is, I am not able to control this volume of my sound card using my PC(windows 7).

 

After going through data sheet ,I found that  in Audio Configuration Block for CP2114–B02 device, I have to give correct address of volume update register of my codec.

 

So, I want to know

1. Which variable of audio configuration block in CP2114- b02 should I write for volume update?

2. Which register address of my codec should I use?

 

I am attaching my current config file and data sheet of  CP2114- b02 

# 201512
02 # [00] ConfigVersion
04 # [01] UserDefined
30 # [02] I2CAddress
B4 # [03] MiscProperties1
7F # [04] PbMinVolDb
00 # [05] PbMaxVolDb
02 # [06] PbVolRes
FA # [07] PbVolInitial
00 # [08] PbMuteInitial
00 # [09] RecMuteInitial
CB # [10] MiscProperties2
00 # [11] PbVolPrimaryLeftLsb
2B # [12] PbVolPrimaryLeftMsb
00 # [13] PbVolPrimaryRightLsb
2C # [14] PbVolPrimaryRightMsb
00 # [15] PbVolSecondaryLeftLsb
00 # [16] PbVolSecondaryLeftMsb
00 # [17] PbVolSecondaryRightLsb
00 # [18] PbVolSecondaryRightMsb
00 # [19] PbMutePrimaryLeftLsb
2B # [20] PbMutePrimaryLeftMsb
00 # [21] PbMutePrimaryRightLsb
2C # [22] PbMutePrimaryRightMsb
00 # [23] PbMuteSecondaryLeftLsb
00 # [24] PbMuteSecondaryLeftMsb
00 # [25] PbMuteSecondaryRightLsb
00 # [26] PbMuteSecondaryRightMsb
70 # [27] MiscProperties3
77 # [28] MiscProperties4
00 # [29] PbVolMinRegValue
7F # [30] PbVolMaxRegValue
00 # [31] MiscProperties5
00 # [32] PbPrimaryVolUpdateRegAddrLeftLsb
00 # [33] PbPrimaryVolUpdateRegAddrLeftMsb
00 # [34] PbPrimaryVolUpdateRegAddrRightLsb
00 # [35] PbPrimaryVolUpdateRegAddrRightMsb
00 # [36] PbSecondaryVolUpdateRegAddrLeftLsb
00 # [37] PbSecondaryVolUpdateRegAddrLeftMsb
00 # [38] PbSecondaryVolUpdateRegAddrRightLsb
00 # [39] PbSecondaryVolUpdateRegAddrRightMsb
00 # [40] MiscProperties6
00 # [41] MiscProperties7
00 # [42] PbMuteVolRegValue
1C # [43] MiscProperties8
01 # [44] PbTerminalTypeLsb
03 # [45] PbTerminalTypeMsb
01 # [46] RecTerminalTypeLsb
02 # [47] RecTerminalTypeMsb
00 # [48] Reserved1
00 # [49] Reserved2
# DAC config
F9
0B
00
57
03
30
01
80
50
64
FF
64
FF
00
FA
0B
00
57
03
30
01
80
50
64
FF
64
FF
00
FB
D3
00
47
00
47
02
57
03
30
01
80
50
44
C8
44
C8
57
03
30
07
00
50
57
03
30
62
28
50
44
C8
44
C8
57
03
30
07
0A
50
57
03
30
25
C0
50
57
03
30
29
02
50
57
03
30
25
E0
50
57
03
30
26
10
50
57
03
30
3A
05
50
57
03
30
48
05
50
57
03
30
41
05
50
57
03
30
36
80
50
57
03
30
39
80
50
57
03
30
44
80
50
57
03
30
47
80
50
57
03
30
3D
80
50
57
03
30
40
80
50
57
03
30
41
0D
50
57
03
30
48
0D
50
57
03
30
3A
0D
50
57
03
30
2B
20
50
57
03
30
19
40
50
57
03
30
11
00
50
57
03
30
12
00
50
57
03
30
13
7C
50
57
03
30
16
7C
50
57
03
30
0F
3A
50
57
03
30
10
3A
50
57
03
30
62
90
50
57
03
30
63
40
50
57
03
30
65
07
50
57
03
30
6B
30
50
57
03
30
0C
F0
50
00
CP2114-DataSheet.pdf.

 

Regards,

Vijayendra 

  • Hi, Vijayendra,

    Unfortunately, we are not providing support to CP2114 in this Forum.

    Regarding your question about the register address of your codec, in order to modify the output volume, you may use the page 0 / registers 43 and 44 ( www.ti.com/.../tlv320aic3106.pdf. These registers are used as DAC attenuators (0dB to -63.5dB). In order to increase the volume, it would depend of the output to be used. For example, if HPLOUT is being used, the volume can be modified with page 0 / register 51 / bits D7-D4.

    Please take a look at the attached document for more details:

    0131.AIC3106_Block_Diagram(0 9).pdf

    Best regards,
    Luis Fernando Rodríguez S.