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.

Volume issues

Other Parts Discussed in Thread: CC8520

We have ADC3101 going into CC8520.  We have a digital microphone connected to ADC3101.  CC8520 is in master mode.

On the other side we have CC8520 in slave mode connected to AIC3101.

 

We are trying to raise the gain on the ADC3101 to boost our volume.  We are doing that by sending customized I2C commands. But it seems that the volume through the system is somehow "normalized" -- no change of the gain settings inside ADC3101 produces increases or decreases of volume at the end of the chain (out of AIC3101). 

Is there anything inside CC8520 that normalizes or changes the volume?  Any ideas of specifics you can help out on the handling of volume and dynamic ranges in CC8520?

 

Vlad

  • Hi Vlad,

    We are working on this answer. You can expect it in the beginning of next week.

    -Kristoffer

  • Hi Vladimir !

    There is nothing in the CC8520 that normalizes volume.

    How are you changing the gain of the ADC3101 ?

    In the ADC3101 driver the input gain is controlled via registers 0x53 and 0x54.

    If you are using these registers to adjust gain in one of the sequences in "Audio Device Customization", they will be overwritten with value from the volume control.

    If you want higher gain through the same registers I suggest that you change the input volume controls of the device (e.g. add a fixed offset in the input volume control and lower minimum volume accordingly.

    Hope this helps !

    best regards

    Ole A.

  • What registers do the volume controls change in ADC3101?  I assume volume offset controls 0x53 and 0x54.  But what does "minimum volume" control?  How does the combination of these registers affect overall volume?

    Vlad

  • Hi Vlad,

    If you open the file "adc3101.ppwadd" located in the audio_devices folder in the install folder of the configurator you find the volume control driver from the line

    <vol_gain_range_spec dir="Input">-12.0,20.0</vol_gain_range_spec>

    and then all the way down to the bottom of the file.

    There you can see that the actual registers are 0x52, 0x53 and 0x54. If you open the help menu for the configurator and go to the "Audio device definition files" chapter you will find information on each of the tags and attributes.

    Minimum volume in the configurator states the minimum volume (everything below is muted). An app note on how to make your own volume control driver is in the making as we speak, but in the mean time you can have a look at the attached word document which contains detailed descriptions to settings made for a few of the existing audio device definition files which is available out-of-the box. Hope it helps.

    -Kristoffer

    volume_driver_examples.docx