Controlling TAS5026 Volume After Error Recovery



Similar documents
SDLS068A DECEMBER 1972 REVISED OCTOBER Copyright 2001, Texas Instruments Incorporated

Designing Gain and Offset in Thirty Seconds

Filter Design in Thirty Seconds

SN54165, SN54LS165A, SN74165, SN74LS165A PARALLEL-LOAD 8-BIT SHIFT REGISTERS

How To Close The Loop On A Fully Differential Op Amp

Motor Speed Measurement Considerations When Using TMS320C24x DSPs

CUSTOM GOOGLE SEARCH PRO. User Guide. User Guide Page 1

LM5030 LM5030 Application: DC - DC Converter Utilizing the Push-Pull Topology

Calculating Gain for Audio Amplifiers

Standard Linear & Logic Semiconductor Marking Guidelines

Application Note AN107

Texas Instruments. FB PS LLC Test Report HVPS SYSTEM AND APPLICATION TEAM REVA

Wireless Subwoofer TI Design Tests

Using C to Access Data Stored in Program Space Memory on the TMS320C24x DSP

Pressure Transducer to ADC Application

Current-Transformer Phase-Shift Compensation and Calibration

Application Report. 1 Description of the Problem. Jeff Falin... PMP Portable Power Applications ABSTRACT

Design Note DN004. Folded Dipole Antenna for CC25xx By Audun Andersen. Keywords. 1 Introduction CC2500 CC2550 CC2510 CC2511

Multi-Transformer LED TV Power User Guide. Anderson Hsiao

High-Speed Gigabit Data Transmission Across Various Cable Media at Various Lengths and Data Rate

APPLICATION NOTE BUILDING A QAM MODULATOR USING A GC2011 DIGITAL FILTER CHIP

TI and ibiquity Introduce Industry s Lowest Cost Single-Chip AM/FM and HD Radio Baseband John Gardner Digital Radio Marketing Manager

Analysis of Filter Coefficient Precision on LMS Algorithm Performance for G.165/G.168 Echo Cancellation

THE RIGHT-HALF-PLANE ZERO --A SIMPLIFIED EXPLANATION

Using C to Access Data Stored in Program Memory on the TMS320C54x DSP

RETRIEVING DATA FROM THE DDC112

Data sheet acquired from Harris Semiconductor SCHS067B Revised July 2003

August 2001 PMP Low Power SLVU051

IMPORT/EXPORT CUSTOMER REVIEWS. User Guide. User Guide Page 1

Theory of Operation. Figure 1 illustrates a fan motor circuit used in an automobile application. The TPIC kω AREF.

SEO Meta Templates. Magento Extension. User Guide. SEO Meta Templates

Data sheet acquired from Harris Semiconductor SCHS087D Revised October 2003

Application Report. 1 Introduction. 2 Resolution of an A-D Converter. 2.1 Signal-to-Noise Ratio (SNR) Harman Grewal... ABSTRACT

Important Notice. All company and brand products and service names are trademarks or registered trademarks of their respective holders.

Application Report SLVA051

1. Installation Instructions

PCIe XMC x8 Lane Adapter


Data sheet acquired from Harris Semiconductor SCHS020C Revised October 2003

Design Note DN304. Cebal CCxxxx Development Tools USB Driver Installation Guide By Åsmund B. Bø. Keywords. 1 Introduction

WAN_0240. I 2 S USB Audio Streaming INTRODUCTION IDENTIFYING THE FIRMWARE HARDWARE CONFIGURATION SOFTWARE CONFIGURATION

Floating Point C Compiler: Tips and Tricks Part I

How To Make A Two Series Cell Battery Pack Supervisor Module

Signal Conditioning Wheatstone Resistive Bridge Sensors

6 Output With 1 kω in Series Between the Output and Analyzer Output With RC Low-Pass Filter (1 kω and 4.7 nf) in Series Between the Output

SN28838 PAL-COLOR SUBCARRIER GENERATOR

Simplifying System Design Using the CS4350 PLL DAC

A Low-Cost, Single Coupling Capacitor Configuration for Stereo Headphone Amplifiers

Optical Implementation Using IEEE-1394.b

APPLICATION BULLETIN


TSL INTEGRATED OPTO SENSOR

SEO Suite Pro. User Guide

Using the Scripting Utility in the Code Composer Studio Integrated Development Environment

SN54F157A, SN74F157A QUADRUPLE 2-LINE TO 1-LINE DATA SELECTORS/MULTIPLEXERS

AMC1100: Replacement of Input Main Sensing Transformer in Inverters with Isolated Amplifier

SN54HC191, SN74HC191 4-BIT SYNCHRONOUS UP/DOWN BINARY COUNTERS

SN54HC157, SN74HC157 QUADRUPLE 2-LINE TO 1-LINE DATA SELECTORS/MULTIPLEXERS

IMPORT/EXPORT COUPON/SHOPPING CART RULES. User Guide. User Guide Page 1

Using Code Coverage and Multi-event Profiler in Code Composer Studio v2.3 for Robustness and Efficiency Analyses

AN3332 Application note

µa7800 SERIES POSITIVE-VOLTAGE REGULATORS

EMC6D103S. Fan Control Device with High Frequency PWM Support and Hardware Monitoring Features PRODUCT FEATURES ORDER NUMBERS: Data Brief

Audio Tone Control Using The TLC074 Operational Amplifier

bq2114 NiCd or NiMH Gas Gauge Module with Charge-Control Output Features General Description Pin Descriptions

Managing Code Development Using CCS Project Manager

1. Installation Instructions

Using the Texas Instruments Filter Design Database

LM556 LM556 Dual Timer

SINGLE-SUPPLY OPERATION OF OPERATIONAL AMPLIFIERS

Design Note DN002. Practical Sensitivity Testing By Morten Engjom. Keywords. 1 Introduction. Receiver Testing Sensitivity

Smart Battery Module with LEDs and Pack Supervisor

QUADRO POWER GUIDELINES

WHAT DESIGNERS SHOULD KNOW ABOUT DATA CONVERTER DRIFT

Evaluating the complex configuration options of the Texas Instruments advanced fuel gauges can be

News Extension 2.2 User Guide

More Filter Design on a Budget

SN54ALS191A, SN74ALS191A SYNCHRONOUS 4-BIT UP/DOWN BINARY COUNTERS

IMPORT / EXPORT PRODUCTS

ZigBee Sensor Monitor SWRU157D 2008 Low-Power RF

Binary Search Algorithm on the TMS320C5x

Buffer Op Amp to ADC Circuit Collection

Scanning Comparator (ScanComp) Features. General Description. Input/Output Connections. When to Use a Scanning Comparator. clock - Digital Input* 1.

DUAL MONITOR DRIVER AND VBIOS UPDATE

NVIDIA GRID 2.0 ENTERPRISE SOFTWARE

V OUT. I o+ & I o- (typical) 2.3A & 3.3A. Package Type

EDI s x32 MCM-L SRAM Family: Integrated Memory Solution for TMS320C3x DSPs

ORDERING INFORMATION. TOP-SIDE MARKING PDIP N Tube SN74LS07N SN74LS07N PACKAGE. SOIC D Tape and reel SN74LS07DR

Reducing Electromagnetic Interference (EMI) With Low Voltage Differential Signaling (LVDS)

Signal Conditioning Piezoelectric Sensors

ADS1251EVM FEATURES DESCRIPTION

Providing Continuous Gate Drive Using a Charge Pump

LM709 LM709 Operational Amplifier

Choosing Inductors and Capacitors for DC/DC Converters

AN2680 Application note

TSL250, TSL251, TLS252 LIGHT-TO-VOLTAGE OPTICAL SENSORS

Monitoring TMS320C240 Peripheral Registers in the Debugger Software

AN4646 Application note

Transcription:

Application Report SLEA009 March 2003 Controlling TAS5026 Volume After Error Recovery Jorge S. Melson Hwang Soo, Son HPA Digital Audio Applications ABSTRACT The TAS5026 monitors the relationship between its MCLK, SCLK and LRCLK. If the TAS5026 detects clock errors, it will automatically perform a clock error recovery sequence. When the execution of the clock error recovery sequence is combined with the terminal being asserted or the I 2 C individual channel error recovery bits being cleared, the error recovery sequence may be modified resulting in the volume not being restored to its pre-error setting. The user can control these side affects on volume by appropriately setting the error recovery register and the test register x1f. 1 Introduction The TAS5026 monitors the relationship between its MCLK, SCLK and LRCLK. If the TAS5026 detects clock errors, it will automatically perform a clock error recovery sequence. The clock errors detected by the TAS5026 include the following: 1. Any of the clocks are missing. 2. LRCLK rate changes more than ±10 MCLKS cycles since the last device reset or clock error recovery sequence. 3. MCLK frequency changes substantially with respect to the PLL frequency. The clock error recovery sequence temporarily suspends processing, places the PWM outputs in a hard mute (PWM_P outputs are low; PWM_M outputs are high, and all signals are low), resets all internal processes, sets the volume to mute and suspends all I 2 C operations. When the clock error has been corrected, the TAS5026 performs a 4.3 ms partial reinitialization, noiselessly restarts the PWM outputs, and softly ramps the volume up to the level specified in the volume control registers over a 43 ms interval. When the error recovery register (x04) is in its default configuration and there are no clocks errors, asserting terminal or clearing one of the individual channel error recovery bits will result in a hard mute being applied to the appropriate PWM outputs. When the terminal or an individual channel error recovery bits is de-asserted, the volume will be restored to the level specified in the volume configuration registers. When one introduces clock errors into the equation, the TAS5026 may start reacting a little different then expected when either terminal or the I 2 C individual channel error recovery bits are asserted. This application note describes the effect that unstable clocks have on the error recovery sequence and how to work around these issues by using the error recovery register and the test register x1f. 1

2 Error Recovery Register and its Affect on Post Error Recovery Sequence Volume For purposes of this discussion, we are interested in bits 6 and 7 (D6 and D7 respectively) of the error recovery register (x04). D6 and D7 of the error recovery register combined with specific settings of test register x1f can control the volume ramp up following an error recovery sequence. We will consider cases where the user places the TAS5026 in error recovery mode by either asserting or by using the individual channel recovery bits (bits 0..5) of the error recovery register (both terminal and the I 2 C error recovery mode bits are active low). The table below defines the effect D6 and D7 of the error recovery register in combination with the values of test register x1f have on volume following the error recovery sequence. It is not recommended that test register x1f be programmed to any other value other than those presented below. Table 1. Error Recovery Register (x04) and Test Register x1f Settings D7 D6 Test Register x1f 1 1 x00 or default setting. Function Default setting. If clock error occurs while the pin is asserted, the TAS5026 performs the error recovery sequence up to the unmute sequence. The volume remains at full attenuation with the PWM ouputs at a 50% duty cycle. 0 - x84 Volume ramp up is enabled after an error recovery sequence initiated by either the terminal or the I 2 C error recovery command bit (bit 2 of register x03). 1 - x84 Volume ramp up is disabled after an error recovery sequence initiated by either the terminal or the I 2 C error recovery command bit (bit 2 of register x03). - 0 x84 Volume ramp up is enabled after an error recovery sequence initiated by setting bits 0 to 5 of the error recovery register (x04). - 1 x84 Volume ramp up is disabled after an error recovery sequence initiated by setting bits 0 to 5 of the error recovery register (x04). 2.1 Error Recovery Register and Test Register Setting Examples The following examples are presented only to illustrate the effect that different register configurations and clock errors have on post error recovery volume levels. We will take a look at four configurations and see the effect on volume when the terminal or I 2 Cbitsis asserted. 1. Volume ramp is always disabled regardless of means of initiating the error recovery sequence. 2. Volume ramp is disabled when the error recovery sequence is initiated by using the terminal, but is enabled when using the individual channel error recovery mode I 2 Cbits. 2 Controlling TAS5026 Volume After Error Recovery

3. Volume ramp is disabled when the error recovery sequence is initiated using the individual channel error recovery mode I 2 C bits, but is enabled when the terminal is used. 4. Volume ramp is always enabled regardless of means of initiating the error recovery sequence. Please refer to the TAS5026 Data Manual for recommend procedures to use during start up, data sample rate changes and master/slave clock mode changes. 2.1.1 Volume Ramp is Always Disabled The first configuration deals with what essentially is the default behavior of the TAS5026. D7 and D6 of Register x04 are both set to 1 (the default values) and test register x1f is set to its default value of x00. In this configuration, the volume following the error recovery sequence will vary depending on whether a clock error is detected while in the user initiated error recovery mode. Whether the user initiates error recovery by using the terminal or the individual channel error recovery mode bits of the error recovery register, the effect is the same. When goes LOW, the TAS5026 will place the PWM outputs in a hard mute. If clocks are stable while is LOW, the volume will be restored, without a soft ramp, to the level specified in the volume control registers (see Figure 1). If clocks are unstable while is LOW, the TAS5026 will perform the error recovery sequence up to the unmute sequence. Consequently, the volume will remain muted (see Figure 2). Volume is restored to NdB Figure 1 - Reg. x04 D7 = 1 and D6 = 1 and test register x1f set to x00; error recovery via ; stable clocks Controlling TAS5026 Volume After Error Recovery 3

Volume stays muted Figure 2 - Reg. x04 D7 = 1 and D6 = 1 and test register x1f set to x00; error recovery via ; unstable clocks In the case that the user uses the individual error recovery mode bits to initiate the error recovery on a specific channel, the associated bit (bit 0..5 of the error recover register) is set to 0 via I 2 C and the TAS5026 will place the corresponding PWM output in a hard mute. If clocks are stable while the individual channel error recovery mode bit is 0, the volume will be restored, without a soft ramp, to the level specified in the volume control registers (see Figure 3). If clocks are unstable while the associated bit is 0, the TAS5026 will perform the error recovery sequence up to the unmute sequence. Consequently, the volume will remain muted (see Figure 4). Volume is restored to NdB Figure 3 - Reg. x04 D7 = 1 and D6 = 1 and test register x1f set to x00; error recovery on individual channel via Reg. x04; stable clocks 4 Controlling TAS5026 Volume After Error Recovery

Volume stays muted Figure 4 - Reg. x04 D7 = 1 and D6 = 1 and test register x1f set to x00; error recovery on individual channel via Reg. x04; unstable clocks Controlling TAS5026 Volume After Error Recovery 5

2.1.2 Volume Ramp Enabled Only for Individual Channel Error Recovery Mode I 2 CBits In this second case, we configure the error recovery register bits (D7 = 1 and D6 = 0) so that the TAS5026 still disables the volume ramp up after an error recovery sequence is initiated by the terminal and enables the soft volume ramp up when the error recovery sequence is initiated by the individual channel error recovery mode bits of the error recovery register. The setting for test register x1f will be modified from its default value to x84. When the terminal is used to initiate the error recover sequence, the TAS5026 will react in the same way as it did in the default case. If clocks are stable while the terminal is LOW, the volume will be restored, without a soft ramp, to the level specified in the volume control registers (see Figure 5). If clocks are unstable while the terminal is LOW, the TAS5026 will perform the error recovery sequence up to the unmute sequence (see Figure 6). At that point the volume will remain at mute until the /MUTE terminal is brought low and then high or the /MUTE I 2 C bit is cleared and then set to 1. Volume is restored to NdB Figure 5 - Reg. x04 D7 = 1 and D6 = 0 and test register x1f set to x84; error recovery via ; stable clocks Volume stays muted Figure 6 - Reg. x04 D7 = 1 and D6 = 0 and test register x1f set to x84; error recovery via ; unstable clocks 6 Controlling TAS5026 Volume After Error Recovery

With D6 = 0, the TAS5026 will react differently when the individual error recovery mode bits are used to initiate the error recovery sequence verses when the terminal is used to initiate the sequence. Regardless of whether the clocks are stable while an individual channel error recovery bit is 0, the TAS5026 will softly ramp the volume to the level specified in the volume control registers over a 42 to65 ms interval at the end of the error recovery sequence (see Figure 7 and Figure 8). Soft ramp to N db Figure 7 - Reg. x04 D7 = 1 and D6 = 0 and test register x1f set to x84; error recovery on individual channel via Reg. x04; stable clocks Soft ramp to N db Figure 8 - Reg. x04 D7 = 1 and D6 = 0 and test register x1f set to x84; error recovery on individual channel via Reg. x04; unstable clocks Controlling TAS5026 Volume After Error Recovery 7

2.1.3 Volume Ramp Enabled Only for In this third case, we configure the error recovery register bits (D7 = 1 and D6 =0) so that the TAS5026 enables the volume ramp up after an error recovery sequence when the sequence is initiated by the terminal and disables the volume ramp up when the error recovery sequence is initiated by the individual channel error recovery mode bits of the error recovery register. The setting for the test register x1f will again be modified from its default valuetox84. The TAS5026 will react differently when the terminal is used to initiate the sequence verses when the individual error recovery mode bits are use to initiate the error recovery sequence. The difference in this case is that TAS5026 will react the same regardless of whether the clocks are stable when the terminal is LOW. Whether clocks are stable or not, the TAS5026 will softly ramp the volume to the level specified in the volume control registers over a 42 to 65 ms interval at the end of the error recovery sequence (see Figure 9 and Figure 10). Soft ramp to N db Figure 9 - Reg. x04 D7 = 0 and D6 = 1 and test register x1f set to x84; error recovery via ; stable clocks Soft ramp to N db Figure 10 - Reg. x04 D7 = 0 and D6 = 1 and test register x1f set to x84; error recovery via ; unstable clocks 8 Controlling TAS5026 Volume After Error Recovery

In this configuration, the TAS5026 will react as it did in the default case when the individual error recovery mode bits are used to initiate the error recovery sequence. If clocks are stable while the individual error recovery mode bit is 0, the volume will be restored, without a soft ramp, to the level specified in the volume control registers (see Figure 11). If the clocks are unstable, the TAS5026 will perform the error recovery sequence up to the unmute sequence (see Figure 12). Volume is restored to NdB Figure 11 - Reg. x04 D7 = 0 and D6 = 1 and test register x1f set to x84; error recovery on individual channel via Reg. x04; stable clocks Volume stays muted Figure 12 - Reg. x04 D7 = 0 and D6 = 1 and test register x1f set to x84; error recovery on individual channel via Reg. x04; unstable clocks Controlling TAS5026 Volume After Error Recovery 9

2.1.4 Volume Ramp Always Enabled Finally we consider the case where the error recover register bit (D7 = 0, D6 = 0) are configured so that the TAS5026 will do a soft ramp of the volume regardless of whether the user uses the terminal or the individual channel error recovery bits to initiate the error recovery sequence. Again, the setting for test register x1f will be modified from its default value to x84. In this final case, the TAS5026 is configured so that at the end of the error recovery sequence it will softly ramp the volume to the level specified in the volume control registers over a 42 to 65 ms interval. As illustrated in the figures below, the TAS5026 will do a soft volume ramp at the end of the error recovery sequence regardless of the means the user used to initiate the error recovery sequence or the state of the clocks. Soft ramp to N db Figure 13 - Reg. x04 D7 = 0 and D6 = 0 and test register x1f set to x84; error recovery via ; stable clocks Soft ramp to N db Figure 14 - Reg. x04 D7 = 0 and D6 = 0 and test register x1f set to x84; error recovery via ; unstable clocks 10 Controlling TAS5026 Volume After Error Recovery

Soft ramp to N db Figure 15 - Reg. x04 D7 = 0 and D6 = 0 and test register x1f set to x84; error recovery on individual channel via Reg. x04; stable clocks Soft ramp to N db Figure 16 - Reg. x04 D7 = 0 and D6 = 0 and test register x1f set to x84; error recovery on individual channel via Reg. x04; unstable clocks 3 Conclusions The resulting volume level following an error recovery sequence initiated by either the terminal or the individual channel error recovery mode bits of the error recovery register can be affected by the state of the clocks. By configuring the error recovery register and the less documented test register x1f, the user can specify how the TAS5026 will restore the volume level after the terminal goes HIGH or an individual channel error recovery mode bit is set to 1. By setting the error recovery register to enable volume ramp up after an error recovery sequence initiated by the user, as well as setting the test register x1f to x84, the user can configure the TAS5026 so that the volume will always be softly ramped regardless of the state of the clocks while the terminal is LOW or the individual channel error mode bits is set to 0. Controlling TAS5026 Volume After Error Recovery 11

12 Controlling TAS5026 Volume After Error Recovery

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. All products are sold subject to TI s terms and conditions of sale supplied at the time of order acknowledgment. TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI s standard warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by government requirements, testing of all parameters of each product is not necessarily performed. TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and applications using TI components. To minimize the risks associated with customer products and applications, customers should provide adequate design and operating safeguards. TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information published by TI regarding third party products or services does not constitute a license from TI to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI. Reproduction of information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable for such altered documentation. Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements. Mailing Address: Texas Instruments Post Office Box 655303 Dallas, Texas 75265 Copyright 2003, Texas Instruments Incorporated