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.

How to turn up the volume of tvp5158 by configuring McASP?

Other Parts Discussed in Thread: TVP5158

I need to sample one channel analog audio signal input from tvp5158 now. I have connected the I2S ports of tvp5158 to McASP4 ports of DM8148. I choose DVRRDK_04.00.00.03 as my development environment. I can record audio now. But I find the volume of the audio which I recorded is too low to hear clearly. I have  set the gain as 0db by configuring the register of tvp5158. I have checked the voltage of hardware and found nothing. How to turn up it? 

Can I turn up it by configuring the registers of McASP?

I appreciate any help of anyone!

  • Tery,

    We have some info for McASP volume in the below wiki page, have a look, might be in help:

    http://processors.wiki.ti.com/index.php/DM81xx_AM38xx_Audio_Driver_User_Guide

    To increase the volume for capture and playback

     $ amixer cset name='PCM Playback Volume' x%,x% (x between 0-100)
     $ amixer cset name='PGA Capture Volume'  x%,x%
    

    Using mic input on the EVM

    Make sure that the following steps have been completed with the help of appropriate amixer commands

    1. Mic input unmuted
    2. Line input muted
    3. Capture volume set to a reasonable level of around 50

    Using line-in input on the EVM

    Make sure that the following steps have been completed with the help of appropriate amixer commands

    1. Line-in input unmuted and set for differential configuration
    2. Mic input muted
    3. Capture volume set to a reasonable level of around 50%

    NoteNote: Please adjust volume level of the audio source used to ensure the capture quality. If the source signal level increased beyond a limit, some part of the input signals will get clipped and the noise will be amplified along with the input signal and will result in noisy output.

    A source volume level of 10% is advisable while using PC as the Audio source to the Line In for better Capture quality.