| Embedded Target for Texas Instruments C6000 DSPs | ![]() |
Configure digitized signal output from the codec to the processor
Library
c6711dsklib in Embedded Target for TI C6000 DSP
Description![]()
Use the C6711 DSK ADC (analog-to-digital converter) block to capture and digitize analog signals from external sources, such as signal generators, frequency generators or audio devices. Placing an C6711 DSK ADC block in your Simulink block diagram lets you use the audio coder-decoder module (codec) on the C6711 DSK to convert an analog input signal to a digital signal for the digital signal processor.
Most of the configuration options in the block affect the codec. However, the Output data type, Samples per frame and Scaling options are related to the model you are using in Simulink, the signal processor on the board, or direct memory access (DMA) on the board. In the following table, you find each option listed with the C6711 DSK hardware affected.
You can select one of three input sources from the ADC source list:
Use the Stereo check box to indicate whether the audio input is monaural or stereo. Clear the check box to choose monaural audio input. Select the check box to enable stereo audio input. Monaural (mono) input is left channel only, but the output sends left channel content to both the left and right output channels; stereo uses the left and right channels. Table 6-1, Audio Word Byte Order for Mono and Stereo Inputs, shows how the codec stores monaural and stereo digitized signals in 32-bit words on the C6711 DSK. In the table, L means left channel, R means right channel, and O means that the 4-byte nibble does not contain data.
When you select Mic for ADC source, you can select the +20 dB Mic gain boost check box to add 20 dB to the microphone input signal before the codec digitizes the signal.
Selecting Loopback for ADC source configures the C6711 DSK to capture the output from the codec as the input to the C6701 EVM ADC. When you select Loopback, your model must include both the C6701 EVM ADC and C6701 EVM DAC blocks.
Source gain (dB) lets you add gain to the input signal before the A/D conversion. When you select Loopback as the ADC source, your specified source gain is not added to the input signal. Select the appropriate gain from the list.
Dialog Box
Line In is the default.Mic. Gain is applied before analog-to-digital conversion.double is selected. Options are Double, Single, and IntegerNormalize or Integer Value. Normalize is the default setting.Line In or Mic In.See Also
C6711 DSK DAC
| C6701 EVM RESET | C6711 DSK DAC | ![]() |