5: Register Map and Descriptions WCSPPackage The TLV320DAC3203 (sometimes referred to as the DAC3203) is a flexible, low-power, low-voltage stereo audio codec with programmable outputs, PowerTune capabilities, fixed predefined and parameterizable signal processing blocks, integrated PLL, integrated LDO and flexible digital interfaces.
With PowerTune the TLV320DAC3203 can address both cases. The voltage supply range for the TLV320DAC3203 for analog is 1.5V–1.95V, and for digital it is 1.26V–1.95V. To ease system-level design, a low-dropout regulator (LDO) is integrated to generate the appropriate analog supply from input voltages ranging from 1.8V to 3.6V.
INT1 output on Page 0 / Register 52, Bits GPIO/MFP5 D5-D2=0101 Analog Audio I/O The analog I/O path of the TLV320DAC3203 offers a variety of options for signal conditioning and routing: • 2 headphone amplifier outputs • Analog gain setting •...
T, such that at the end of the slow power-on period, the voltage on V is very close to the common-mode voltage. The TLV320DAC3203 allows the time T to be adjusted to allow for a wide range of R and C by programming Page 1, Register 20, Bits D5-D2).
2.2.2.3 Headphone Amplifier Class-D Mode By default the headphone amplifiers in the TLV320DAC3203 work in Class-AB mode. By writing to Page 1, Register 3, Bits D7-D6) for the left headphone amplifier, and Page 1, Register 4, Bits D7-D6) with value 11, the headphone amplifiers enter a Class-D mode of operation.
2.3.2 Digital Volume Control The TLV320DAC3203 also has a digital volume-control block with a range from -12dB to +20dB in steps of 0.5dB. It is set by programming Page 0, Register 83 and 84 respectively for left and right channels.
Processing Blocks The TLV320DAC3203 offers a range of processing blocks which implement various signal processing capabilities along with decimation filtering. These processing blocks give users the choice of how much and what type of signal processing they may use and which decimation filter is applied.
2.3.3.1.3 Decimation Filter The TLV320DAC3203 offers 3 different types of decimation filters. The integrated digital decimation filter removes high-frequency content and down samples the audio data from an initial sampling rate of AOSR*Fs to the final output sampling rate of Fs. The decimation filtering is achieved using a higher-order CIC filter followed by linear-phase FIR filters.
AVdd LDOIN 2.3.3.2.2 Channel-to-Channel Phase Adjustment The TLV320DAC3203 has a built-in feature to fine-adjust the phase between the stereo ADC record signals. The phase compensation is particularly helpful to adjust delays when using dual microphones for noise cancellation etc. This delay can be controlled in fine amounts in the following fashion.
Page 34
Step 1 The system clock source (master clock) and the targeted ADC sampling frequency must be identified. The oversampling ratio (OSR) of the TLV320DAC3203 must be configured to match the properties of the digital microphone. Based on the identified filter type and the required signal processing capabilities the appropriate...
Digital volume control with a range of -63.5 to +24dB • Mute function • Dynamic range compression (DRC) In addition to the standard set of DAC features the TLV320DAC3203 also offers the following special features: • Built in sine wave generation (beep generator) •...
During soft-stepping the value of the actual applied gain would differ from the programmed gain in register. The TLV320DAC3203 gives a feedback to the user in form of register readable flag to indicate that soft-stepping is currently in progress. The flags for left and right channels can be read back by reading Page 0, Reg 38, Bits D4) and D(0) respectively.
When the DAC is running, the user-programmable filter coefficients are locked and cannot be accessed for either read or write. However the TLV320DAC3203 offers an adaptive filter mode as well. Setting Register Page 44,Reg 1, Bit D2=1 will turn on double buffering of the coefficients. In this mode, filter coefficients can be updated through the host, and activated without stopping and restarting the DAC.
Unmute digital volume control PowerTune The TLV320DAC3203 features PowerTune, a mechanism to balance power-versus-performance trade- offs at the time of device configuration. The device can be tuned to minimize power dissipation, to maximize performance, or to an operating point between the two extremes to best fit the application.
TLV320DAC3203s may share the same audio bus. The TLV320DAC3203 also includes a feature to offset the position of start of data transfer with respect to the word-clock. This offset can be controlled in terms of number of bit-clocks and can be programmed in Page 0, Register 28.
2.6.1 Right Justified Mode The Audio Interface of the TLV320DAC3203 can be put into Right Justified Mode by programming Page 0, Register 27, D(7:6) = 10. In right-justified mode, the LSB of the left channel is valid on the rising edge of the bit clock preceding the falling edge of the word clock.
2.6.2 Left Justified Mode The Audio Interface of the TLV320DAC3203 can be put into Left Justified Mode by programming Page 0, Register 27, D(7:6) = 11. In left-justified mode, the MSB of the right channel is valid on the rising edge of the bit clock following the falling edge of the word clock.
2.6.3 I S Mode The Audio Interface of the TLV320DAC3203 can be put into I S Mode by programming Page 0, Register 27, D(7:6) = to 00. In I S mode, the MSB of the left channel is valid on the second rising edge of the bit clock after the falling edge of the word clock.
2.6.4 DSP Mode The Audio Interface of the TLV320DAC3203 can be put into DSP Mode by programming Page 0, Register 27, D(7:6) = 01. In DSP mode, the rising edge of the word clock starts the data transfer with the left channel data first and immediately followed by the right channel data.
2.6.5 Secondary I The audio serial interface on the TLV320DAC3203 has an extensive IO control to allow communication with two independent processors for audio data. Each processor can communicate with the device one at a time. This feature is enabled by register programming of the various pin selections.
Clock Generation and PLL The TLV320DAC3203 supports a wide range of options for generating clocks for the DAC as well as interface and other control blocks. The clocks for the DAC require a source reference clock. This clock can be provided on a variety of device pins such as MCLK, BCLK, or GPIO pins.
In general, all the root clock dividers should be powered down only after the child clock dividers have been powered down for proper operation. The TLV320DAC3203 also has options for routing some of the internal clocks to the output pins of the device to be used as general purpose clocks in the system. The feature is shown in Figure 2-46.
Clock Generation and PLL www.ti.com In the mode when TLV320DAC3203 is configured to drive the BCLK pin (Page 0, Register 27, D3=’1’) it can be driven as divided value of BDIV_CLKIN. The division value can be programmed in Page 0, Register 30, D(6:0) from 1 to 128.
Clock Generation and PLL 2.7.1 PLL The TLV320DAC3203 has an on-chip PLL to generate the clock frequency for the audio ADC, DAC, and Digital Signal Processing blocks. The programmability of the PLL allows operation from a wide variety of clocks that may be available in the system.
Both masters and slaves can read and write, but slaves can only do so under the direction of the master. Some I C devices can act as masters or slaves, but the TLV320DAC3203 can only act as a slave device.
Page 67
START condition is issued while the bus is active, it is called a repeated START condition. The TLV320DAC3203 can also respond to and acknowledge a General Call, which consists of the master issuing a command with a slave address byte of 00H. This feature is disabled by default, but can be enabled via Page 0, Register 34, Bit D(5).
8 clocks the data of the next incremental register. 2.8.2 SPI Digital Interface In the SPI control mode, the TLV320DAC3203 uses the pins SCL/SS as SS, SCLK as SCLK, MISO as MISO, SDA/MOSI as MOSI; a standard SPI port with clock polarity setting of 0 (typical microprocessor SPI control bit CPOL = 0).
In order to retain settings in the device, the DVdd voltage and either internally or externally the AVdd voltage also must be maintained. In this case the TLV320DAC3203 exhibits shutdown currents of below 1.5μA. 2.9.1.1 Supply from single voltage rail (1.8V).
To put the device in standby mode, both external voltages (AVdd and DVdd) and the reference block inside the TLV320DAC3203 must stay on (Page 1 / Register 123, D(2:0) = 101), all other blocks should be powered down. This results in standby current of approximately 100μA from the AVdd supply.
2.11 Device Special Functions 2.11.1 Interrupts Some specific events in the TLV320DAC3203 which may require host processor intervention, can be used to trigger interrupts to the host processor. This avoids polling the status-flag registers continuously. The TLV320DAC3203 has two defined interrupts; INT1 and INT2 that can be configured by programming Page 0, Register 48 and 49.
Setting Device Common Mode Voltage The TLV320DAC3203 allows the user to set the common mode voltage for analog inputs to 0.75V or 0.9V by programming Page 1, Register 10, D(6). The input common-mode voltage of 0.9V works best when the analog supply voltage is centered around 1.8V or above, and offers the highest possible performance.
Chapter 4 SLAU434 – May 2012 Example Setups The following example setups can be taken directly for the TLV320DAC3203 EVM setup. The # marks a comment line, w marks an I C write command followed by the device address, the I register address and the value.
SLAU434 – May 2012 Register Map The TLV320DAC3203 contains 108 pages of 8-bit registers, each page can contain up to 128 registers. The register pages are divided up based on functional blocks for this device. Page 0 is the default home page after hardware reset.
Page 119
IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete.
Need help?
Do you have a question about the TLV320DAC3203 and is the answer not in the manual?
Questions and answers