T CT DUC PRODU O R TE P TITUTE 42-7747 OLE 4 OBS LE SUBS s 1-800- m o n B c I . o i s S t POS Applica p@harri A R l p a FO Centra cent call r email: o Semiconductor November 1998 HMP9701 AC’97 Audio Codec Features Description • Fully Compatible with the Audio Codec ‘97 Standard The HMP9701 is the next generation PC based audio codec solution. The HMP9701 is fully compatible to the new AC’97 standard and, as such, interfaces to any AC’97 compliant digital controller. The HMP9701 offers the designer a solution to satisfy the demand for flexibility and improved High Fidelity sound in a PC environment. As part of the AC’97 PC audio standard architecture, the HMP9701 helps pave the way for PC’97 compliant desktop, portable and entertainment PCs with a cost effective high-quality audio solution. • High Fidelity 16-Bit Σ∆ Converters - DAC SNR > 80dB - ADC SNR > 80dB • Additional A/D for Microphone Pass-Through • AC Link Serial Interface Compatible with AC’97 Digital Controllers • Fixed 48kHz Sampling Rate As the analog front end of the AC’97 chipset, the HMP9701 accepts line level audio inputs from seven different sources and converts the analog audio to 16-bit digital streams of either stereo or mono data. The 48 Kss data is transmitted to the controller via the AC’97 standard five wire interface. The controller sends digital audio data to the HMP9701 to be converted to analog stereo or monaural line output using two DACs. • 6 Channel Input Mixer • Programmable Powerdown Modes • 48 Lead TQFP Package • Single +5V Supply We include an additional ADC to be used for Acoustic Echo Canceling needed for video conferencing applications. This ADC has a dedicated microphone input. It has the same high quality performance as the stereo ADCs. The small 48 lead TQFP (Thin 1.5mm and 7mm x 7mm footprint Quad Flat Package) makes it easy to locate the analog codec close to the analog sources. Thus, reducing noise and lowering the cost of implementation. Applications • Multimedia PC Applications - Desk Top PCs - Notebook PCs - Sound Cards - Motherboards • Video Conferencing Ordering Information • Speaker Phones Table of Contents PART NUMBER Page Functional Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 2 HMP9701CN Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 HMP9701EVAL2 TEMP. RANGE (oC) 0 to 70 PACKAGE 48 Ld TQFP † PKG. NO. Q48.7x7A PCI Bus Evaluation Board (Includes codec) † TQFP is also known as PQFP and MQFP. Serial Digital Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . 8 Pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Pin Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 AC and DC Electrical Specifications . . . . . . . . . . . . . . . . . 13 Typical Performance Curves ADC/DAC Frequency Responses . . . . . . . . . . . . . . . . . 17 AC Timing Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Schematic Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 CAUTION: These devices are sensitive to electrostatic discharge. Users should follow proper IC Handling Procedures. Copyright © Harris Corporation 1998 1 File Number 4287.4 HMP9701 Functional Block Diagram HMP9701 AC’97 AUDIO CODEC GAIN 0dB/20dB MIC SEL Σ∆ A/D RECORD SELECT LINE_IN CD VIDEO AUX PHONE MONO VOL G A M LINE_OUT PC_BEEP MASTER VOL ∑ MONO SEL MONO_OUT G A M G A M G A M G A M G A M RECORD GAIN Σ∆ A/D Σ∆ A/D AC’97 CONTROL/CONFIGURATION (64 REGISTERS) AC LINK INTERFACE MIC1 MIC2 SYNC BIT_CLK SDATA_OUT SDATA_IN RESET ∑ ∑ ∑ GAM Σ∆ D/A Σ∆ D/A GAM STEREO SIGNAL PATH MONO SIGNAL PATH Functional Description Record ADCs The HMP9701 is a full-duplex stereo audio codec compliant to the AC’97 Codec specification. This component is designed for use in multimedia and business personal computers. The codec includes full duplex stereo converters, a mic pass through ADC, complete on-chip anti-alias filtering, and a 5 channel analog mixer with programmable gain and attenuation. The HMP9701 provides 3 Σ∆ ADCs to record one dedicated microphone input and 2 user selectable analog inputs. The user selectable analog inputs are routed to the stereo ADCs via an programmable Input Multiplexer. The multiplexer is programmed to select the 2 record channels via the Record Select register (1Ah). Analog Inputs Each of the record channels pass through a programmable gain block before each ADC. The record gain for each channel is set individually and ranges from 0dB to 22.5dB in 1.5dB increments (see Record Gain Registers 1Ch and 1Eh). The gain block can also be used to mute each channel. Note: an additional gain block provides 20dB of gain on the MIC channel if activated (see MIC Volume register 0Eh). The HMP9701 has 4 stereo inputs (LINE_IN, CD, VIDEO, and AUX), two microphone level inputs (MIC1 and MIC2), and one mono line level input (PHONE). A multiplexer is provided to independently select the right and left record sources from the analog inputs listed above. In addition, the output stereo mix (LINE_OUT) or its mono equivalent may also be selected as a record source. A gain block is available to amplify the MIC inputs by 20dB to compensate for the difference between line levels and typical condenser microphone levels. The HMP9701 uses oversampling Σ∆ ADCs which only require a single pole passive filter for anti-alias filtering. The filter for the left, right and MIC channels is realized by placing a 1nF capacitor between the AFILT1, AFILT2, and AFILT3 pins and analog ground respectively. Besides being fed to the Record Select Mux, all analog inputs can be mixed (see Analog Mixer) with the stereo output from the Playback DACs. Note: all analog inputs except PHONE and PC_BEEP can be output on MONO_OUT. Playback DACs There is a dedicated analog input, PC_BEEP, for the standard “Beep” signal provided on most PC/Compatible computers for power on self test and boot audio status indication. This input is mixed into each channel of the stereo line outputs. The HMP9701 uses oversampling single bit Σ∆ DACs to convert the stereo playback sample to an analog line level output. The output of the DACs pass through internal reconstruction filters that do not require any external components. 2 HMP9701 Serial Digital Interface Analog Mixer The Analog Mixer generates two outputs, one stereo and one mono. The stereo output is used to drive LINE_OUT and is composed of a stereo mix of all analog input sources and the audio output from the DACs. The mono output drives MONO_OUT, and it is user selectable as either MIC only or a mono mix of all the analog and PCM sources except the PHONE and PC_BEEP inputs. Audio Data Format The HMP9701 supports 16-bit 2’s complement linear PCM data for record and playback. The 16-bit 2’s complement format (also called 16-bit signed format) is the standard method of representing 16-bit digital audio. This format gives 96dB theoretical dynamic range and is the standard for compact disk audio players. This format uses the value -32768 (8000h) to represent minimum analog amplitude while 32767 (7FFFh) represents maximum analog amplitude. The inputs to the analog mixer pass through gain/attenuate/mute (GAM) blocks. Each gain block provides volume control from -34.5dB to +12dB in 1.5dB increments (see Input Volume Registers 0Ch - 18h). Additionally, the GAM blocks can be used to mute individual mixer inputs. An additional gain of 20dB is provided for the selected MIC input. Note: for best SNR performance, the GAM block for the DAC output should be used to control PCM analaog volume rather than digitally attenuating the DAC PCM input to take advantage of full resolution conversions. SYNC BIT_CLK HMP9701 AC’97 AUDIO CODEC SDATA_OUT AC’97 DIGITAL CONTROLLER SDATA_IN RESET Clocking The HMP9701 derives it’s internal clock from an externally attached 24.576MHz crystal. The crystal and 2 capacitors are attached to the XTL_IN and XTL_OUT pins, and it should be fundamental-mode/parallel resonant with a load capacitor as specified by the crystal manufacturer (typically 12-30pF). FIGURE 1. HMP9701 CONNECTION TO AC’97 CONTROLLER Digital Serial Interface (AC Link) The HMP9701 is linked to an AC’97 digital controller via a 5 pin digital serial interface as shown in Figure 1. This interface, the AC-link, supports bidirectional, fixed rate, serial data streams. The data transfers are based on a time division multiplexed (TDM) protocol that provides for multiple input and output audio streams together with control and status data. The AC-link protocol is based on incoming and outgoing audio frames which are each divided into 12 data slots as shown in Figure 2. The HMP9701 allocates data slots for 2 PCM playback channels, 2 PCM record channels, codec control, codec status, and a PCM microphone record channel. The remaining unused time slots are reserved. An external CMOS clock may be connected to XTL_OUT instead of a crystal. If this external clocking option is used, XTL_IN should be left floating. Please Note: No capacitors are used on the crystal pins in this mode. For an example circuit, refer to the Typical Application Schematic. The HMP9701 divides the clock source by 2 to derive the BIT_CLK provided to the companion digital controller. The digital controller should divide the provided BIT_CLK by 256 to generate the 48kHz SYNC signal used to define the audio frame transmitted over the serial digital interface (See Serial Digital Interface Section) 0 1 2 3 4 OUTGOING AUDIO STREAMS TAG CMD ADDR CMD DATA PCM LEFT PCM RIGHT RSRVD RSRVD RSRVD RSRVD RSRVD RSRVD RSRVD RSRVD INCOMING AUDIO STREAMS TAG PCM LEFT PCM RIGHT RSRVD SLOT NO. 5 6 7 8 9 10 11 12 SYNC STATUS STATUS ADDR DATA TAG PHASE MIC RSRVD RSRVD RSRVD RSRVD RSRVD RSRVD DATA PHASE FIGURE 2. AC LINK BIDIRECTIONAL DATA FRAME 3 HMP9701 20.8µs (48kHz) TAG PHASE SYNC DATA PHASE 12.288MHz 81.4ns BIT_CLK SLOT SLOT 1 2 SDATA_OUT VALID FRAME SLOT 12 “0” “0” “0” TIME SLOT “VALID” BITS (“1” = TIME SLOT CONTAINS VALID DATA) BIT 19 BIT 0 BIT 19 SLOT 1 BIT 0 BIT 19 SLOT 2 BIT 0 SLOT 12 “1” = FRAME CONTAINS VALID DATA FIGURE 3. AC LINK AUDIO OUTPUT FRAME trol and PCM output data slots is valid. The remaining 8 bits in Slot 0 are ignored as they are associated with reserved data slots. The HMP9701 generates a serial bit clock (BIT_CLK) at 12.288MHz for synchronous data transfers on the AC Link. Data is output on SDATA_IN by the rising edge of BIT_CLK, and serial data is sampled on SDATA_OUT by the falling edge of BIT_CLK. An audio frame transfer is initiated by the assertion of SYNC for the 16 BIT_CLK’s comprising the Tag Phase of the audio frame. The SYNC signal must be asserted at a fixed 48kHz rate, and it can be derived by dividing down the BIT_CLK. HMP9701 SAMPLES SYNC ASSERTION HMP9701 SAMPLES FIRST BIT OF AUDIO OUTPUT SYNC BIT_CLK The tag phase is a 16-bit data slot (Slot 0) wherein each bit is a data valid flag for an associated time slot within the current audio frame. A “1” in a given bit position of Slot 0 indicates that the corresponding time slot within the audio frame contains valid data. If the HMP9701 “tags” a slot invalid, it will set the data bits comprising that slot to zero. SLOT 1 SDATA_OUT PREVIOUS AUDIO FRAME AC Link Output Frame (SDATA_OUT) SLOT 2 VALID FRAME FIGURE 4. START OF AUDIO OUTPUT FRAME The audio output frame contains data targeted for the HMP9701’s DAC inputs, and control registers. This data is transmitted in slots 1 through 4 of the audio frame as shown in Figure 2. The tag slot, Slot 0, is a special reserved time slot containing 16 bits that tell the AC-link interface circuitry the validity of the following data slots. The 20-bit data word in each time slot must be transmitted MSB first. If the data word targeted for a time slot is less than 20 bits, the data word must be MSB justified in the most significant bits of the time slot with the unused bits set to zero. For example, an 8 bit audio sample would be transmitted in bits 19-12 of the time slot with the trailing 12 bits set to zero. The MSB of the audio sample would map to bit 19 of the time slot. Note: for the playback of mono audio streams, the digital controller must send the same sample to each PCM output channel. The HMP9701 is synchronized to the beginning of a new audio output frame when SYNC makes a low to high transition and is sampled low by the falling edge of BIT_CLK as shown in Figure 3. On the next rising of BIT_CLK, the AC’97 controller drives SDATA_OUT with the first bit of slot 0 (Valid Frame bit) which is then sampled by the HMP9701 on the subsequent falling edge of BCLK. The controller drives the remaining audio frame bits out on SDATA_OUT with each rising edge of BCLK, and the HMP9701 samples these bits on the subsequent falling edge. Audio Output Slot 1: Control Address The bits in Slot 1 are used to access the 16 bit control/status registers within the HMP9701. The address space allocated in slot 1 allows up to 64 sixteen bit registers, however, only the even registers are valid (see Control/Status register section for a complete register map). The control registers are read/writable to provide more robust testability. A read or write command is initiated by setting the Read/Write bit (Bit 19) in Slot 1. A complete bit map for Slot 1 is given in the Table 1. Note: control data will only be loaded into the target registers if Slot 2 (Control Data) is flagged as being valid. The first bit of the output audio frame (Slot 0, bit 15) flags the validity of the entire audio frame. If the “Valid Frame” bit is a 1, this indicates that the current audio frame contains at least one time slot of valid data. The HMP9701 monitors the next 4 bit positions to determine whether the data in the con- 4 HMP9701 samples are returned in slots 3, 4 and 6 as shown in Figure 2. As before, the tag slot, Slot 0, is a special reserved time slot containing 16 bits that tell the AC-link interface circuitry the validity of the following data slots. TABLE 1. BIT MAP FOR SLOT 1: CONTROL ADDRESS BITS DESCRIPTION 19 Read/Write COMMENT 1 = Read, 0 = Write 18:12 Control Register Index Identifies the Target Control Register 11:0 Set to “0” Reserved The HMP9701 starts a new audio input frame when SYNC makes a low to high transition and is sampled low by the falling edge of BIT_CLK as shown in Figures 5 and 6. On the next rising edge of BIT_CLK, the HMP9701 drives SDATA_IN with the first bit of slot 0 (Codec Ready bit). The HMP9701 drives the remaining audio frame bits out on SDATA_IN with each rising edge of BIT_CLK. Note: SYNC must be synchronous to BIT_CLK. Audio Output Slot 2: Control Data This Slot is used to deliver the 16 bit control data if the current control register access is a write operation (Bit 19 of Slot 1 is set to “0”). The bit map for Slot 2 is given in Table 2. TABLE 2. BIT MAP FOR SLOT 2: CONTROL DATA BITS DESCRIPTION HMP9701 SAMPLES SYNC ASSERTION COMMENT 19:4 Control Register Write Data Set to “0” if Read operation 3:0 Reserved Set to “0” HMP9701 OUTPUTS FIRST BIT OF AUDIO INPUT FRAME SYNC BIT_CLK Audio Output Slot 3: PCM Playback Left Channel CODEC READY SLOT 1 SLOT 2 This time slot contains the audio sample that will be input to the left channel DAC. The HMP9701 DAC resolution is 17 Bits. All audio samples of 17 or less bits should be MSB justified within the 20-bit frame, and the trailing bits should be set to “0”. Audio samples greater than 17 bits will be rounded to 17 bits. SDATA_IN TABLE 3. BIT MAP FOR SLOT 3: PCM PLAYBACK LEFT CHANNEL The first bit of an input audio frame (Slot 0, bit 15) indicates whether the HMP970’s AC Link is functional. If the “Codec Ready” bit is a 0, the HMP9701 is not ready for normal operation. If the “Codec Ready” bit is “1”, the HMP9701 is ready to perform control and status register transfers. At this point, it is the responsibility of the digital controller to examine the Powerdown Control/Status register (see Control Register Section) to determine the operational state of the codec subsections. The 12 bits following the “Codec Ready” Bit in Slot 0 identify which of the 12 time slots contain valid data. BITS 19:0 DESCRIPTION PCM Audio Sample for Left Channel PREVIOUS AUDIO FRAME FIGURE 5. START OF AUDIO INPUT FRAME COMMENT Set unused bit positions to “0” Audio Output Slot 4: PCM Playback Right Channel This time slot contains the audio sample that will be input to the right channel DAC. The HMP9701 DAC resolution is 17 Bits. All audio samples of 17 or less bits should be MSB justified within the 20-bit frame, and the trailing bits should be set to “0”. Audio samples greater than 17 bits will be rounded to 17 bits. The HMP9701 outputs each time slots data word MSB first on SDATA_IN. All non-valid bit positions (for active or inactive time slots) are stuffed with 0’s by the HMP9701. Input Audio Slot 1: Status Address This slot echoes the index of the control register whose contents are returned in slot 2. The data in this register is the result of a control register read operation initiated by an Output Audio Frame transfer. TABLE 4. BIT MAP FOR SLOT 4: PCM PLAYBACK RIGHT CHANNEL BITS DESCRIPTION 19:0 PCM Audio Sample for Right Channel COMMENT Set unused bit positions to “0” TABLE 5. BIT MAP FOR SLOT 1: STATUS ADDRESS BITS Audio Output Slots 5-12: Reserved 19 Audio output slots 5-12 are reserved for future use and should be set to “0” for proper operation. AC Link Input Frame (SDATA_IN) The audio input frame contains captured audio samples and codec status for output onto the AC-Link. The codec status is transmitted in slots 1 and 2, and the 16-bit captured audio 5 DESCRIPTION COMMENT Reserved Stuffed with 0 18:12 Control Register Index Echo of Control Register Index for which data is being returned 11:0 Reserved Stuffed with 0’s HMP9701 Input Audio Slot 2: Status Data Input Audio Slot 6: Microphone Record Channel This slot delivers control register read data. This slot contains an audio sample captured by the dedicated microphone ADC. The resolution of the ADC is 16 bits and is MSB justified in the 20-bit slot. This input allows higher performance echo cancellation algorithms in speaker phone applications. TABLE 6. BIT MAP FOR SLOT 1: STATUS DATA BITS 19:4 3:0 DESCRIPTION COMMENT Control Register Read Data Stuffed with 0’s if slot tagged invalid Reserved Stuffed with 0’s TABLE 9. BIT MAP FOR SLOT 6: MICROPHONE RECORD DATA BITS Input Audio Slot 3: PCM Record Left Channel This slot contains an audio sample captured by the left channel ADC. The resolution of the ADC is 16 bits and is MSB justified in the 20-bit slot. DESCRIPTION 19:4 PCM Record Sample Left Channel 16-Bit audio sample from Left Record ADC 3:0 Reserved Stuffed with 0’s COMMENT 19:4 PCM Record Sample Microphone Channel 16-Bit Audio Sample From Dedicated Microphone ADC 3:0 Reserved Stuffed with 0’s Slots 5, 7-12: Reserved Audio input slots 5, and 7-12 are reserved, and they are set to “0”. TABLE 7. BIT MAP FOR SLOT 3: LEFT CHANNEL RECORD DATA BITS DESCRIPTION COMMENT Low Power Modes The HMP9701 may be put in a programmable powerdown state to reduce power when no activity is required. The state of powerdown is controlled by the Powerdown Register (26h). This register provides 6 commands to powerdown various sections of the HMP9701. A summary of the power down commands is given in Table 10 with a more complete description given in the Control Register Section. Note, the HMP9701 is a fully static design which will preserve the contents of the internal control registers if the internal clock is stopped. Input Audio Slot 4: PCM Record Right Channel This slot contains an audio sample captured by the right channel ADC. The resolution of the ADC is 16 bits and is MSB justified in the 20-bit slot. TABLE 10. SUMMARY OF POWERDOWN REGISTER (26H) TABLE 8. BIT MAP FOR SLOT 4: RIGHT CHANNEL RECORD DATA BIT BITS DESCRIPTION COMMENT 19:4 PCM Record Sample Right Channel 16-Bit audio sample from Right Record ADC 3:0 Reserved Stuffed with 0’s FUNCTION PR0 Input Mux and ADC Powerdown PR1 DAC Powerdown PR2 Analog Mixer Powerdown (VREF On) PR3 Analog Mixer Powerdown (VREF Off) PR4 Digital Interface (AC-Link) Powerdown (External CLK Off) PR5 Internal CLK Disable 20.8µs (48kHz) TAG PHASE SYNC DATA PHASE 12.288MHz 81.4ns BIT_CLK SLOT SLOT 1 2 SDATA_IN CODEC READY SLOT 12 “0” “0” “0” TIME SLOT “VALID” BITS (“1” = TIME SLOT CONTAINS VALID DATA) BIT 19 BIT 0 BIT 19 SLOT 1 “1” = AC LINK INTERFACE IS FUNCTIONAL FIGURE 6. AC LINK AUDIO INPUT FRAME 6 BIT 0 SLOT 2 BIT 19 SLOT 12 BIT 0 HMP9701 AC Link Powerdown HMP9701 will remain in the reset state as long as RESET is asserted “low”. The AC-link interface can be placed in a low power mode by setting PR4 = 1 in the Powerdown Register (see above). In this mode, both BIT_CLK and SDATA_IN are forced to a logic “low” voltage level. Suggested Powerdown Sequences PR0= 1 PR2=1 PR1=1 PR4=1 SYNC ADCs OFF PR0 NORMAL BCLK SDATA_OUT SLOT 12 TAG SDATA_IN SLOT 12 TAG WRITE TO 26H DATA PR4 = 1 PR0=0 AND ADC=1 DACs OFF PR1 PR1=0 AND DAC=1 CODEC READY =1 PREVIOUS FRAME ANALOG OFF PR2 OR PR3 PR2=0 AND ANL=1 AC LINK OFF PR4 POWER DOWN WARM RESET COLD RESET DEFAULT NOTE: BCLK not to scale. FIGURE 7. AC-LINK POWERDOWN TIMING FIGURE 8. EXAMPLE OF SEQUENTIAL POWERDOWN As shown in Figure 7 BIT_CLK and SDATA_IN are driven low immediately following the decode of the write to the Powerdown Control/Status Register (26h) with PR4 = 1. Once HMP9701 has been instructed to powerdown the AC Link, a special “wake up” sequence is required to return the AC-Link to active mode. Note: any valid slots of audio output samples in the frame containing the AC Link powerdown command will be dropped. Figure 8 illustrates the complete powerdown of the HMP9701. Starting from normal operation, sequential writes to the Powerdown Register are performed to powerdown one codec section at a time. After powering down the converters and the analog front end, a final write to PR4 is executed to shut down the HMP9701’s digital interface (AC-link). The part will remain in sleep mode with all its registers holding their static values. Waking up the AC-Link A warm reset can be used to wake up the AC link which can then be used to sequentially power up each codec section. Each section should be powered up sequentially, and the Powerdown Control/Status register (26h) should be read to verify that a powered up section is stable/ready before preceding to power up the next section as shown in Figures 8 and 9. Note: after a complete powerdown, care must be taken to make sure the Analog Mixer (PR2, PR3) is powered up and stable before preceding to power up the ADCs and DACs. There are 2 methods for bringing the HMP9701’s AC-link out of powerdown mode. The first is a “warm reset” that preserves reactivates the AC Link while preserving the contents of the HMP9701 control registers. The second is a “Cold Reset” that reactivates the digital interface while resetting the control registers to their default values. Once the AC Link has been powered up, its operational readiness will be indicated via the Codec Ready bit in the audio input frame (slot 0, bit 15). Warm AC Link Reset PR0=1 A warm reset will reactivate the HMP9701’s AC-link without altering the current control register values. A warm reset is generated by driving SYNC high for a minimum of 1µs in the absence of BIT_CLK. Within normal audio frames SYNC is a synchronous HMP9701 BIT_CLK. However, in the absence of BIT_CLK, SYNC functions as an asynchronous input that is used to generate a warm reset. The activation of BIT_CLK will not occur until after the falling edge (high to low transition) of the “wake up” SYNC. Note: the HMP9701 will not respond to a “warm reset” via the SYNC input for 4 audio frame times following the frame that triggered the powerdown. NORMAL PR0=0 AND ADC=1 PR1=1 PR4=1 DACs OFF PR1 ADCs OFF PR0 PR1=0 AND DAC=1 AC LINK OFF PR4 POWER DOWN WARM RESET FIGURE 9. HMP9701 POWERDOWN/UP WITH ANALOG ALIVE The Figure 9 illustrates an HMP9701 powerdown sequence that will keep all the mixers operational with the static volume settings contained in their associated registers. This powerdown scenario could be used to place the HMP9701 in low power mode while preserving the capability to play a CD (or external LINE_IN source) through the HMP9701 to the speakers. Cold AC Link Reset A cold reset is achieved by asserting RESET for a minimum of 1µs. By driving RESET low, BIT_CLK will be activated, the AC-Link will return to normal operation, and all HMP9701 control registers will be initialized to their default values. RESET is an asynchronous HMP9701 input. Note: the 7 HMP9701 Testability PC Beep Register (Index 0Ah) The HMP9701 provides a test mode to support the in circuit test capabilities provided by automatic test equipment (ATE). In this mode, the HMP9701 drives its digital AC-Link outputs (BIT_CLK and SDATA_IN) to a high impedance state. This allows for in circuit testing of the digital controller component of the sound subsystem. This register controls the level of the PC Beep input. The PC Beep is attenuated as specified by the contents of this register and mixed equally into both the right and left output channels. The PC_BEEP input is attenuated in 3dB steps from 0dB to 45dB. The MSB of the register is the mute bit. When this bit is set to 1 the level for that channel is set at - ∞ dB. The HMP9701 enters ATE test mode when SDATA_OUT is sampled high by the trailing edge of RESET (see AC Timing Diagrams). The HMP9701 will remain in test mode until a “cold” reset returns the part to normal operation. TABLE 12. PC_BEEP ATTENUATION SETTINGS Control/Status Registers The HMP9701 contains a bank of 16-bit control/status registers to control and monitor part operation. The control registers are accessed via the even addresses within the 6-bit address space provided in Slot 1 of the Audio Output Frame. The control/status register address map is given in Table 20. MUTE PV3:0 FUNCTION 0 0000 0dB Attenuation 0 1111 45dB Attenuation 1 xxxx -∞ dB Attenuation Default Value: 8000h (0dB Gain w/ Mute on) Input Volume Control (Index 0Ch- 18h) These registers control the input gain/attenuate/mute (GAM) blocks through which each of the analog mixer’s inputs pass. Each GAM block has a 5-bit control that supports setting the gain in increments of 1.5dB. A total gain range from +12dB to -34.5dB is supported. The MSB of each register is a Mute bit that will set the gain to - ∞ dB when programmed to 1. Note: register 0Eh (Mic Volume Register) has an extra bit that is for a 20dB boost. When bit 6 is set to 1 the 20dB boost is on. Reset Register (Index 00h) Writing any value to this register performs a register reset that causes all registers to revert to their default values. Reading this register returns the AC’97 ID code that specifies the optional AC’97 features supported by the HMP9701. This register will read back 0001h to indicate that the HMP9701 provides the optional ADC for a dedicated MIC channel. TABLE 13. ANALOG MIXER INPUT GAIN SETTINGS MUTE PV3:0 FUNCTION Master Volume Control Registers (Index 02h, 06h) 0 00000 +12dB Gain These registers manage the output audio volumes. Register 02h sets the master stereo volume (LINE_OUT_L, LINE_OUT_R) and Register 06h controls the mono volume (MONO_OUT). Each volume step corresponds to 1.5dB. The MSB of both registers is the mute bit. When this bit is set to 1 the level for that channel is set at - ∞ dB. 0 01000 0dB Gain 0 11111 -34.5dB Gain 1 xxxx - ∞ dB Gain Default: All GAM blocks set to Mute with 0dB Gain (see Table 20) Record Select (Index 1Ah) TABLE 11. MASTER VOLUME SETTINGS This register is used to select the record source for the left and right record ADC’s. The selections are summarized below in Table 14 and 15. MUTE MX5...MX0 FUNCTION 0 00 0000 0dB Attenuation 0 01 1111 46.5dB Attenuation 0 1x xxxx 46.5dB Attenuation SR2:0 RIGHT RECORD SOURCE 1 xx xxxx -∞ dB Attenuation 0 MIC 1 CD_R 2 VIDEO_R 3 AUX_R 4 LINE_IN_R 5 Stereo Mix Right 6 Mono Mix 7 PHONE TABLE 14. RECORD SELECT RIGHT CHANNEL Default Value: 8000h (0dB Gain with Mute On) The HMP9701 supports 5 bits of gain control for the stereo line out and mono out. The right and left stereo channels are controlled via MR4:0 and ML4:0 respectively. The mono output is controlled by MM4:0. Writing a “1” to MR5, ML5, or MM5 will force the volume level to max attenuation, Mx4:0 = 11111 (46.5dB attenuation). Note: if these registers are written with Mx5:0 = 1xxxx, they will read back Mx5:0 = 01111. Default: 000 (MIC in) 8 HMP9701 TABLE 15. RECORD SELECT LEFT CHANNEL TABLE 18. POWERDOWN CONTROL SL2:0 RIGHT RECORD SOURCE BIT 0 MIC PR0 Input Mux and ADC’s (1 = PWR Down, 0 = PWR Up) 1 CD_L PR1 DACs (1 = PWR Down, 0 = PWR Up) 2 VIDEO_L PR2 3 AUX_L Analog Mixer Powerdown with VREF Left On (1 = PWR Down, 0 = PWR Up) 4 LINE_IN_L PR3 Analog Mixer Powerdown with VREF Turned Off (1 = PWR Down, 0 = PWR Up) 5 Stereo Mix Right PR4 6 Mono Mix Digital Interface (AC Link) powerdown (BCLK off) (1 = PWR Down, 0 = PWR Up) 7 PHONE PR5 Internal Clock Disable (1 = CLK Off, 0 = CLK On) Default: 000 (MIC in) Default: na The lower byte of this register is used to monitor the status of individual sections with in the HMP9701. The status bits, as summarized in Table 19, indicate whether a subsection is in it’s normal operational state (Ready). Note: the status bits are read only, and writes to this register will have no effect on the state of these bits. Record Gain Registers (Index 1Ch and 1Eh) These registers control the record gain for both the MIC input and the selected stereo inputs (see Record Select Register). The gain is programmed in steps of 1.5dB and ranges from 0dB to +22.5dB. The MSB of the register is the mute bit. When this bit is set to 1 the level for that channel(s) is set at - ∞ dB. TABLE 19. POWERDOWN STATUS BIT TABLE 16. RECORD GAIN SETTINGS MUTE PV3:0 0 0 1111 +22.5dB Gain 0 0 0000 0dB Gain 1 x xxxx - ∞ dB Gain FUNCTION General Purpose Register (Index 20h) VREFs at Nominal Level (1 = VREF Ready, 0 = VREF Down) ANL Analog Mixer Powerdown (1 = Mixer Up, 0 = Mixer Down) DAC DAC Ready for Audio Samples (1 = Ready, 0 = Not Ready) ADC ADC Section Ready to Record (1 = Ready, 0 = Not Ready) Default: na This register is used to control several miscellaneous functions within the HMP9701. These include the selection of Mic input source, the selection of MONO_OUT source, and activation of ADC/DAC loopback mode. When loopback mode is enabled, the ADC output is looped back to the DAC input bypassing the AC-link, thus allowing for full system performance measurements. When the AC-link “Codec Ready” indicator bit (SDATA_IN slot 0, bit 15) is a 1, it indicates that the AC-link and AC‘97 control and status registers are in a fully operational state. It is the responsibility of the digital controller to further probe the Powerdown Control/Status Register to determine exactly which subsections, if any, are ready. TABLE 17. GENERAL PURPOSE CONTROL Mono Output Select (0 = Mix, 1 = MIC) MS Mic Select (1 = Mic2, 0 = Mic1) LPBK Reserved Registers (Index 28h - 7ah) FUNCTION MIX FUNCTION REF Default: 8000h (0dB Gain with Mute on) BIT FUNCTION These are reserved. Do not write to these registers. Vendor ID Registers (Index 7Ch - 7Eh) This register contains the Harris Semiconductor vendor ID. The ID method is a Microsoft’s Plug and Play Vendor ID code with F7:0 the first character of that ID, S7:0 the second character and T7:0 the third character. These three characters are ASCII encoded, and they will read back as ‘HRS’. The REV7:0 field is for the Revision number. ADC/DAC Loopback Mode Default: 0000h Powerdown Control/Status Register (Index 26h) This register is used to program the HMP97901’s powerdown states and monitor subsystem status. The upper bits of this register are used to power up/down individual sections within the codec as summarized in Table 18. 9 TABLE 20. CONTROL/STATUS REGISTER ADDRESS MAP REG NAME D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 DEFAULT X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 na Mute X ML5 ML4 ML3 ML2 ML1 ML0 X X MR5 MR4 MR3 MR2 MR1 MR0 8000h X X X X X X X X X X X X X X X X X Mute X X X X X X X X X MM5 MM4 MM3 MM2 MM1 MM0 8000h X X X X X X X X X X X X X X X X X Reset 02h Master Volume 04h Reserved 06h Master Volume Mono 08h Reserved 0Ah PC_BEEP Volume Mute X X X X X X X X X X PV3 PV2 PV2 PV0 X 8000h 0Ch Phone Volume Mute X X X X X X X X X GN5 GN4 GN3 GN2 GN1 GN0 8008h 0Eh Mic Volume Mute X X X X X X X X 20dB GN5 GN4 GN3 GN2 GN1 GN0 8008h 10h Line In Volume Mute X X GL4 GL3 GL2 GL1 GL0 X X X GR4 GR3 GR2 GR1 GR0 8808h 12h CD Volume Mute X X GL4 GL3 GL2 GL1 GL0 X X X GR4 GR3 GR2 GR1 GR0 8808h 14h Video Volume Mute X X GL4 GL3 GL2 GL1 GL0 X X X GR4 GR3 GR2 GR1 GR0 8808h 16h Aux Volume Mute X X GL4 GL3 GL2 GL1 GL0 X X X GR4 GR3 GR2 GR1 GR0 8808h 18h PCM Out Vol Mute X X GL4 GL3 GL2 GL1 GL0 X X X GR4 GR3 GR2 GR1 GR0 8808h 1Ah Record Select X X X X X SL2 SL1 SL0 X X X X X SR2 SR1 SR0 0000h 1Ch Record Gain Mute X X X GL3 GL2 GL1 GL0 X X X X GR3 GR2 GR1 GR0 8000h 1Eh Record Gain Mic Mute X X X X X X X X X X X GM3 GM2 GM1 GM0 8000h 20h General Purpose X X X X X X MIX MS LPBK X X X X X X X 0000h 22h Reserved X X X X X X X X X X X X X X X X X 24h Reserved X X X X X X X X X X X X X X X X X 26h Powerdown Ctrl/Stat X X PR5 PR4 PR3 PR2 PR1 PR0 X X X X REF ANL DAC ADC na 28h Reserved X X X X X X X X X X X X X X X X X .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. 7Ah Vendor Reserved X X X X X X X X X X X X X X X X X 7Ch Vendor ID1 F7 F6 F5 F4 F3 F2 F1 F0 S7 S6 S5 S4 S3 S2 S1 S0 4852 7Eh Vendor ID2 T7 T6 T5 T4 T3 T2 T1 T0 REV7 REV6 REV5 REV4 REV3 REV2 REV1 REV0 5300 .. HMP9701 10 00h HMP9701 Pinout MONO_OUT VAA CAP3 CAP4 NC AGND NC NC NC NC 48 47 46 45 44 43 42 41 40 39 38 37 36 LINE_OUT_R 2 3 35 LINE_OUT_L 34 CAP2 CAP1 VDD 1 XTL_IN XTL_OUT NC NC HMP9701 (TQFP) TOP VIEW GND 4 33 SDATA_OUT 5 32 NC BIT_CLK 6 7 31 AFILT3 30 AFILT2 SDATA_IN 8 29 AFILT1 VDD 9 28 VREFOUT SYNC 10 27 VREF RESET 11 12 26 AGND VAA LINE_IN_R LINE_IN_L MIC2 MIC1 CD_R CD_GND CD_L VIDEO_R VIDEO_L AUX_R 25 13 14 15 16 17 18 19 20 21 22 23 24 PHONE PC_BEEP AUX_L GND Pin Descriptions TQFP PIN NUMBER INPUT/ OUTPUT RESET 11 I RESET - This active low signal causes a HMP9701 hardware reset that will return the control/status registers to their default conditions. SYNC 10 I SYNC - 48kHz sync pulse which defines the beginning of serial audio I/O frames. Note: must be synchronous to BIT_CLK. BIT Clock - 12.288MHz serial data clock derived by dividing down 24.576MHz crystal input. NAME DESCRIPTION DIGITAL I/O BIT_CLK 6 O SDATA_OUT 5 I Serial Data Out - Output bit stream that contains audio playback samples as well as control data. This input is sampled on the falling edge of BIT_CLK. SDATA_IN 8 O Serial Data In - Input bit stream that contains recorded audio samples as well as codec status information. Data output on the rising edge of BIT_CLK. PC_BEEP 12 I PC Beep. Mono Input for PC Beep pass through to LINE_OUT. This input is attenuated from 0dB to 45dB in 3dB steps and then summed with left and right line outputs (LINE_OUT_L, LINE_OUT_R) PHONE 13 I Phone. Mono Input from telephony subsystem speaker phone (or DLP - Down Line Phone) MIC1 21 I Microphone Input 1. The MIC input may be either line-level or -20dB from line-level. In the latter case, a software controlled 20dB gain block may be activated. MIC2 22 I Microphone Input 2. The MIC input may be either line-level or -20dB from line-level. In the latter case, a software controlled 20dB gain block may be activated. LINE_IN_L 23 I Left Line Input. The left line-level may be selected for recording via one of the stereo ADC’s via the Input Mux. In addition, this input can be gained/attenuated from +12dB to -34.5dB in 1.5dB steps and then summed with left line output (LINE_OUT_L). ANALOG I/O 11 HMP9701 Pin Descriptions (Continued) NAME TQFP PIN NUMBER INPUT/ OUTPUT LINE_IN_R 24 I Right Line Input. The right line-level may be selected for recording via one of the stereo ADC’s via the Input Mux. In addition, this input can be gained/attenuated from +12dB to -34.5dB in 1.5dB steps and then summed with right line output (LINE_OUT_R). CD_L 18 I Left CD Audio Channel. This line-level input may be input to one of the stereo ADC’s via the Input Mux. It can also be gained/attenuated from +12dB to -34.5dB in 1.5dB steps and then summed with the Left Line Output (LINE_OUT_L). CD_GND 19 I CD Audio Analog Ground. CD_R 20 I Right CD Audio Channel. This line-level input is selected for input to one of the stereo ADCs via the Input Mux. It can also be gained/attenuated from +12dB to -34.5dB in 1.5dB steps and then summed with the Right Line Output (LINE_OUT_R). VIDEO_L 16 I Left Video Input. This line-level input is driven with the left channel audio track from a video source. The signal is selected for input to one of the stereo ADCs via the Input Mux, and it can be gained/attenuated from +12dB to -34.5dB in 1.5dB steps and then summed with Left Line Output (LINE_OUT_L). VIDEO_R 17 I Right Video Input. This line-level input is driven with the right channel audio track from a video source. The signal is selected for input to one of the stereo ADCs via the Input Mux, and it can be gained/attenuated from +12dB to -34.5dB in 1.5dB steps and then summed with Right Line Output (LINE_OUT_R). AUX_L 14 I Left Auxiliary Input. This line-level input is input to one of the stereo ADCs via the Input Mux. It can also be gained/attenuated from +12dB to -34.5dB in 1.5dB steps and then summed with the Left Line Output (LINE_OUT_L). AUX_R 15 I Right Auxiliary Input. This line-level input is input to one of the stereo ADCs via the Input Mux. It can also be gained/attenuated from +12dB to -34.5dB in 1.5dB steps and then summed with the Right Line Output (LINE_OUT_R). LINE_OUT_L 35 O Left Line Output. This line level output is the post-mixed output for the left audio channel. The audio output passes through a Master Volume block that provides attenuation from 0dB to 45dB in 1.5dB steps. LINE_OUT_R 36 O Right Line Output. This line level output is the post-mixed output for the right audio channel. The audio output passes through a Master Volume block that provides attenuation from 0dB to 45dB in 1.5dB steps. MONO_OUT 37 O Mono Output. This user selectable line level output is either the post-mixed output or the microphone input. The mono output passes through a Mono Volume block that provides attenuation from 0dB to 45dB in 1.5dB steps. DESCRIPTION MISCELLANEOUS VREF 27 O Voltage Reference. Nominal 2.25V reference output. Should not be used to sink or source current. VREFOUT 28 O Voltage Reference Out. Nominal 2.25V reference output with 5mA drive capability. Intended a microphone bias. AFILT1 29 O Anti-Alias Filter 1 (Left Record Channel). This pin requires a 1nF capacitor to analog ground for proper operation. AFILT2 30 O Anti-Alias Filter 2 (Right Record Channel). This pin requires a 1nF capacitor to analog ground for proper operation. AFILT3 31 O Anti-Alias Filter 3 (MIC Record Channel). This pin requires a 1nF capacitor to analog ground for proper operation. CAP1, CAP2 33, 34 O Left Channel DC Blocking CAP. For proper operation connect a 1µF capacitor between these two pins. CAP3, CAP4 39, 40 O Right Channel DC Blocking CAP. For proper operation connect a 1µF capacitor between these two pins. XTL_IN 2 I 24.576MHz Crystal Input. Leave this pin unconnected when using an external clock source. XTL_OUT 3 O 24.576MHz Crystal Output. This pin may also be used to input an external 24.576MHz clock source. VAA 25, 38 I Analog Supply Voltage (5.0V). AGND 26, 42 I Analog Ground. VDD 1, 9 I Digital Supply Voltage (5.0V). GND 4, 7 I Digital Ground. 12 HMP9701 Absolute Maximum Ratings Thermal Information Supply Voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.0V Input Voltages. . . . . . . . . . . . . . . . . . . . . . GND -0.5V to VCC +0.5V ESD Classification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Class 2 Thermal Resistance (Typical, Note 1) θJA (oC/W) TQFP Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 Maximum Storage Temperature Range . . . . . . . . . .-65oC to 150oC Maximum Junction Temperature . . . . . . . . . . . . . . . . . . . . . . . 150oC Maximum Lead Temperature (Soldering 10s) . . . . . . . . . . . . . 300oC (Lead Tips Only) Operating Conditions Temperature Range HMP9701CN. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0oC to 70oC CAUTION: Stresses above those listed in “Absolute Maximum Ratings” may cause permanent damage to the device. This is a stress only rating and operation of the device at these or any other conditions above those indicated in the operational sections of this specification is not implied. NOTE: 1. θJA is measured with the component mounted on an evaluation PC board in free air. Dissipation rating assumes device is mounted with all leads soldered to printed circuit board. Electrical Specifications VCC = 5.0V, TA = 25oC, Note 2 HMP9701CN PARAMETER SYMBOL TEST CONDITION MIN TYP MAX UNITS fCLK = 24.576MHz, VDD = 5.0V, Outputs Not Loaded - - 35 mA Analog ICCOP fCLK = 24.576MHz, VAA = 5.0V, Outputs Not Loaded - - 80 mA - 50 - dB 2.0 - - V 0.7 * VDD - - V - - 0.8 V - - 0.3 * VDD V VDD = Max Input = 0V or 5.25V -10 - +10 µA 2.4 - - V - - 0.4 V -10 - +10 µA POWER SUPPLY CHARACTERISTICS Power Supply Current Digital ICCOP Power Supply Rejection (1kHz, 10mVRMS) DIGITAL I/O Input Logic High Voltage Digital Inputs VIH VDD = Max XTL_IN Input Logic Low Voltage Digital Inputs VIL VDD = Min XTL_IN Input Logic Current IIH, IIL Output Logic High Voltage VOH IOH = -4mA, VDD = Max Output Logic Low Voltage VOL IOL = 4mA, VDD = Min Three-State Output Current Leakage IOZ Rise/Fall Time (SDATA_IN, BIT_CLK) tr, tf Note 2 - - 6.0 ns Input/Output Capacitance CIN CLK Frequency = 1MHz, Note 3, All Measurements Referenced to Ground TA = 25oC - - 8 pF 13 HMP9701 Timing Specifications (Notes 2, 6) HMP9701CN PARAMETER SYMBOL BIT_CLK Frequency TEST CONDITION MIN TYP MAX UNITS 24.576MHz Xtal, Note 3 - 12.288 - MHz - 81.4 - ns BIT_CLK Period tBCP 24.576MHz Xtal, Note 3 BIT_CLK High tBCH Note 3 32.56 - 48.84 ns BIT_CLK Low tBCL Note 3 32.56 - 48.84 ns - 48 - kHz Sync Pulse Frequency Sync Period tSP - 20.8 - µs Sync High tSH - 16*tBCP - µs Sync Low tSL - 240*tBCP - µs Setup Time SDATA_OUT, SDATA_IN, SYNC to BIT_CLK tSU 15 - - ns Hold Time SDATA_OUT, SDATA_IN, SYNC to BIT_CLK tHD 5 - - ns tCRL 1.0 - - µs RESET Inactive to BIT_CLK Start Up (for Cold Reset) tR2BC 2*tBCP - - ns SYNC Acitve High Pulse Width (for Warm Reset) tSRH - 1.3 - µs SYNC Inactive Low to BIT_CLK Start Up (for Warm Reset) tS2BC 2*tBCP - - ns End of Slot 2 to BIT_CLK, SDATA_IN Low (for AC Link Powerdown) tPDWN - - 1 µs tSU2RST 15 - - ns - - 25 ns RESET Low Pulse Width (for Cold Reset) SDATA_OUT to RESET High (for ATE Test Mode) RESET High to Hi-Z (for ATE Test Mode) tHZ Digital Filter Characteristics PARAMETER Passband Transition Band Passband Ripple (0 - 0.4Fs) Stopband Stopband Rejection Group Delay Note 3 Note 3 (Note 3) MIN TYP MAX UNIT 0 - 0.4xFs Hz 0.4xFs - 0.6xFs Hz - - ±0.03 dB 0.6xFs - - Hz 76 - - dB - - 18/Fs s 14 HMP9701 Analog-to-Digital Converters (Notes 2, 4) PARAMETER MIN TYP MAX UNIT - 16 - Bits Line Inputs - 75 - dB Mic Inputs (Mic Gain = 0dB) - 75 - dB Line - 0.02 - % Mic - 0.02 - % Line/Line - 80 - dB Note 3 Line/Mic - 80 - dB Note 3 Line/Aux - 80 - dB Note 3 Line/Video - 80 - dB Note 3 Gain Error (Full Scale) - ±5 - % Inter-Channel Gain Mismatch - - ±0.5 dB Offset Error - 20 200 LSB - 100 - ppm/oC MIN TYP MAX UNIT 16 17 - Bits Signal-to-Noise - 80 - dB Total Harmonic Distortion - 0.1 - % Interchannel Isolation (Line Out) - 75 - dB Interchannel Gain Mismatch - ±0.35 - dB Gain Error - - ±5 % Note 7 ppm/oC Note 3 Note 3 Resolution COMMENT Note 3 Signal-to-Noise Total Harmonic Distortion Interchannel Isolation (0dB Gain) Gain Drift Digital-to-Analog Converters Note 3 (Notes 2, 5) PARAMETER Resolution COMMENT Note 3 Note 3 Gain Drift - 100 Total Out of Band Energy (28.8kHz - 100kHz) - - -50 dB 80 - - dB Audible Out of Band Energy (20kHz - 28.8kHz) - - -65 dB Note 3 Deviation from Linear Phase - - 1 Degree Note 3 Mute Attenuation (0dB) Programmable Attenuation/Gain (Note 2) PARAMETER MIN TYP MAX UNIT Record Gain (0dB to 22.5dB) - 22.5 - dB Record Gain Step Size - 1.5 ± 0.2 - dB PCM Output Volume Span (+12dB to -34.5dB) - 46.5 - dB PCM Output Volume Span Step Size - 1.5 ± 0.2 - dB 15 HMP9701 Programmable Attenuation/Gain (Note 2) (Continued) PARAMETER MIN TYP MAX UNIT Master Volume Span for LINE_OUT, MONO_OUT (0dB to -46.5dB) - 46.5 - dB Master Volume Step Size - 1.5 ± 0.2 - dB Mixer Input Gain Span for LINE_IN, CD, VIDEO, AUX, PHONE, MIC (+12dB to -34.5dB) - 46.5 - dB Mixer Input Gain Step SIze - 1.5 ± 0.2 - dB PC_BEEP Attenuation Span (0dB to 45dB) - 45 - dB PC_BEEP Attenuation Step Size - 3 ± 0.2 - dB Analog Inputs (Note 2) PARAMETER MIN TYP MAX UNIT COMMENT MIC Inputs with 0dB Gain - 2.83 ± 10% - VPP MIC Inputs with 0dB Gain - 1.0 - VRMS MIC Inputs with 20dB Gain Enabled - 0.283 ± 10% - VPP MIC Inputs with 20dB Gain Enabled - 0.1 - VRMS LINE_IN, CD, VIDEO, AUX, and PHONE Inputs - 2.83 ± 10% - VPP LINE_IN, CD, VIDEO, AUX, and PHONE Inputs - 1.0 - VRMS 10 - - kΩ Note 3 - 15 - pF Note 3 Full Scale Input Voltages Input Impedance Input Capacitance Analog Outputs (Note 2) PARAMETER MIN TYP MAX UNIT LINE_OUT and MONO_OUT - 2.83 ± 10% - VPP LINE_OUT and MONO_OUT - 1.0 - VRMS 10 - - kΩ External Load Capacitance - - 50 pF VREF Output Voltage - 2.25 ± 10% - V VREF Drive Current - 5 - mA VREF Output Impedance - 4 - kΩ COMMENT Full Scale Output Voltages External Load Impedance Note 3 Note 3 NOTES: 2. TA = 25oC, VAA = VDD = 5.0V 3. Guaranteed but not production tested. 4. Based on 1kHz, Full scale analog tone input; Measurement Bandwidth is 20 to 20kHz, A-weighted. 5. DAC’s driven with 1kHz, Full Scale PCM Sine Wave, output measurement bandwidth is 20 to 20kHz, A-weighted. 6. Test performed with CL = 40pF, IOL = 4mA, IOH = -4mA. Input reference level is 1.5V for all inputs. VIH = 3.0V, VIL = 0V. 7. This is measured relative to a nominal output level. 16 HMP9701 ADC/DAC Frequency Responses 0.02 0 MAGNITUDE (dB) -0.02 -0.04 -0.06 -0.08 -0.10 -0.12 -0.14 -0.16 FREQUENCY (xFS) FREQUENCY (xFS) 0.42 0.40 0.37 0.34 0.31 0.28 0.25 0.23 0.94 0.88 0.82 0.75 0.63 0.57 0.69 0.80 0.73 0.66 0.40 0.40 0.34 0.27 0.20 0.14 -0.15 0.60 -0.10 0.53 -0.05 10 0 -10 -20 -30 -40 -50 -60 -70 -80 -90 -100 -110 -120 0.46 MAGNITUDE (dB) 0 0.07 0.50 FIGURE 13. DIGITAL-TO-ANALOG FREQUENCY RESPONSE (FULL SCALE INPUTS, 0dB) 0.05 0.00 0.44 FREQUENCY (xFS) FIGURE 12. ANALOG-TO-DIGITAL TRANSITION BAND FREQUENCY RESPONSE (FULL SCALE LINE INPUTS, 0dB) MAGNITUDE (dB) 0.38 0.32 0.25 0.19 0.13 0.07 10 0 -10 -20 -30 -40 -50 -60 -70 -80 -90 -100 -110 -120 0.00 MAGNITUDE (dB) 0.78 0.75 0.72 0.69 0.66 0.63 0.60 0.57 0.54 0.51 0.48 0.45 0.42 0.40 MAGNITUDE (dB) FIGURE 11. ANALOG-TO-DIGITAL PASSBAND FREQUENCY RESPONSE (FULL SCALE LINE INPUTS, 0dB) FREQUENCY (xFS) -0.20 0.20 FREQUENCY (xFS) FIGURE 10. ANALOG-TO-DIGITAL FREQUENCY RESPONSE (FULL SCALE LINE INPUTS, 0dB) 10 0 -10 -20 -30 -40 -50 -60 -70 -80 -90 -100 -110 -120 0.17 0.14 0.11 0.08 0.06 0.03 0.00 -0.2 1.00 0.94 0.88 0.81 0.75 0.69 0.63 0.56 0.50 0.44 0.38 0.31 0.25 0.19 0.13 -0.18 0.06 10 0 -10 -20 -30 -40 -50 -60 -70 -80 -90 -100 -110 -120 0.00 MAGNITUDE (dB) Typical Performance Curves FREQUENCY (xFS) FIGURE 14. DIGITAL-TO-ANALOG PASSBAND FREQUENCY RESPONSE (FULL SCALE INPUTS, 0dB) FIGURE 15. DIGITAL-TO-ANALOG TRANSITION BAND FREQUENCY RESPONSE (FULL SCALE INPUTS, 0dB) 17 HMP9701 AC Timing Waveforms RESET tR2BC tCRL SDATA_OUT RESET tHZ tSU2RST Hi-Z BIT_CLK, SDATA_IN BIT_CLK FIGURE 16. COLD RESET TIMING FIGURE 17. ATE TEST MODE tS2BC tSRH SYNC trf trf BIT_CLK, SDATA_IN 2.0V 0.8V BIT_CLK FIGURE 18. WARM RESET TIMING FIGURE 19. RISE AND FALL TIMES tPDWN tBCH tBCL SLOT 1 SLOT 2 WRITE TO 26h DATA PR4 = 1 BIT_CLK BIT_CLK tSH tSL SDATA_IN SLOT 12 TAG SDATA_OUT SLOT 12 TAG SYNC NOTE: BCLK not to scale. FIGURE 20. CLOCKS FIGURE 21. POWERDOWN tSU tHD BIT_CLK SDATA_IN SDATA_OUT SYNC FIGURE 22. DIGITAL SETUP AND HOLD 18 DON’T CARE Typical Application Schematic Diagram AC_LINK INTERFACE SD_OUT 1 BIT_CLK 2 SD_IN 3 TO AC ‘97 COMPLIANT SYNC 4 CONTROLLER/INTERFACE IC RESET 5 6 1.0µF OPTIONAL EXTERNAL CLOCK DRIVE CIRCUIT +5V DIGITAL +5V DIGITAL POWER SUPPLY EXTERNAL CMOS CLOCK SOURCE PC_BEEP 0.1µF + 0.1µF 1µF 24.5760MHz (PARALLEL) 0.1µF DD GND 18pF (NP0) 3 NC XTL_IN 2 1 V 1µF XTL_OUT + 4 1.0µF PHONE 1.0µF AUX LEFT 0.1µF 1.0µF CD LEFT 1.0µF CD GROUND 1.0µF CD RIGHT RESET SYNC VDD SDATA_IN GND BIT_CLK SDATA_OUT GND XTL_OUT XTL_IN VDD PC_BEEP PHONE AUX_L AUX_R VIDEO_L VIDEO_R CD_L CD_GND CD_R MIC1 MIC2 LINE_IN_L LINE_IN_R HMP9701 VAA AGND VREF VREF OUT AFILT1 AFILT2 AFILT3 NC CAP1 CAP2 LINE_OUT_L LINE_OUT_R 19 1.0µF VIDEO RIGHT 13 14 15 16 17 18 19 20 21 22 23 24 1.0µF MIC1 48 47 46 45 44 43 42 41 40 39 38 37 +5V ANALOG POWER SUPPLY 1.0µF CERAMIC 1.0µF MONO OUT + 1µF TO 10µF 0.1µF 25 26 27 28 29 30 31 32 33 34 35 36 1.0µF NC NC NC NC NC NC AGND NC CAP4 CAP3 VAA MONO_OUT HMP9701 1.0µF VIDEO LEFT 18pF (NP0) 12 11 10 9 8 7 6 5 4 3 2 1 1.0µF AUX RIGHT MIC2 1.0µF 1.0µF LINE_IN LEFT RIGHT LINE OUT 0.1µF 1.0µF 1.0µF CERAMIC 1.0µF LEFT LINE OUT LINE_IN RIGHT REFERNECE VOLTAGE OUT 0.1µF DIGITAL GND ANALOG GND + 1µF 1nF (NP0) 0.1µF 1nF (NP0) 1nF (NP0) + 1µF TO 10µF HMP9701 Typical Application Schematic Notes 1. A note about the capacitors used for coupling externally input audio or for outputting audio externally: The capacitance value and the associated circuit impedances will determine the lower frequency cutoff of the audio signal. The designer must determine what the circuit impedances are and select the coupling capacitor value accordingly. Ceramic types (over electrolytic) are highly recommended. 2. The crystal should be a parallel resonant type, frequency is 24.756MHz, initial room temperature tolerance of 50ppm, and a load cap of about 16-20pF. 3. It is recommended to decouple each analog and digital power supply pin with a combination of a small value and large value bypass capacitor. The large value capacitor should be either a tantalum or aluminum electrolytic type. 4. Locate all decoupling capacitors CLOSE to their associated pins on the codec. 5. Please note that all analog inputs and outputs of the HMP9701 codec are at the DC level of VREF and require AC coupling to zero biased signal sources and destinations. 6. Keep all analog input and output traces as short as possible, prevent any coupling from adjacent digital lines. 7. For optimum performance, it is preferred to layout separate analog and digital ground planes, joining them together at a point directly adjacent to the codec (i.e., directly under it). This case is true even if the designer is using a single supply for the codec; the single supply would have adequate decoupling/isolation between the digital and analog sections. 8. When using an external clock source, please feed that signal into XTL_OUT (not XTL_IN) and leave XTL_IN unconnected. Also, do not use any capacitors between XTL_IN and GND or XTL_OUT and GND in that mode. 20