- Silicon Labs Community
- Welcome and Announcements
- Silicon Labs Knowledge Base
- 8-bit MCU
- 32-bit MCU
- Bluetooth / Wi-Fi
- Other Products Category
- Optical/RH/Temp Sensor
- Other Products
- Hardware and Software Tools
- Simplicity Studio and Software
- General Discussions and Suggestions
- Chinese Forum
- Software Libraries
- Development Kits
- Reference Designs
- Third Party Tools
- White Papers
- Official Blog of Silicon Labs
- Chinese Blog
01-09-2017 04:46 AM
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 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 my codec.
01-12-2017 12:43 PM
Thank you for contacting Silicon Labs regarding the audiio configuration for your CP2114-B02 device with the TI TLV320AIC3106 CODEC. It looks like you have identified the correct registers on the TLV320AIC3106 for main DAC volume control:
Register 43: Left DAC Digital Volume Control Register (register 0x2B)
Register 44: Right DAC Digital Volume Control Register (register 0x2C).
Your current config appears to put these address values in the MSB positions for PbVolPrimaryLeft and PbVolPrimaryRight:
00 #  PbVolPrimaryLeftLsb 2B #  PbVolPrimaryLeftMsb 00 #  PbVolPrimaryRightLsb 2C #  PbVolPrimaryRightMsb
Try putting the register values for these DAC registers in the LSB place instead:
2B #  PbVolPrimaryLeftLsb 00 #  PbVolPrimaryLeftMsb 2C #  PbVolPrimaryRightLsb 00 #  PbVolPrimaryRightMsb
When you make this change, does volume control now work? Note that I did not do an exhaustive check of your complete audio configuration, but I am hoping that this change can help with the volume control. Please let me know if this works or if you have any further questions.
MCU Applications Engineer