DSPRelated.com
Forums

Unable to give audio input to TMS320C6416T

Started by vood00 August 17, 2007
Hi,
We are going to develop Audio application using TMS320C6416. For input to
AIC23 Codec, we use microphone. But AIC23 Codec is unable to detect the
signal coming from MIC. To give microphone input, I had done all the
required setting i.e INSEL bit of Analog audio path control register of
AIC23 Codec is set to 1. Is any other setting is required ? 

Please suggest.

Regards
Vood00


vood00 wrote:
> Hi, > We are going to develop Audio application using TMS320C6416. For input to > AIC23 Codec, we use microphone. But AIC23 Codec is unable to detect the > signal coming from MIC. To give microphone input, I had done all the > required setting i.e INSEL bit of Analog audio path control register of > AIC23 Codec is set to 1. Is any other setting is required ? > > Please suggest. > > Regards > Vood00 > >
There are a bunch of mutes in the signal path -- did you unmute them? At reset they all default to a muted state to be safe.
Hi!
The Kit has tlv320aic23 code control.

The MICM bit of the Analog audio control register of AIC23 is set to 0,
indicating that microphone mute is disabled. 

MICB bit is 1 , indicating microphone boost is enable.

INSEL bit is 1, indicating input would be coming from microphone.

The current settings to give Microphone input to AIC23 Codec are:-

0x0015		, /* Set-Up Reg 4       Analog audio path control */ 
            /* X       0          reserved */                             
  
            /* STA     00         sidetone attenuation: -6 dB */          
  
            /* STE     0          sidetone: disabled */                   
  
            /* DAC     1          DAC: selected */                        
  
            /* BYP     0          bypass: off */                          
  
            /* INSEL   1          input select for ADC: line */           
  
            /* MICM    0          microphone mute: disabled */            
  
            /* MICB    1          microphone boost: enabled */ 


Please let me know if I am missing something or doing something wrong.

Regards
Vood00
                                                                          
  
vood00 wrote:
> Hi! > The Kit has tlv320aic23 code control. > > The MICM bit of the Analog audio control register of AIC23 is set to 0, > indicating that microphone mute is disabled. > > MICB bit is 1 , indicating microphone boost is enable. > > INSEL bit is 1, indicating input would be coming from microphone. > > The current settings to give Microphone input to AIC23 Codec are:- > > 0x0015 , /* Set-Up Reg 4 Analog audio path control */ > /* X 0 reserved */ > > /* STA 00 sidetone attenuation: -6 dB */ > > /* STE 0 sidetone: disabled */ > > /* DAC 1 DAC: selected */ > > /* BYP 0 bypass: off */ > > /* INSEL 1 input select for ADC: line */ > > /* MICM 0 microphone mute: disabled */ > > /* MICB 1 microphone boost: enabled */ > > > Please let me know if I am missing something or doing something wrong. > > Regards > Vood00 > >
That looks ok, but your comment is wrong for INSEL, it should be "mic". What are your other settings? For example did you write 0x0000 to the power down register such that everything is powered up? Here's one of my old configurations, though it's for line input not mic input: short codecConfig[10] = { 0x0017, /* 0 DSK6416_AIC23_LEFTINVOL Left line input channel volume */ 0x0017, /* 1 DSK6416_AIC23_RIGHTINVOL Right line input channel volume */ 0x01f9, /* 2 DSK6416_AIC23_LEFTHPVOL Left channel headphone volume */ 0x01f9, /* 3 DSK6416_AIC23_RIGHTHPVOL Right channel headphone volume */ 0x0011, /* 4 DSK6416_AIC23_ANAPATH Analog audio path control */ 0x0000, /* 5 DSK6416_AIC23_DIGPATH Digital audio path control */ 0x0000, /* 6 DSK6416_AIC23_POWERDOWN Power down control */ 0x0043, /* 7 DSK6416_AIC23_DIGIF Digital audio interface format */ 0x0081, /* 8 DSK6416_AIC23_SAMPLERATE Sample rate control */ 0x0001 /* 9 DSK6416_AIC23_DIGACT Digital interface activation */ };
Hi!

Thanks a lot for your support and help.

It works now. The issue was with the wrong mic.
We need electret condenser mic for this kit.

Regards,
Vaibhav