Resumen del contenido incluido en la página 1
User's Guide
SLAU261–November 2008
TLV320AIC3107EVM-K
This user's guide describes the characteristics, operation, and use of the TLV320AIC3107EVM-K. This
evaluation module (EVM) allows the user to evaluate the TLV320AIC3107 audio codec. The
TLV320AIC3107 is a complete 2-channel audio codec with an integrated Class-D speaker amplifier. It also
has many inputs and outputs, extensive audio routing, mixing, and effects capabilities. A complete circuit
description, schematic diagram, and bill of mate
Resumen del contenido incluido en la página 2
www.ti.com 7 Bypass Paths Tab.......................................................................................................... 13 8 Audio Interface Tab ....................................................................................................... 14 9 Clocks Tab ................................................................................................................. 15 10 GPIO1 Tab .........................................................................................
Resumen del contenido incluido en la página 3
www.ti.com EVM Overview 1 EVM Overview 1.1 Features • Full-featured evaluation board for the TLV320AIC3107 2-channel audio codec with integrated Class-D amplifier. • Modular design for use with a variety of digital signal processor (DSP) and microcontroller interface boards. • USB connection to PC provides power, control, and streaming audio data for easy evaluation. • Onboard microphone for ADC evaluation • Connection points for external control and digital audio signals for quick connection to
Resumen del contenido incluido en la página 4
EVM Description and Basics www.ti.com 2.1.1 USB-MODEVM Interface Board The simple diagram of Figure 1 shows only the basic features of the USB-MODEVM Interface board. When connecting the TLV320AIC3107EVM to the USB-MODEVM, use care to avoid bending the connecting pins. The two boards can only be connected in one way. It is suggested to first align with the 10-pin connectors (J3 on the TLV320AIC3107EVM and J18A on the USB-MODEVM) and then gently push all the connectors together until the boards a
Resumen del contenido incluido en la página 5
www.ti.com EVM Description and Basics 2.2 Default Configuration and Connections 2.2.1 USB-MODEVM Table 1 provides a list of the SW2 settings on the USB-MODEVM. For use with the TLV320AIC3107EVM, SW-2 positions 1 through 7 must be set to ON (LO), whereas SW-2.8 must be set to OFF (HI). Table 1. USB-MODEVM SW2 Settings SW-2 Switch Number Label Switch Description 2 1 A0 USB-MODEVM EEPROM I C Address A0 ON: A0 = 0 OFF: A0 = 1 2 2 A1 USB-MODEVM EEPROM I C Address A1 ON: A1 = 0 OFF: A1 = 1 2 3 A2 USB-
Resumen del contenido incluido en la página 6
EVM Description and Basics www.ti.com Table 2. List of Stand-alone Jumpers (continued) Jumper Jumper Default Number Type Position Jumper Description W17 2-pin Open Selects onboard EEPROM as TAS1020B Firmware Source.(Not Used). Note that for this EVM the Firmware Source EEPROM is on the USB-MODEVM. W18 2-pin Open Selects SWOUTP to J-18. Caution: Make sure that the Class-D Output is Disabled before Installing W18. W19 2-pin Open Selects SWOUTM to J-18. Caution: Make sure that the Class-D Output is
Resumen del contenido incluido en la página 7
www.ti.com TLV320AIC3107EVM-K Setup and Installation • Laboratory power supply When powered from the USB connection, JMP6 must have a shunt from pins 1–2 (this is the default factory configuration). When powered from 6 Vdc-10 Vdc, either through the J8 terminal block or J9 barrel jack, JMP6 must have a shunt installed on pins 2–3. If power is applied in any of these ways, onboard regulators generate the required supply voltages, and no further power supplies are necessary. If laboratory supplies
Resumen del contenido incluido en la página 8
TLV320AIC3107EVM Software www.ti.com 4 TLV320AIC3107EVM Software The following section discusses the details and operation of the EVM software. Note: For configuration of the codec, the TLV320AIC3107 block diagram located in the TLV320AIC3107 data sheet is a good reference to help determine the signal routing. A pop-up detailed block diagram also is provided in the TLV320AIC3107 GUI software. 4.1 Quick Start Tabs The Quick Start USB-MODEM Configurations tab and The Quick Start Preset Configurati
Resumen del contenido incluido en la página 9
www.ti.com TLV320AIC3107EVM Software 4.1.2 Quick Start - Preset Configurations Figure 3. Quick Start - Preset Configurations Tab The Quick Start Preset Configurations tab provides several different preset configurations of the codec (Figure 3). The Preset Configurations buttons allow the user to choose from the provided defaults. When the selection is made, the Preset Configuration Description shows a summary of the codec setup associated with the choice made. If the choice is acceptable, the Lo
Resumen del contenido incluido en la página 10
TLV320AIC3107EVM Software www.ti.com 4.2 Main Software Screen With Indicators and Functions Figure 4. Main Software Screen Figure 4 illustrates the main screen of the EVM software. The indicators and buttons located above the tabbed section of the front page are visible regardless of which tab is currently being selected. The firmware box indicates from where the firmware being used is operating. In this release, the firmware is on the USB-MODEVM, so the user sees USB-MODEVM in the box labeled L
Resumen del contenido incluido en la página 11
www.ti.com TLV320AIC3107EVM Software The ADC Overflow and DAC Overflow indicators illuminate when the overflow flags are set in the TLV320AIC3107. Below these indicators are the AGC Noise Threshold Exceeded indicators that illuminate when the AGC noise threshold is exceeded. To the far right of the screen, the Short Circuit Detect indicators illuminate when a short-circuit condition is detected, if this feature has been enabled. Below the short-circuit indicators, the AGC Gain Applied indicators
Resumen del contenido incluido en la página 12
TLV320AIC3107EVM Software www.ti.com 4.3 Audio Input/ADC Tab Figure 6. Audio Input/ADC Tab The Audio Input/ADC tab allows control of the analog input mixer and the ADC. The controls are displayed to look similar to an audio mixing console (see Figure 6). Each analog input channel has a vertical strip that corresponds to that channel. By default, all inputs are muted when the TLV320AIC3107 is powered up. To route an analog input to the ADC: 1. Select the Input Mode button to correctly show if the
Resumen del contenido incluido en la página 13
www.ti.com TLV320AIC3107EVM Software 4.4 Bypass Paths Tab Figure 7. Bypass Paths Tab As shown in Figure 7, several analog bypass paths are available in the TMS320AIC3107. LINE1RP, LINE2RP, LINE1LP, and LINE2LP inputs can be passively bypassed to either RIGHT_LOP or LEFT_LOP by using the Passive Analog Bypass Paths controls. LINE2L (left) and LINE2R (right) buffered inputs can directed to the output mixer sections by using the Active Bypass Paths to Output Amplifiers controls. SLAU261–November 20
Resumen del contenido incluido en la página 14
TLV320AIC3107EVM Software www.ti.com 4.5 Audio Interface Tab Figure 8. Audio Interface Tab The Audio Interface tab (Figure 8) allows configuration of the audio digital data interface to the TLV320AIC3107. 2 The interface mode can be selected using the Audio Serial Data Mode control—selecting either I S mode, DSP mode, or Right- or Left-Justified modes. Word length can be selected using the Audio Serial Word Length control, and the bit clock rate can also be selected using the Bit Clock Mode rate
Resumen del contenido incluido en la página 15
www.ti.com TLV320AIC3107EVM Software 4.6 Clocks Tab Figure 9. Clocks Tab The TLV320AIC3107 provides a phase-locked loop (PLL) that allows flexibility in the clock generation for the ADC and DAC sample rates. The Clocks tab contains the controls that can be used to configure the TLV320AIC3107 for operation with a wide range of master clocks. See the Audio Clock Generation Processing figure in the TLV320AIC3107 data sheet for further details of selecting the correct clock settings. For use with th
Resumen del contenido incluido en la página 16
TLV320AIC3107EVM Software www.ti.com 4.6.1.1 Use Without PLL Setting up the TLV320AIC3107 for clocking without using the PLL permits the lowest power consumption by the codec. The CLKDIV_IN source can be selected as either MCLK (default) or BCLK. The CLKDIV_IN frequency then is entered into the CLKDIV_IN box, in megahertz (MHz). The default value shown, 11.2896 MHz, is the frequency used on the USB-MODEVM board. This value then is divided by the value of Q, which can be set from 2 to 17; the res
Resumen del contenido incluido en la página 17
www.ti.com TLV320AIC3107EVM Software 4.7 GPIO1 Tab Figure 10. GPIO1 Tab The GPIO1 tab (see Figure 10) selects options for the general-purpose inputs and outputs (GPIO) of the TLV320AIC3107. The GPIO1 groupbox contains controls for setting options for the GPIO1 pin. The Function control selects the function of GPIO1 from the following: • ADC Word Clock • An output clock derived from the reference clock (see TLV320AIC3107 data sheet) • Interrupt output pin to signal: – Short Circuit – AGC Noise Th
Resumen del contenido incluido en la página 18
TLV320AIC3107EVM Software www.ti.com 4.8 AGC Tab Figure 11. AGC Tab The AGC tab (see Figure 11) consists of two identical sets of controls, one for the left channel and the other for the right channel. The AGC function is described in the TLV320AIC3107 data sheet. The AGC can be enabled for each channel using the Enable AGC button. Target gain, Attack time in milliseconds, Decay time in milliseconds, and the Maximum PGA Gain Allowed can all be set, respectively, using the four corresponding knob
Resumen del contenido incluido en la página 19
www.ti.com TLV320AIC3107EVM Software Figure 12. Left AGC Settings Figure 13. Advanced Noise gate functions, such as Hysteresis, Enable Clip stepping, Threshold (dB), Signal Detect Debounce (ms), and Noise Detect Debounce (ms) are set using the corresponding controls in the Noise Gate groupbox for each channel. SLAU261–November 2008 TLV320AIC3107EVM-K 19 Submit Documentation Feedback
Resumen del contenido incluido en la página 20
TLV320AIC3107EVM Software www.ti.com 4.9 Filters Tab Figure 14. Filters Tab The TLV320AIC3107 has an advanced feature set for applying digital filtering to audio signals. This tab controls all of the filter features of the TLV320AIC3107. In order to use this tab and have plotting of filter responses correct, the DAC sample rate must be set correctly. Therefore, the clocks must be set up correctly in the software following the discussion in Section 4.6. See Figure 14. The AIC3107 digital filterin