Texas Instruments TLV320ADC3101 Evaluation Module (EVM) and USB motherboard TLV320ADC3101EVM-K TLV320ADC3101EVM-K Datenbogen

Produktcode
TLV320ADC3101EVM-K
Seite von 46
ADC3101 Control Software
Using the Biquad Filter Tool:
The easiest way to play with the Biquad Filter Tool is first to use the default EVM settings (f
s
= 44.1 kHz,
etc.) with the Recording panel in the Quick-Start section of the software. For example, first run the Line-In
(J9) Recording script. After inputting a sine-wave sweep into J9, design and download biquads into the
TLV320ADC3101. The biquads can then be checked by running a frequency-response plot on the output.
Steps to use the Biquad Filter Tool:
1. Step 1: Select the Processing Block – This specifies the number of biquads available (3 or 5) and
stereo or mono (right). For best results use Processing Block PRB_R2 as this works well with the
default EVM setup.
2. Step 2: Specify the Sample Rate – This is a key design parameter input to the Biquad Filter Tool.
The default is 44.1 kHz which is the sample rate used on the USB interface for the EVM. The tool
works with any sample rate from 8 kHz to 96 kHz; however, if a sample rate other than 44.1 kHz is
selected, then the user must go to the clock panel and modify PLL and/or clock settings so that the
desired sample rate is set correctly.
3. Step 3: Specify the Biquad Filters – Select the filter type and subtype and enter any required
parameters. Note that the parameters not used will be grayed out. Using the Plot check-box, select the
filters to plot and/or download.
4. Step 4: Calculate the Coefficients – Click on the Calculate Coefficients OK button. This calculates all
the selected filters and plots the combined response of all the checked filters. If a filter is not
checked, it is treated as an All-Pass filter.
5. Step 5: Inspect the Plots – Based on the selected filters determine if this is the total desired
response. Also, inspect the Scale (dB) display. Some filters may create an overall negative gain error
which is reflected in the Scale. For example, if the Scale displays 0.5 then there is a –0.5-dB gain error
which can be corrected in the analog PGA or the digital volume. In the last column, the stability of the
filter is indicated. If the roots of the filter denominator are less than 1, then the filter is stable and this
field will display the text "Stable". Otherwise, it will display the text "Unstable," meaning that the
unstable filter should be re-specified until it is stable.
6. Step 6: Download the Coefficients – Click the Download Coefficients OK button. This action
downloads the filter coefficients to the TLV320ADC3101 device. Note that the process of downloading
coefficients is accomplished by the following register writes to the device:
Page 0 - Select processing block and power down both ADCs
Page 4 - Write filter coefficients to both left and right channels as required
Page 0 - Power up both ADCs
Note that the filter coefficients can be saved as an I
2
C script by using the Command-line Interface Record
button. The I
2
C commands will be displayed in the Command Buffer (
),which can be selected
and copied to a text command file.
19
SLAU267A – December 2008 – Revised October 2012
TLV320ADC3101-K
Copyright © 2008–2012, Texas Instruments Incorporated