Part Number Hot Search : 
0V8X1 ZD43V0 C3508 1N476 HR1F3P MHO14TAD SM6JZ47A NM93C56
Product Description
Full Text Search
 

To Download STW5094A Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1/51 december 2005 . STW5094A 18-bit low power asynchronous stereo audio dac with integrated power amp lifiers and voice codec rev. 2 features complete stereo audio digital to analog converters and filters ? 18-bit, 8 khz to 48 khz dac with sample-rate conversion ? linear phase analog&digital filters ?16 ? load stereo headphones drivers, 8 ? load mono loudspeaker driver for group listening stereo audio dac features ? asynchronous sampling dac: does not require oversampled clock and information on the audio data sampling frequency. jitter tolerant ? multibit ? modulator with data weighted averaging dac ? 92 db dynamic range, 0.01% thd over 16 ? load performance ? support any sampling frequency in the range 8 khz to 48 khz ? dsp functions for bass-treble-volume controls, deemphasis filter and dynamic compression ? tones from tone generator can be injected in the audio paths stereo headphones and loudspeaker/earpiece power amplifiers features and stereo input for fm radio features: ? 20 khz bandwidth stereo headphones outputs. driving capability: 40 mw (typ. 0.1% t.h.d) over 16 ? with 40 db range programmable gain ? balanced earpiece ? loudspeaker output. driving capability: 300 mw (typ. 0.1% t.h.d) over 8 ? with 30db range programmable gain ? analog stereo input for fm radio with 38 db range programmable gain complete codec and filter system ? 14-bit linear or 8-bit companded adc and dac ? transmit and receive digital band-pass filters ? active antialias and smoothing filters ?8 ? load earpiece/loudspeaker driver, 16 ? load auxiliary driver voice codec features ? support 8 khz or 16 khz sampling rate ? one microphone biasing output ? remote control function ? three switchable microphone amplifier inputs. 42.5 db range programmable gain ? transient supression during power up and power down ? internal programmable sidetone ? internal ring, tone and dtmf generator ? programmable pwm buzzer driver general features ? single 2.7 v to 3.3 v supply ? extended temperature range operation 1 -40 c to 85 c ?1 w standby power (typ. at 2.7v). ? 16 mw operating power in audio listening mode (typ. at 2.7 v). 1.functionality guaranteed in the range -40c to +85c; timing and electrical spec. are guaranteed in the range -30c to +85c. tfbga 6x6 (36 pins) order codes: STW5094Ad/lf, STW5094Adt/lf
STW5094A 2/51 ? 11 mw operating power in voice codec mode (typ. at 2.7 v). ? 1.8 v to 3.3 v cmos compatible digital interfaces ? programmable pcm interface ?i 2 c compatible control interface ? programmable master/slave serial audio data input interface (i 2 s and other formats) ? frequency programmable clock output applications cdma,gsm,dcs1800,pcs1900,jdc digital cellular telephones with mp3 and fm radio stereo listening functions portable devices with a stereo digital audio source and fm radio listening function general description STW5094A is a low power asynchronous stereo audio dac device with headphones amplifiers for high quality mp3 and fm radio listening. the STW5094A includes also an high performance low power combined pcm codec ? filter tailored to implement the audio front-end functions required by low voltage low power consumption digital cel- lular terminals with added mp3 and fm radio lis- tening. the STW5094A registers are accessed through an i 2 c-bus compatible interface. the STW5094A asynchronous stereo audio dac section is suited for mp3, or any other audio stereo source, listening. it supports any rate from 8 khz to 48 khz, can tolerate jitter on audio data and does not requires an oversampled clock. the au- dio data serial interface can be master or slave, it is i 2 s compatible and supports other standard se- rial interface formats. the internal d to a convert- ers work with 18 bit input resolution. the stereo headphones drivers can also be used for fm radio listening via an auxiliary stereo ana- log input. a loudspeaker driver can also be used for monophonic group listening. the STW5094A voice codec section can be con- figured either as a 14-bit linear or as an 8-bit com- panded pcm coder. the frame voice codec sample rate can be either the standard 8 khz val- ue or the extended 16 khz one. in addition to the stereo audio dac and codec ? fil- ter functions, STW5094A includes a tone ? ring ? dtmf generator that can be used both in audio listening mode and in voice codec mode, a sidetone generation, a buzzer driver output and a remote control function tailored to handle an ex- ternal on-hook off-hook button. STW5094A voice codec fulfills and exceeds d3 ? d4 and ccitt recommendations and etsi requirements for dig- ital handset terminals. the stereo audio dac part fulfills and exceeds the requirements for mp3 quality and fm radio quality listening. main appli- cations include digital mobile phones with added low-power high-quality mp3 and ? or fm radio lis- tening features, or any battery powered equipment that requires stereo audio dac with headphones drivers. order codes part number description STW5094Ad/lf tfbga 36 tray STW5094Adt/lf tfbga 36 tape and reel
3/51 STW5094A table of content pin connections (top view) ................................................................................... 4 functional block diagram .................................................................................... 5 signal description ................................................................................................... 6 functional description ......................................................................................... 8 programmable registers ................................................................................... 15 timing diagrams ....................................................................................................... 25 absolute maximum ratings ................................................................................. 33 operative supply voltages ................................................................................ 33 timing specifications ............................................................................................ 33 amck timing 33 mclk and auxclk timing 34 audio interface signals timing 34 pcm interface timing 34 i2c bus control port timing 35 electrical characteristics ............................................................................... 36 digital interfaces ( figure 16 ) 36 analog interfaces 36 analog input/output operative ranges ....................................................... 37 microphone input levels - absolute levels at mic1, mic2, mic3 37 fm input levels - absolute levels at fml, fmr 37 power output levels - absolute levels at lsp-lsn (differentially measured) 37 tones levels 37 voice codec characteristics ............................................................................ 38 voice codec amplitude response 38 voice codec amplitude response (continued) 39 voice codec envelope delay distortion with frequency 40 voice codec noise 40 voice codec crosstalk 40 voice codec distortion 41 voice codec distortion 42 stereo audio dac and fm characteristics 43 power dissipation 44 tfbga package outline ......................................................................................... 48 revision history ...................................................................................................... 50
STW5094A 4/51 pin connections (top view) 23456 1 a b c d e f mic2p remout mclk dr dx mic2n mic1n mbias vcc fs gnd mic1p vcca cap2 remin auxclk lrck mic3 fmr gndcm vccio sdi sck gnda hpl gndp vcmhp amck bz fml lsp vccp hpr sda scl lsn tfbga 6x6x1.2 (36 pin)
5/51 STW5094A functional block diagram note: this diagram shows the functionality of the device and of some register bits but it does not necessarily reflect the exact hardware implementation audio i/f vccio voice mode fm mode fm mode amck sck sdi lrck remin remout/ dr dx fs mclk sda scl hpr fmr hpl lsn lsp fml mic1p mic1n mic2p mic2n mic3 bz mbias cap2 rte se on power reset right driver fmr preamp left driver bandgap registers diff driver fml preamp control logic interpolation filter rx channel filter pcm i/f remocon i 2 c i/f tx channel filter adc tone att. tone generator anti alias filter buzzer mic. bias voice preamp 0/20db gain. de gndp gndcm vcca gnda vccp vcc gnd sidetone gain analog filter dac aux ck auxclk gen suppression transient filter suppression transient filter mut suppression transient filter +18:-20 db step 2 +18:-20 db step 2 0:-40 db 0:-40 db +6:-24 db 0:22.5 db 0:-27 db -12:-27 db digital pll vcm driver vcmhp vcm generator deemph.,gain, dyn. compress., tone controls analog filter dac deemph., gain, dyn. compress., tone controls phr pls phl mut fms fms mfm mfm master mode / audio mode audio mode voice mode ? modulator ? modulator se rte si interpolation filter ock ck gen
STW5094A 6/51 signal description type definitions : ai - analog input, ao - analog output, di - digital input, do - digital output, dot - digital output tristate, diod - digital input output open drain, diot - digital input output tristate, p - power supply or ground. pin n name type description b1 mic1p ai positive high impedance input to transmit preamplifier for microphone 1 connection. b2 mic1n ai negative high impedance input to transmit preamplifier for microphone 1 connection. a2 mic2p ai positive high impedance input to transmit preamplifier for microphone 2 connection. a1 mic2n ai negative high impedance input to transmit preamplifier for microphone 2 connection. c1 mic3 ai high impedance single ended input to transmit preamplifier for microphone 3 connection. mic3 can be used as monophonic input for the fm path in place of fml and fmr b3 mbias ao microphone biasing switch. e1 fml ai auxiliary analog audio left channel input. d2 fmr ai auxiliary analog audio right channel input. f2,f1 lsp, lsn ao receive analog amplifier complementary outputs. this differential output can drive 50nf (with series resistor) or directly an earpiece transductor of 8 ? . the signal at this output can be: the sum of the receive speech signal from dr, fml (or mic3) input, the internal tone generator and the sidetone signal, or the sum of the audio left channel, fml (or mic3) input and the internal tone generator, or can come from fml (or mic3) input. e2 hpl ao audio headphone amplifier left channel output. this output can drive 50nf (with series resistor) or directly an earpiece transductor of 16 ? . the signal at this output can be the sum of audio left channel, fml (or mic3) input and internal tone generator, or the sum of receive speech signal from dr, fml (or mic3) input, internal tone generator, sidetone signal, or can come from fml (or mic3) input. f4 hpr ao audio headphone amplifier right channel output. this output can drive 50nf (with series resistor) or directly an earpiece transductor of 16 ? . the signal at this output can be the sum of audio right channel, fmr (or mic3) input and internal tone generator, or the sum of receive speech signal from dr, fmr (or mic3) input, internal tone generator, sidetone signal, or can come from fmr (or mic3) input. a3 remout/ock do remocon function digital output / oversampled clock out. c4 remin di remocon function input. a high level at this pin is detected as a non pressed key, while a low level is detected as a pressed key. e6 bz ao pulse width modulated buzzer driver output. f6 scl di i2c-bus interface serial clock input. scl is asynchronous with the other system clocks. f5 sda diod i2c-bus interface serial data input-output. c6 lrck diot left ? right clock or frame sync for audio interface input in slave mode, output in master mode. d6 sck diot audio interface serial clock input in slave mode, output in master mode. d5 sdi di audio interface data input. e5 amck di master clock input for audio mode. can also be used as master clock in tone only and fm modes.
7/51 STW5094A a6 dx dot transmit data output: data is shifted out on this pin during the assigned transmit time slots. elsewhere dx output is in the high impedance state. in delayed and non-delayed normal frame sync modes, voice data byte is shifted out from tristate output dx at the mclk frequency on the rising edge of mclk, while in non-delayed reverse frame sync mode voice data is shifted out on the falling edge of mclk. a5 dr di receive data input: data is shifted in during the assigned received time slots in delayed and non-delayed normal frame sync modes voice data byte is shifted in at the mclk frequency on the falling edges of mclk, while in non-delayed reverse frame sync mode voice data byte is shifted in on the rising edge of mclk. b5 fs di frame sync input for voice mode: this signal is a 8 ? 16khz clock which defines the start of the transmit and receive frames. any of three formats may be used for this signal: non delayed normal mode, delayed mode, and non delayed reverse mode. a4 mclk di master clock input for voice mode. can also be used as master clock in tone only and fm modes. the allowed clock frequencies are 512 khz, 1.536 mhz, 2.048 mhz or 2.56 mhz. mclk is the voice data clock. c5 auxclk di auxiliary clock input. can be used as master clock in tone only and fm modes. allowed clock frequencies are 512khz, 1.536mhz, 2.048mhz or 2.56mhz. e4 vcmhp ao vcm driver output. can be used as common mode node for hpl and hpr outputs. c3 cap2 ai a capacitor must be connected between this node and ground. c2 vcca p power supply input for the analog section. vcc and vcca can be directly connected together for low cost applications. d1 gnda p analog ground: all analog signals are referenced to this pin. gnd and gnda can be connected together for low cost applications. f3 vccp p power supply input for the output drivers. e3 gndp p power ground. output drivers are referenced to this pin. gndp and gnda must be connected together. d3 gndcm p analog ground connection. gndcm can be connected to gnda. b4 vcc p power supply input for the digital section. b6 gnd p ground for the digital section d4 vccio p power supply input for the digital i ? o pins. pin n name type description
STW5094A 8/51 functional description 1 device modes STW5094A can work in 4 different modes, selected by bits md in control register 21 ( cr21 ). depending on the mode different data interfaces, clock inputs, and internal blocks are selected. a built-in power con- sumption management function keeps in power down the blocks that are not needed by the selected op- erating mode. in all the modes the output drivers can be activated in different combinations with bits pls , phl , phr in cr6 (in case of stereo input and lsp ? n driver selected the left channel is sent to this driver, while in case of voice input and hpl + hpr drivers selected the same signal is sent to both driv- ers). 1.1 audio mode in audio mode the path from the audio interface (au i ? f) to the output drivers is active to allow the stereo audio dac function. the au i ? f is active while the pcm i ? f is inactive. the master clock of the device is amck . the amck frequency is fixed, and independent from the audio samples data rate ( lrck frequency). amck source can be any fixed system clock whose nominal fre- quency value lies in the range 9.5mhz to 28mhz (the full range is covered in three sub-ranges, selected by bits amck_div in cr18 ). the rate of the audio data ( lrck frequency) can be any value in the range 8khz to 48khz (non standard values are allowed) and does not need to be specified. since the amck clock is used directly in the d to a converters section, its jitter and spectral properties must be adequate to the desired audio quality. in audio mode there are additional functions for audio signal processing: ? a digital volume control with 54 db range is implemented (bits vol in cr20 ). if the digital volume is used in addition with the analog gain regulation a 94db range volume is obtained. ? bass controls can be regulated in the -12.5db to +12.5db range in 2.5 db step (bits bass in cr19 ). ? treble controls can be regulated in the -6db to +6db range in 2 db step (bits treble in cr19 ). ? the 50 s ? 15 s de-emphasis filter is activated instead of treble controls (bits treble in cr19 ). note: the time constants are referred to the 44.1khz fs. ? a dynamic range compressor is implemented (bit cmp in cr20 ). note:the de-emphasis filter and the bass/treble controls freq. responses scale with the input sampling rate. the tone ? ring ? dtmf generator can be activated if needed. in audio mode the frequency values of the tones is a function of the amck frequency value as explained in table 1 . 1.2 voice mode in voice mode the tx path from microphone input to dx and the rx path from dr to the output drivers are active to allow the pcm codec function. the pcm i ? f is active while the au i ? f is inactive. the master clock of the device is mclk , the frequency of the clock can be selected with bits f in cr0 . the tone ? ring ? dtmf generator can be activated if needed. 1.3 tone only mode in tone only mode the path from the tone generator to the output drivers and to the buzzer is active to allow tones or ringer listening only. both au i ? f and pcm i ? f are inactive, as all the audio and voice converters functions. the master clock of the device can be selected to be auxclk , mclk or amck (bits cfm in cr21 ). 1.4 fm mode in fm mode the path from fml and fmr analog inputs to the output drivers is active to allow fm stereo radio listening. both au i ? f and pcm i ? f are inactive, as all the audio and voice converters functions. the master clock of the device can be selected to be auxclk , mclk or amck (bits cfm in cr21) . the tone ? ring ? dtmf generator is in power down.
9/51 STW5094A 2 device operation 2.1 power on initialization, software reset when power is first applied, the ?power on reset? circuitry initializes STW5094A and puts it into the power down state. all the registers are initialized as indicated in the control register description section. all the functions are disabled. the registers can also be initialized to the default state by writing bit srs (software reset) in cr21. 2.2 power up ? down control it is recommended that all programmable functions (excluding the gain controls, bass-treble controls and dynamic compression function) are set while the device is powered down. power state control can then be included in the last programming instruction (the power up bit pu is located in the last address register ( cr21 ) so that the multi-byte mode of the control interface can be easily used to program all the required functions before power up). when a power up command is given, all the circuits needed for the selected mode are activated (in voice mode the dx output will remain in the high impedance state until the second fs pulse after power up ar- rives). a built-in power consumption management function keeps in power down the blocks that are not needed by the selected operating mode. 2.3 power down state following a period of activity, power down state may be reentered by writing 0 in bit pu in cr21 . all the control registers remain in their current state and can be changed by i 2 c control interface. in addition to the power down instruction, the detection of absence of the current master clock (no transition detected) automatically puts the device in power down state without setting bit pu . if transitions on the master clock are detected the device is put again in power up. 2.4 voice transmit section this section is active in voice mode. voice transmit analog preamplifier gain is designed in two stages to enable gains up to 42.5 db. stage 1 provides a selectable 0 or 20 db gain via bit pg in cr4 . stage 2 is a programmable gain amplifier which provides from 0 to 22.5 db of additional gain in 1.5db step. it can be programmed with bits txa in cr4 . three microphone inputs are provided, two differential ( mic1p ? n, mic2p ? n ) and one single ended ( mic3 ). they may also be used connect an auxiliary audio circuit. the microphone input or transmit mute is selected with bits ms in cr4 . in the mute case, the analog transmit signal is grounded. a separate mbias output can be used to bias a microphone (bit mb in cr4 ). an active anti-alias filter then precedes the single bit ? analog to digital converter that is followed by an 8th order iir digital tx channel filter. the tx channel filter is band-pass if the fs frequency is 8khz and low-pass if the fs frequency is 16khz (bit vfs in cr0 ). a precision on chip voltage reference ensures accurate and highly stable transmission levels. any offset voltage arising in the analog blocks is cancelled by an internal autozero circuit. voice data is sent to the pcm i ? f to be serially sent to dx output. 2.5 voice receive section this section is active in voice mode. voice data coming from pcm i ? f dr pin is sent to the 8th order digital iir rx channel filter. the filter can be selected to be band-pass or low-pass, with bit hpb in cr5 , when fs frequency is 8khz, while it is always low-pass when fs frequency is 16khz. the filter is followed by a ? digital to analog converter and a 3rd order switched-capacitor reconstruction filter. the sidetone can be summed to the received signal (bit si in cr5 ) and its amplitude can be programmed with bits sa in cr5 . 2.6 stereo audio dac section this section is active in audio mode. the left and right audio samples coming from the audio interface are interpolated with an fir filter and synchronized to the amck clock in order to feed the oversampled multi-bit ? modulator, the digital to analog converter is followed by a 3 rd order switched-capacitor recon- struction filter.
STW5094A 10/51 2.7 fm input path the device is provided with stereo and mono single ended analog inputs, designed to amplify analog sig- nals from an fm decoder but they can be considered as generic analog inputs. the stereo analog inputs are fml and fmr pins, or alternatively mic3 pin for mono input (sent to left and right channels). the se- lection between fml - fmr or mic3 is done with bit mfm in cr20 . the analog inputs are connected to a programmable gain stage that can amplify the signals in the range -20db to +18db in 2 db steps. the gain control is independent for left and right channel and is selected with bits fmla in cr10 (left) and bits fmra in cr11 (right). there are 2 ways to connect the fm inputs to the output drivers. the first is to select the fm mode (bits md in cr21 ). the second is to activate audio or voice or tone only modes and to set to 1 bit fms in cr20 . in the last case the signal coming from fm inputs will be summed to the audio or voice or tones signals respectively. 2.8 output drivers section there are 3 analog output drivers. the lsp ? n differential driver delivers 300mw typical power with 0.1% t.h.d. (250mw minimum undistorted) on a 8 ? earpiece ? loudspeaker (piezoceramic loads up to 50nf can also be driven with a series resistor), it has a 30db range gain control (bits lsa in cr7 ). the 2 single ended drivers ( hpl and hpr ) deliver 40mw typical power with 0.1% t.h.d. (30mw minimum un- distorted) on 16 ? stereo headphones, they have a 40db range gain control ( cr8 for hpl and cr9 for hpr ). it is possible to put the drivers in power-down and in power-up by programming bits pls , phl , phr in cr6 . these settings are not dependent from the selected operative mode. the common mode voltage of all the drivers is selected with bits vcl in cr18 in the range 1.2v to 1.65v with 150mv steps. this feature is useful to set the common mode voltage to vccp/2 and therefore to ex- tend the output range and increase the output power. if hpl and hpr are enabled together in voice mode or tone only mode the same signal is sent to both drivers. the active drivers can be muted (keeping them in power-up state) using bit mut in cr6 . at pow- er-up or after a change in pls or phl or phr bits the outputs are muted for 10 ms to avoid unwanted noise. the transient suppression filter is used to avoid clicks when the gain value is changed. 2.9 common mode driver the common mode voltage driver ( vcmhp pin) simplifies the application for a stereo headset connection saving two decoupling capacitors in series with hpl and hpr. the loads of the single ended drivers are connected on one side to hpl and hpr respectively, and on the other to vcmhp , that has the same com- mon mode voltage. the driver is enabled with bit vce in cr18 . the output voltage of vcmhp is selected with bits vcl in cr18 in the range 1.2v to 1.65v with 150mv steps. 2.10 tone generator the tone generator can be activated (writing cr12 ) in all the STW5094A operating modes except fm mode. in voice and audio modes the tones are summed to the signal. it is possible to generate 1 or 2 summed waveforms (either sinusoidal or square wave), their frequencies can be set in cr13 for the first one (f1) and in cr14 for the second one (f2) accordingly to the values listed in table 1 if the active master clock is mclk or auxclk . if the active master clock is amck the frequency values specified in table 1 must be multiplied by a factor k famck that depends on the amck frequency value. the amplitude of the generated waveform can be regulated in cr12 over a 33db range. when both f1 and f2 are selected the amplitude of f1 and f2 are lowered by 5db and 7db respectively with respect to the amplitude of a single waveform. in this way the amplitude of the summed waveforms does not overload and there is a 2db dif- ference between f1 and f2 amplitude as required for dtmf generation. the tone generator output can be sent to the voice transmit section (in voice mode), to the power amplifiers, possibly mixed with audio or voice, (in all the modes except fm mode) and to the buzzer output bz (in all the modes except fm mode).
11/51 STW5094A 2.11 buzzer output the output bz is intended to drive a buzzer, via an external bjt, with a squarewave pulse width modu- lated (pwm) signal. the frequency of the signal is stored in cr13 (see tone generator section and table 1 for frequency values). for some applications it is also possible to multiply this pwm signal with a squarewave signal having a frequency stored in cr14 . the duty cycle of the buzzer output can be varied in cr15 in order to change the buzzer volume. maximum load for bz is 5k ? and 50pf 2.12 voice data interface (pcm i ? f) the pcm i ? f is used to exchange the voice data in both tx and rx direction, it can be programmed for linear format data or companded a-law or -law format (see fig.1, 2 and 3). frame sync input fs determines the beginning of frame. it may have any duration from a single cycle of mclk to a squarewave. three different relationships may be established between the frame sync input and the first time slot of the frame by setting bits dm in cr1 . in non delayed normal and reverse data mode (long frame timing) the first time slot starts at the rising edge of fs. in delayed data mode (short frame sync timing) fs input must be high for at least a half cycle of mclk before the frame start. when linear code is selected (bit cm =0 in cr0 ) the msb is transmitted and received first, the word length is 16 bit. when companded code is selected (bit cm =1 in cr0 ) a time slot assignment may be used in all timing modes (bit ts in cr1 ), that allows connection to one of the two b1 and b2 voice data channels. two data formats are available: in format 1, time slot b1 corresponds to the 8 mclk cycles that immedi- ately follow the rising edge of fs , while time slot b2 corresponds to the 8 mclk cycles that immediately follow time slot b1. in format 2, time slot b1 is identical to format 1 while time slot b2 appears two bit slots after time slot b1. this two bits space is left available for insertion of the d channel data. data format is selected by bit ff in cr0 . bit en in cr1 enables or disables data transfer on dx and dr . outside the selected time slot dx is in the high impedance condition. during the selected time slot the dx output and the dr input are synchronized as follow: -if delayed or non-delayed modes are selected the transmit voice data is sent to dx output on the rising edges of mclk and receive voice data is read at dr input on the falling edges of mclk . -if non-delayed reverse mode is selected the transmit voice data register is sent to dx output on the falling edges of mclk and receive voice data is read at dr input on the rising edges of mclk. when 16khz frame sync frequency is selected (bit vfs in cr0 ) the rx and tx filters are both low-pass and their cutoff frequencies are doubled. it is possible to access the b channel data when companded a-law or -law formats are used (bits mx and mr in cr1 ). a byte written into cr3a will be sent to dx output in place of the transmit channel pcm data. a byte written in cr2a will be sent to the receive path. the current byte received on dr input can be read in cr2a . 2.13 audio data interface (au i ? f) the au i ? f is used to receive the stereo audio data. the pins related to the au i ? f are: the frame syn- chronism or left/right indicator lrck , the serial bit clock sck , and the serial data input sdi . lrck and sck can be input or output depending if the au i ? f is configured in slave or master mode. the interface can be configured in 5 different modes programming bits spim , msm and dspm in cr17 . in each mode different parameters (word length, signal polarity etc.) can be set writing cr16. the msm bit selects if au i ? f is master or slave. when msm =0 the au i ? f is slave: the serial bit clock sck and the frame sync lrck are input to the device. when msm =1 the au i ? f is master: sck and lrck are generated inside the device. the frequency of lrck is programmed in cr2b and cr3b while its shape and the frequency of sck change automatically with the selected mode (see paragraph below). master mode is not available when the au i ? f is configured in spi-mode ( spim =1) regardless of the value of msm . the 5 possible mode modes are: i 2 s-mode slave ( spim =0, msm =0 and dspm =0 ) in this mode the au i ? f is i 2 s compatible (see fig. 5 and 10) and the bit clock sck and the left/right indicator lrck signals are input to the device. sck must have 16 periods per channel in case of 16bit data word and 32 periods per channel in case of 18bit to 24bit data word. sck can be either a continuous clock or a sequence of bursts.
STW5094A 12/51 i 2 s-mode master ( spim =0, msm =1 and dspm =0 ) this mode is functionally equivalent to i 2 s-mode slave (see fig. 7 and 10) but the bit clock sck and the left/right indicator lrck signals are generated by the device. sck is generated with 16 periods per channel in case of 16bit data word and 32 periods per chan- nel in case of 18bit to 24bit data word dsp-mode slave ( spim =0, msm =0 and dspm =1 ) in this mode the au i ? f starting from a frame sync pulse on lrck receives the left and right data one after the other (see fig. 6 and 11). sck is a free running bit clock: between 2 successive frame sync pulse there can be any number of sck periods from the minimum necessary to transfer all the data bits up to the max. frequency limit specified for sck . dsp- mode is suited to interface with a master multi-byte serial interface. dsp-mode master ( spim =0, msm =1 and dspm =1 ) this mode is functionally equivalent to dsp-mode slave but lrck and sck signals are generated by the device (see fig. 8 and 12). sck is generated with 32 periods per frame sync. in case of 16bit data word and 64 periods per frame sync. in case of 18bit to 24bit data word. dsp-mode master is suited to interface with a slave multi-byte serial interface. spi-mode ( spim =1 and dspm =0 ) in this mode left and right data are received with separate data burst. every burst is identified with a low level on lrck signal (see fig. 9 and 13). there is no timing difference between the left and right data burst: the two channels are identified by the fact that the first burst after audio mode power-up identifies the left channel data and the second one is the right channel data and then left and right data repeat one after the other. sck must have 16 periods per channel in case of 16bit data word and 32 periods per channel in case of 18bit to 24bit data word. spi-mode can only be slave: when spim =1 the values written on msm is disregarded while dspm must be set to 0. in some of the above listed modes not all the combinations of the bits in cr16 are available or meaningful: - in dsp-mode msb is always received first (bit ord =0), data word justification and lrck polarity have no meaning. - in spi-mode the data word must be always left-justified (bit dif =0) and non-delayed (bit for =1) and lrck polarity must be always set for left=0 ( inv =0). the audio data sample rate ( lrck frequency) can be any value in the range 8khz to 48khz . left channel data are always received first. the first 35 data frames after power up are discarded while the interpolation filters data memory is cleared. 2.14 lrck & sck generation in master mode setting msm =1 and spim =0 in cr17 enables the internal generation of the frame synchronism clock lrck and of the serial bit clock sck . these clocks are obtained by variable division from the amck system clock. given the amck frequency (f amck ), the desired sample rate frequency (f lrck ) is obtained by writing in cr2b the least significant byte and in cr3b the most significant byte of the16bit integer result calculated with the following formula: the precision of the obtained f lrck is always better than 1.7hz. the shape of lrck waveform and the number of sck periods for each lrck period is set automatically depending on the values of bit dspm in cr17 and of cr16 content (see fig. 7,8,10 and 12). since cr2b and cr3b are overlaid registers, in order to write the division factor n in cr2b and cr3b the master mode must be selected in advance by setting msm =1. note: lrck and sck are part of the au i ? f, but master mode generation can also be used as frame sync and master clock in voice mode by connecting them to fs and mclk (in this case a fixed clock on amck is needed). n = round(2 23 (f lrck ? f amck ))
13/51 STW5094A example: the master clock frequency is f amck =12mhz, the required sampling frequency is f l- rck =44.1khz, n value is: 30828 decimal corresponds to 786c hex so cr2b and cr3b must be loaded with 6c hex and 78 hex respectively, the frequency of lrck will then be: 2.15 ock output clock generation setting oce = 1 and spim =0 in cr17 enables the internal generation of the clock ock on the pin remout ? ock . the clock output can be used as master clock for a digital device that provides the au- dio data to STW5094A. this function is compatible with both master mode and slave mode of the au i ? f and can be used in normal mode and in dsp mode while it cannot be used in spi mode. it can be activated also in voice mode (provided the amck clock is available). because ock clock is obtained by variable division from the master clock amck, ock cannot have a frequency higher than the amck master clock frequency. when ock frequency is comprised between amck frequency and half the amck frequency ock is ob- tained removing pulses, as evenly spaced as possible, from amck and thus reducing the frequency to the programmed value. when ock frequency is lower than half amck frequency it is obtained by division on the rising edge of amck . ock polarity can be inverted setting roi =1 in cr17 . ock in master mode: when the au i ? f is used in master mode the ock frequency is 256 times the sampling frequency programmed in cr2b and cr3b using the formula described in section 2.14 ( f ock = 256 f lrck ). ock in slave mode: when the au i ? f is used in slave mode the ock frequency can be set to any value (lower than amck frequency) and it is not related to the incoming lrck frequency, then not limited to 256 oversampling. in this case to obtain the desired ock frequency the following formula can be used: where f ock is lower than f amck (this corresponds to the fact that n cannot be greater than 7fff hex). example: the master clock frequency is f amck =19.2mhz, the oversampling factor is 384 and the sam- pling rate is 44.1 khz, then the required ock frequency is f ock = 384 44.1 khz = 16934400 hz. the value of n is: 28901 decimal corresponds to 70e5 hex so cr2b and cr3b must be loaded with e5 hex and 70 hex respectively, the frequency of ock will then be the ock output clock function is alternative to the remocon function because both share the same output pin: setting oce = 1 will disable the remocon function on the remout ? ock but the remocon out- put status will still be available reading bit rdl in cr17 (see paragraph ii.18 for more details on remo- con function). since cr2b and cr3b are overlaid registers, in order to write the division factor n in cr2b and cr3b , the output clock function must be selected in advance by setting oce =1. n = round(2 23 (44100 ? 12000000)) = 30828 f lrck = (3082812000000 hz) ? 2 23 = 44099.8 hz. n = round(2 15 (f ock ? f amck )) n = round(2 15 (16934400 ? 19200000)) = 28901 f ock = (2890119200000 hz) ? 2 15 = 16934179.7 hz = 384 44099.4 hz
STW5094A 14/51 2.16 control interface (i 2 c i ? f) the i 2 c i ? f is used to program the device by writing and reading the control registers (see fig. 14 and 15). the interface is i 2 c bus compatible, being the STW5094A a slave device. sda is the bidirectional open-drain data pin and scl is the input clock pin. the device address is e2 hex. for writing and e3 hex. for reading. the interface has an internal address register that keeps the current address of the control register to be read or written. at each write access of the interface the address register is loaded with the data of the register address field. the value in the address register is increased after each data byte read or write. it is possible to access the interface in 2 modes: single-byte mode in which the address and data of a single register are specified, and multi-byte mode in which the address of the first register to be written or read is specified and all the following bytes exchanged are the data of successive address registers starting from the one specified (in multi-byte mode the internal address counter restart from register 0 after the last register 21). using the multi-byte mode it is possible to write or read all the registers with a single access to the device on the i 2 cbus. the control interface can be used both in power-up and power-down state. 2.17 master clock in fm mode and tone only modes in fm mode and in tone only mode the master clock of the device can be selected to be auxclk , mclk or amck writing bits cfm in cr21 . the auxiliary clock auxclk can be used when the audio mode clock amck and the voice mode clock mclk are not available. auxclk and mclk frequency selection is done with bits f in cr0 . 2.18 remocon function the remocon (remote control) function can be used to detect the status of an headset button. the remocon function is enabled by setting bit ren in cr17 . if enabled, this function is active also when the STW5094A is in power-down state. the remout/ock pin is the output pin for the remocon func- tion only if oce =0 in cr17 ( section 2.15 ). a high level at remin input is detected as a non pressed button, while a low level is detected as a pressed button. the "pressed button" information can be treated in 2 ways depending on bit rlm in cr17 : -if rlm = 0 (transparent mode) the information at remin is seen at remout/ock after a debounce time of 50ms maximum; -if rlm = 1 (latched mode) the information stored in bit rdl in cr17 is seen at remout/ock . rdl is set after a debounce time of 50ms maximum when a low level at remin is detected. rdl is reset with power on initialization and can also be reset writing 0 in bit rdl . the remout/ock output polarity can be inverted setting bit roi in cr17 : the pressed button information is presented at remout/ock output as a logic 1 if bit roi = 0. if roi = 1 the polarity is inverted.
15/51 STW5094A programmable registers control register cr0 functions (address: 0x00) (1): significant in companded mode only *: state at power on initialization control register cr1 functions (address: 0x01) (1) significant in companded mode only *: state at power on initialization x: reserved: write 0 76543210 function f(1:0) vfs cm ma ia ff b7 0 0 1 1 0 1 0 1 mclk or auxclk = 512 khz mclk or auxclk = 1.536 mhz mclk or auxclk = 2.048 mhz mclk or auxclk = 2.560 mhz * 0 1 voice data fs is 8 khz * voice data fs is 16 khz 0 1 linear code * companded code linear code companded code 0 0 1 1 0 1 0 1 2-complement * sign and magnitude 2-complement 1-complement -law: ccitt d3-d4 * -law: bare coding a-law including even bit inversion a-law: bare coding 0 1 b1 and b2 consecutive (1) * b1 and b2 separated (1) 0 1 8 bits time-slot (1) * 7 bits time-slot (1) 76543210 function dm(1:0) mr mx en ts dl 0 1 1 x 0 1 delayed data timing * non-delayed normal data timing non-delayed reverse data timing x 0 1 d r connected to rx path * cr2a connected to rx path (1) 0 1 tx path connected to d x * cr3a connected to d x (1) 0 1 pcm i/f disabled * pcm i/f enabled 0 1 b1 channel selected * b2 channel selected (1) 0 1 normal operation * digital loopback (data from dr is sent to dx with 1 frame delay)
STW5094A 16/51 control register cr2a functions (address: 0x02) (active when msm=0 and oce=0 in cr17) (1) significant in companded mode only. cr2a is available only if master mode and ock out in cr17 are not enabled (msm=0 and oc e=0). control register cr2b functions (address: 0x02) (active when msm=1 or oce=1 in cr17) (1) cr2b is available only if the master mode or oc k out in cr17 are enabled (msm=1 or oce=1, and spim=0). control registers cr3a functions (address: 0x03) (active when msm=0 and oce=0 in cr17) (1) significant in companded mode only. cr3a is available only if master mode and ock out in cr17 are not enabled (msm=0 and oc e=0). control registers cr3b functions (address: 0x03) (active when msm=1 or oce=1 in cr17) (1) cr3b is available only if the master mode or oc k out in cr17 are enabled (msm=1 or oce=1, and spim=0). control register cr4 functions (address: 0x04) *: state at power on initialization 76543210 function drd(7:0) msb lsb data sent to receive path or data received from dr input (1) 76543210 function divl(7:0) msb lsb least significant byte of the frequency division factor for lrck,sck and ock generation. (1) 76543210 function dxd(7:0) msb lsb dx data transmitted (1) 76543210 function divh(7:0) msb lsb most significant byte of the frequency division factor for lrck, sck and ock generation. (1) 76543210 function ms(1:0) mb pg txa(3:0) 0 0 1 1 0 1 0 1 transmit input muted * mic1 selected mic2 selected mic3 selected 0 1 mbias output disabled * mbias output enabled 0 1 20db preamplifier gain * 0db preamplifier gain 0 0 - 1 0 0 - 1 0 0 - 1 0 1 - 1 0 db transmit amplifier gain * 1.5 db transmit amplifier gain transmit amplifier in 1.5 db step 22.5 db transmit amplifier gain
17/51 STW5094A control register cr5 functions (address: 0x05) (1): valid only when voice data fs=8khz (vfs=0). when voice data fs=16khz (vfs=1) the high pass filter is always disabled. *: state at power on initialization x: reserved: write 0 control register cr6 functions (address: 0x06) *: state at power on initialization x: reserved: write 0 control register cr7 functions (address: 0x07) *: state at power on initialization x: reserved: write 0 76543210 function hpb si sa(3:0) xx 0 1 voice codec receive high pass filter enabled (1) * voice codec receive high pass filter disabled 0 1 voice codec internal sidetone disabled * voice codec internal sidetone enabled 0 0 - 1 0 0 - 1 0 0 - 1 0 1 - 1 -12.5 db sidetone gain * -13.5 db sidetone gain sidetone gain in 1 db step -27.5 db sidetone gain 76543210 function mut pls phl phr se rte xx 0 1 the active output drivers are operative * the active output drivers are muted 0 1 lsp ? n output driver is in power down * lsp ? n output driver is in power up. 0 1 hpl output driver is in power down * hpl output driver is in power up 0 1 hpr output driver is in power down * hpr output driver is in power up 0 1 audio or voice codec signal to ls or hp disabled * audio or voice codec signal to ls or hp enabled. 0 1 ring ? tone to ls or hp disabled * ring ? tone to ls or hp enabled. 76543210 function lsa(3:0) xxxx 0 0 0 0 - 1 0 0 0 0 - 1 0 0 1 1 - 1 0 1 0 1 - 1 earpiece ? loudspeaker amplifier 6 db gain earpiece ? loudspeaker amplifier 4 db gain earpiece ? loudspeaker amplifier 2 db gain earpiece ? loudspeaker amplifier 0 db gain * earpiece ? loudspeaker amplifier gain in 2 db step earpiece ? loudspeaker amplifier -24 db gain
STW5094A 18/51 control register cr8 functions (address: 0x08) *: state at power on initialization x: reserved: write 0 control register cr9 functions (address: 0x09) *: state at power on initialization x: reserved: write 0 control register cr10 functions (address: 0x0a) *: state at power on initialization x: reserved: write 0 76543210 function hpla(4:0) xxx 0 0 0 0 - 1 0 0 0 0 - 0 0 0 0 0 - 1 0 0 1 1 - 0 0 1 0 1 - 0 headphones amplifier (left channel) 0 db gain headphones amplifier (left channel) -2 db gain headphones amplifier (left channel) -4 db gain headphones amplifier (left channel) -6 db gain * headphones amplifier (left channel) gain in 2 db step headphones amplifier (left channel) -40 db gain 76543210 function hpra(4:0) xxx 0 0 0 0 - 1 0 0 0 0 - 0 0 0 0 0 - 1 0 0 1 1 - 0 0 1 0 1 - 0 headphones amplifier (right channel) 0 db gain headphones amplifier (right channel) -2 db gain headphones amplifier (right channel) -4 db gain headphones amplifier (right channel) -6 db gain * headphones amplifier (right channel) gain in 2 db step headphones amplifier (right channel) -40 db gain 76543210 function fmla(4:0) xxx 0 0 - 0 - 1 0 0 - 1 - 0 0 0 - 0 - 0 0 0 - 0 - 1 0 1 - 1 - 1 fm preamplifier (left channel) +18 db gain fm preamplifier (left channel) +16 db gain fm preamplifier (left channel) gain in 2 db step fm preamplifier (left channel) 0 db gain * fm preamplifier (left channel) gain in 2 db step fm preamplifier (left channel) -20 db gain
19/51 STW5094A control register cr11 functions (address: 0x0b) *: state at power on initialization x: reserved: write 0 control register cr12 functions (address: 0x0c) *: state at power on initialization x: reserved write 0 control register cr13 functions (address: 0x0d) control register cr14 functions (address: 0x0e) 76543210 function fmra(4:0) xxx 0 0 - 0 - 1 0 0 - 1 - 0 0 0 - 0 - 0 0 0 - 0 - 1 0 1 - 1 - 1 fm preamplifier (right channel) +18 db gain fm preamplifier (right channel) +16 db gain fm preamplifier (right channel) gain in 2 db step fm preamplifier (right channel) 0 db gain * fm preamplifier (right channel) gain in 2 db step fm preamplifier (right channel) -20 db gain 76543210 function toneg(3:0) fsel(1:0) sn de 0 0 - 1 0 0 - 0 0 0 - 1 0 1 - 1 tone gain is 0 db * tone gain is -3 db tone gain in 3 db step tone gain is -33 db 0 0 1 1 0 1 0 1 f1 and f2 muted * f1 selected f2 selected f1 and f2 in summed mode 0 1 squarewave signal selected * sinewave signal selected 0 1 to n e ? ring generator not connected to transmit path * to n e ? ring generator connected to transmit path 76543210 function f1(7:0) msb lsb binary equivalent of the decimal number used to calculate f1 see table 1 76543210 function f2(7:0) msb lsb binary equivalent of the decimal number used to calculate f2 see table 1
STW5094A 20/51 control register cr15 functions (address: 0x0f) * state at power on initialization control register cr16 functions (address: 0x10) (1) significant in 18 ? 20 ? 24 bit per word mode only (2) left channel data is always received first. (3) first bit delay, in 18 ? 20 ? 24 bit per word mode, is applied only if word is left justified. *: state at power on initialization 76543210 function be bi bz(5:0) 0 1 buzzer output disabled (set to 0) * buzzer output enabled 0 1 duty cycle is intended as the relative width of logic 1 * duty cycle is intended as the relative width of logic 0 msb lsb binary equivalent of the decimal number used to calculate the duty cycle, using the formula: duty cycle = bz(5:0) x 0.78125% 76543210 function pol ord dif inv for scl prec(1:0) 0 1 amck not inverted * amck inverted 0 1 audio i/f data order, the msb is received first (i 2 s) * audio i/f data order, the lsb is received first 0 1 audio i/f data alignment, the word is left justified (i 2 s)(1) * audio i/f data alignment, the word is right justified (1) 0 1 lrck polarity, when lrck=0 left data is received (i 2 s) (2) * lrck polarity, when lrck=1 left data is received (2) 0 1 audio i/f format, i 2 s format (first bit is delayed) (3) * audio i/f format, non delayed formats 0 1 sck polarity, sdi and lrck sampled on the rising edge (i 2 s) * sck polarity, sdi and lrck sampled on the falling edge 0 0 1 1 0 1 0 1 audio i/f data width 16 bit (32 sck clocks per frame) * audio i/f data width 18 bit (64 sck clocks per frame) audio i/f data width 20 bit (64 sck clocks per frame) audio i/f data width 24 bit (64 sck clocks per frame)
21/51 STW5094A control register cr17 functions (address: 0x11) (1) significant if spim=0 (bit 2 in cr17) *: state at power on initialization x: reserved write 0 control register cr18 functions (address: 0x12) *: state at power on initialization x: reserved write 0 76543210 function ren rlm roi rdl oce spim msm dspm 0 1 remocon function disabled * remocon function enabled 0 1 remocon output in transparent mode * remocon output in latched mode 0 1 remout/ock output not inverted * remout/ock output inverted 0 1 remocon detection latch reset by p* remocon detection latch set by internal logic 0 1 remout/ock pin used for remocon function * remout/ock pin used for oversampled clock out function (1) 0 1 audio interface works in i 2 s or dsp mode * audio interface works in spi slave mode 0 1 audio interface works in slave mode * audio interface works in master mode (1) 0 1 audio interface works in i 2 s mode (1) * audio interface works in dsp mode (1) 76 5 4 3210 function vcl vce amck_div 0 0 1 1 0 1 0 1 vcmhp output voltage is 1.20 v vcmhp output voltage is 1.35 v * vcmhp output voltage is 1.50 v vcmhp output voltage is 1.65 v 0 1 vcmhp output disabled * vcmhp output enabled xxx 0 0 1 0 1 0 9.5mhz -14mhz amck clock-range * 14mhz -19mhz amck clock-range 19mhz -28mhz amck clock-range
STW5094A 22/51 control register cr19 functions (address: 0x13) *: state at power on initialization x: reserved write 0 control register cr20 functions (address: 0x14) *: state at power on initialization 76 5 4 3210 function treble(2:0) bass(3:0) x 0 0 0 0 1 1 1 1 1 1 0 0 1 1 0 0 1 0 1 0 1 0 1 0 +6db treble gain +4db treble gain +2db treble gain 0db treble gain * -2db treble gain -4db treble gain -6db treble gain de-emphasis filter enabled 0 0 0 0 0 0 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 1 +12.5db bass gain +10.0db bass gain +7.5db bass gain +5.0db bass gain +2.5db bass gain 0db bass gain * -2.5db bass gain -5.0db bass gain -7.5db bass gain -10.0db bass gain -12.5db bass gain 76 5 4 3210 function fms mfm cmp vol (4:0) 0 1 fm sum function disabled * fm sum function enabled 0 1 fm input from fml, fmr * fm input from mic3 (to left and right) 0 1 audio dynamic compressor off * audio dynamic compressor on 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 db audio attenuation * 2 db audio attenuation 4 db audio attenuation 6 db audio attenuation 8 db audio attenuation 10 db audio attenuation 12 db audio attenuation 15 db audio attenuation 18 db audio attenuation 21 db audio attenuation 24 db audio attenuation 27 db audio attenuation 30 db audio attenuation 33 db audio attenuation 36 db audio attenuation 39 db audio attenuation 42 db audio attenuation 45 db audio attenuation 48 db audio attenuation 54 db audio attenuation
23/51 STW5094A control register cr21 functions (address: 0x15) *: state at power on initialization x: reserved write 0 note: in audio mode or when amck master clock is selected, the true frequency value is obtained by multiplying the value of the table (f1/ f2 tone frequency) by the following constant: k=(f amck /f div ) where f amck is the frequency of amck expressed in hz and f div = 6144000(amck_div+2) , where amck_div is the content of cr18 , bits1-0. 76 5 4 3210 function md(1:0) cfm(1:0) srs pu 0 0 1 1 0 1 0 1 voice mode * audio mode. tone only mode. fm mode. 0 0 1 0 1 x the master clock input for tone only and fm mode is auxclk* the master clock input for tone only and fm mode is mclk the master clock input for tone only and fm mode is amck xx 0 1 normal operation * software reset, all registers are set to their default. 0 1 device is in power down * device is in power up
STW5094A 24/51 table 1. tone generator frequency versus cr13 cr14 register correspondence in voice mode and tone mode only (when the master clock is auxclk or mclk) cr13/14 value (dec.) f1/f2 tone frequency (hz) cr13/14 value (dec.) f1/f2 tone frequency (hz) cr13/14 value (dec.) f1/f2 tone frequency (hz) cr13/14 value (dec.) f1/f2 tone frequency (hz) 0 0.0 64 250.0 128 750.0 192 1750.0 1 3.9 65 257.8 129 765.6 193 1781.2 2 7.8 66 265.6 130 781.2 194 1812.5 3 11.7 67 273.4 131 796.9 195 1843.8 4 15.6 68 281.2 132 812.5 196 1875.0 5 19.5 69 289.1 133 828.1 197 1906.2 6 23.4 70 296.9 134 843.8 198 1937.5 7 27.3 71 304.7 135 859.4 199 1968.8 8 31.2 72 312.5 136 875.0 200 2000.0 9 35.2 73 320.3 137 890.6 201 2031.2 10 39.1 74 328.1 138 906.2 202 2062.5 11 43.0 75 335.9 139 921.9 203 2093.8 12 46.9 76 343.8 140 937.5 204 2125.0 13 50.8 77 351.6 141 953.1 205 2156.2 14 54.7 78 359.4 142 968.8 206 2187.5 15 58.6 79 367.2 143 984.4 207 2218.8 16 62.5 80 375.0 144 1000.0 208 2250.0 17 66.4 81 382.8 145 1015.6 209 2281.2 18 70.3 82 390.6 146 1031.2 210 2312.5 19 74.2 83 398.4 147 1046.9 211 2343.8 20 78.1 84 406.2 148 1062.5 212 2375.0 21 82.0 85 414.1 149 1078.1 213 2406.2 22 85.9 86 421.9 150 1093.8 214 2437.5 23 89.8 87 429.7 151 1109.4 215 2468.8 24 93.8 88 437.5 152 1125.0 216 2500.0 25 97.7 89 445.3 153 1140.6 217 2531.2 26 101.6 90 453.1 154 1156.2 218 2562.5 27 105.5 91 460.9 155 1171.9 219 2593.8 28 109.4 92 468.8 156 1187.5 220 2625.0 29 113.3 93 476.6 157 1203.1 221 2656.2 30 117.2 94 484.4 158 1218.8 222 2687.5 31 121.1 95 492.2 159 1234.4 223 2718.8 32 125.0 96 500.0 160 1250.0 224 2750.0 33 128.9 97 507.8 161 1265.6 225 2781.2 34 132.8 98 515.6 162 1281.2 226 2812.5 35 136.7 99 523.4 163 1296.9 227 2843.8 36 140.6 100 531.2 164 1312.5 228 2875.0 37 144.5 101 539.1 165 1328.1 229 2906.2 38 148.4 102 546.9 166 1343.8 230 2937.5 39 152.3 103 554.7 167 1359.4 231 2968.8 40 156.2 104 562.5 168 1375.0 232 3000.0 41 160.2 105 570.3 169 1390.6 233 3031.2 42 164.1 106 578.1 170 1406.2 234 3062.5 43 168.0 107 585.9 171 1421.9 235 3093.8 44 171.9 108 593.8 172 1437.5 236 3125.0 45 175.8 109 601.6 173 1453.1 237 3156.2 46 179.7 110 609.4 174 1468.8 238 3187.5 47 183.6 111 617.2 175 1484.4 239 3218.8 48 187.5 112 625.0 176 1500.0 240 3250.0 49 191.4 113 632.8 177 1515.6 241 3281.2 50 195.3 114 640.6 178 1531.2 242 3312.5 51 199.2 115 648.4 179 1546.9 243 3343.8 52 203.1 116 656.2 180 1562.5 244 3375.0 53 207.0 117 664.1 181 1578.1 245 3406.2 54 210.9 118 671.9 182 1593.8 246 3437.5 55 214.8 119 679.7 183 1609.4 247 3468.8 56 218.8 120 687.5 184 1625.0 248 3500.0 57 222.7 121 695.3 185 1640.6 249 3531.2 58 226.6 122 703.1 186 1656.2 250 3562.5 59 230.5 123 710.9 187 1671.9 251 3593.8 60 234.4 124 718.8 188 1687.5 252 3625.0 61 238.3 125 726.6 189 1703.1 253 3656.2 62 242.2 126 734.4 190 1718.8 254 3687.5 63 246.1 127 742.2 191 1734.4 255 3718.8
25/51 STW5094A timing diagrams figure 1. voice interface (pcm i/f) non delayed data timing mode 1 note: 1. in the case of companded code the timing is applied to 8 bits instead of 16 bits. figure 2. voice interface (pcm i/f) delayed data timing mode 1 t dmz t sfm t hmf t hmf t wlm t wmh t rm t fm t dmd t dfd t sdm t hmd 1 1 2 3 4 5 6 7 16 2 3 4 5 6 7 16 3 2 1 4 5 6 7 16 17 mclk fs dx dr t hmf t sfm t dmz t sfm t wlm t wmh t rm t fm t dmd t sdm t hmd 1 1 2 3 4 5 6 7 16 2 3 4 5 6 7 16 3 2 1 4 5 6 7 16 17 mclk fs dx dr
STW5094A 26/51 figure 3. voice interface (pcm i/f) non delayed reverse data timing mode 1 note: 1. in the case of companded code the timing is applied to 8 bits instead of 16 bits. figure 4. amck timing figure 5. audio interface (au i/f) timing: i 2 s slave mode t dmzr t sfmr t hmfr t hmfr t wlm t wmh t rm t fm t dmdr t dfd t sdm t hmd 1 1 2 3 4 5 6 7 16 2 3 4 5 6 7 16 3 2 1 4 5 6 7 16 17 mclk fs dx dr t hamck t lamck t pamck amck t plrck t psck1 t d1sck t hsck t lsck 2 16 or 32 15 or 31 15 or 31 16 or 32 t d2sck t ssdi t hsdi 1 1 2 sdi sck sck when scl=1 (*) lrck when scl=0 (*) (*) scl is bit2 in cr16
27/51 STW5094A figure 6. audio interface (au i/f) timing: dsp slave mode figure 7. audio interface (au i/f) timing: i 2 s master mode t plrck t psck2 t hsck t lsck t ssdi t hsdi sdi sck sck when scl=1 (*) lrck when scl=0 (*) (*) scl is bit2 in cr16 t slr t hlr t dlr 2 16 or 32 15 or 31 15 or 31 16 or 32 t ssdi t hsdi 1 1 2 sdi sck sck when scl=1 (*) lrck when scl=0 (*) (*) scl is bit2 in cr16 t dlr t plrck
STW5094A 28/51 figure 8. audio interface (au i/f) timing: dsp master mode figure 9. audio interface (au i/f) timing: spi-mode (slave only) t plrck sdi sck sck when scl=1 (*) lrck when scl=0 (*) (*) scl is bit2 in cr16 t dlr t ssdi t hsdi t dlr t plrck t psck1 t d3sck t hsck t lsck 2 15 or 31 16 or 32 t ssdi t hsdi 1 sdi sck sck when scl=1 (*) lrck when scl=0 (*) (*) scl is bit2 in cr16 1
29/51 STW5094A figure 10. audio interface (au i/f) formats in i 2 s master and slave modes lrck sck sdi 16 1 2 13 14 15 16 1 2 13 14 15 16 left channel right channel msb lsb msb lsb i 2 s format (delayed), data word 16 bit, msb first (default) lrck sck sdi x 1 2 17 18 x 1 2 left channel right channel i 2 s format (delayed), data word 18 bit, left justified, lsb first x lsb msb lsb 16 sck 17 18 x x msb 32 sck lrck sck sdi 1 2 3 23 24 x 2 3 left channel right channel non-delayed format, data word 24 bit, left justified, msb first, lrck polarity inverted 1 msb lsb msb 23 24 x 1 lsb 32 sck lrck sck sdi 1 2 3 14 15 16 1 2 3 14 15 16 1 left channel right channel non-delayed format, sck polarity inverted, data word 16 bit, lsb first 16 sck msb msb lsb lsb for the other possible formats see control register cr16 description lrck sck sdi x 18 left channel right channel data word 18 bit, right justified, msb first x msb x 1 2 x lsb 32 sck 18 x x msb x 1 2 lsb 32 sck 32 sck 32 sck 16 sck 16 sck
STW5094A 30/51 figure 11. audio interface (au i/f) formats in dsp slave mode figure 12. audio interface (au i/f) formats in dsp master mode lrck sck sdi x 1 2 15 16 1 2 15 16 left channel right channel msb lsb msb lsb delayed, data word 16 bit, sck polarity normal ( cr16 default values) non-delayed, sck polarity inverted, data word 24 bit x x 1 n sck (n = any value greater than 32) lrck sck sdi 1 2 23 24 1 2 23 24 left channel right channel msb lsb msb lsb x 1 2 n sck (n = any value greater than 47) msb 2 for the other possible formats see control register cr16 description lrck sck sdi 16 1 2 15 16 1 2 15 16 left channel right channel msb lsb msb lsb delayed, data word 16 bit, sck polarity normal ( cr16 default values) non-delayed, sck polarity inverted, data word 18 bit 1 32 sck lrck sck sdi 1 2 3 17 18 1 2 17 18 left channel right channel msb lsb msb lsb x 1 2 64 sck msb for the other possible formats see control register cr16 description lsb msb
31/51 STW5094A figure 13. audio interface (au i/f) formats in spi mode figure 14. control interface (i 2 c i/f) formats lrck sck sdi 1 2 15 16 1 left or right channel right or left channel msb lsb sck polarity normal, data word 16 bit sck polarity inverted, data word 18 bit 2 32 sck note: in spi-mode the first high to low transition on lrck after power-up defines the left channel of the first couple of audio data msb xx x for the other possible formats see control register cr16 description lrck sck sdi 1 2 17 18 msb lsb xx x 1 2 msb x and of all the subsequent couples of left/right audio data. left or right channel right or left channel write single byte start device address reg n address reg n data in ack ack ack stop write multi byte start device address reg n address reg n data in ack ack ack stop reg n+m data in ack m+1 data bytes current addr start device address current reg data out ack no ack stop read single byte current addr start device address current reg data out ack no ack stop read multi byte curr reg+m data out ack ack ack m+1 data bytes start device address reg n address ack ack start device address reg n data out ack no ack stop random addr read single byte random addr read multi byte start device address reg n address ack ack start device address no ack stop reg n+m data out ack ack m+1 data bytes reg n data out ack 11100011 11100011 11100010 11100010 11100010 11100010 11100011 11100011
STW5094A 32/51 figure 15. control interface (i 2 c i/f) timing figure 16. a.c. testing input, output waveform (sto ) t su (sta) t su (sta) t hd (dat) t su t high t buf (dat) t hd t f t r t low (sta) t hd p s p s r scl sda p=stop s = start sr = start repeated ac testing: inputs are driven at 0.8vccio for a logic "1" and 0.2vccio for a logic "0". timing measurements are made at 0.7vccio for a logic "1" and 0.3vccio for a logic "0". test points 0.7v ccio 0.3v ccio 0.7v ccio 0.3v ccio 0.8v ccio 0.2v ccio input ? output
33/51 STW5094A absolute maximum ratings operative supply voltages timing specifications unless otherwise specified, v ccio = 1.8v to 3.3v,t amb = -30c to 85c, max capacitive load 20pf; typical characteristics are specified at v ccio =3.0v, t amb = 25 c; all signals are referenced to gnd (see next note for timing definitions). amck timing parameter value unit v cc to gnd 4.6 v voltage at mic (v cc 3.3v) v cc +0.5 to gnd -0.5 v current at lsp/n 350 ma current at hpr,hpl 100 ma current at vccp,gndp 350 ma current at any digital output 50 ma voltage at any digital input (v ccio 3.3v); limited at 50ma v ccio + 0.5 to gnd -0.5 v storage temperature range - 65 to + 150 c symbol min. max. unit v cc =v cca 2.7 3.3 v v ccio 1.8 v cc v v ccp v cc 3.3 v symbol parameter test condition amck range min. typ. max. unit t pa m c k period of amck 9.5mhz-14mhz 14mhz-19mhz 19mhz-28mhz 71 53 36 106 71 53 ns ns ns t hamck period of amck high measured from v ih to v ih 9.5mhz-14mhz 14mhz-19mhz 19mhz-28mhz 28 20 12 ns ns ns t lamck period of amck low measured from v il to v il 9.5mhz-14mhz 14mhz-19mhz 19mhz-28mhz 28 20 12 ns ns ns
STW5094A 34/51 mclk and auxclk timing audio interface signals timing pcm interface timing symbol parameter test conditions min. typ. max. unit f mclk frequency of mclk, auxclk frequency is programmable with bits f in cr0 512 1.536 2.048 2.560 khz mhz mhz mhz t wmh period of mclk, auxclk high measured from v ih to v ih 150 ns t wml period of mclk, auxclk low measured from v il to v il 150 ns t rm rise time of mclk, auxclk measured from v il to v ih 30 ns t fm fall time of mclk, auxclk measured from v ih to v il 30 ns symbol parameter test condition min. typ. max. unit t plrck period of lrck 20 127 s dc lrck duty cycle of lrck in i 2 s mode slave 40 60 % t d1sck delay of the 1st sck edge from lrck edges in i 2 s mode slave -10 600 ns t d2sck delay of the last sck edge to next lrck edges in i 2 s mode slave 20 ns t psck1 period of sck in i 2 s mode slave 50 ns t psck2 period of sck in dsp mode slave lrck frequency > 30khz lrck frequency < 30khz 100 200 ns ns t hsck period of sck high measured from v ih to v ih 20 ns t lsck period of sck low measured from v il to v il 20 ns t ssdi setup time sdi to sck active edge 10 ns t hsdi hold time sdi from sck active edge 10 ns t dlr delay of lrck edges from sck edge in master mode 10 ns t d3sck delay of the 1st sck edge from lrck falling edge in spi mode -10 ns symbol parameter test condition min. typ. max. unit t hmf hold time mclk low to fs low 0 ns t sfm setup time, fs high to mclk low 30 ns t dmd delay time, mclk high to data valid load = 20pf 100 ns t dmz delay time, mclk low to dx disabled 10 100 ns t dfd delay time, fs high to data valid load = 20pf; applies only if fs rises later than mclk rising edge in non delayed mode only 100 ns t sdm setup time, dr valid to mclk receive edge 20 ns
35/51 STW5094A i 2 c bus control port timing note: a signal is valid if it is above vih or below vil and invalid if it is between vil and vih.for the purpose of this specifi cation the following conditions apply (see fig. 15): a) all input signal are defined as: vil = 0.2vccio, vih = 0.8vccio, tr < 10ns, tf < 10ns. b) delay times are measured from the inputs signal valid to the output signal valid. c) setup times are measured from the data input valid to the clock input invalid. d) hold times are measured from the clock signal valid to the data input invalid. t hmd hold time, mclk low to dr invalid 10 ns t hmfr hold time mclk high to fs low 30 ns t sfmr setup time, fs high to mclk high 30 ns t dmdr delay time, mclk low to data valid load = 20pf 100 ns t dmzr delay time, mclk high to dx disabled 10 100 ns t hmdr hold time, mclk high to dr invalid 20 ns symbol parameter test condition min. typ. max. unit f scl clock frequency 400 khz t high clock high time 600 ns t low clock low time 1300 ns t r sda and scl rise time 1000 ns t f sda and scl fall time 300 ns t hd:sta start condition hold time 600 ns t su:sta start condition setup time 600 ns t hd:dat data input hold time 0 ns t su:dat data input setup time 250 ns t su:sto stop condition setup time 600 ns t buf bus free time 1300 ns symbol parameter test condition min. typ. max. unit
STW5094A 36/51 electrical characteristics unless otherwise specified, v ccio = 1.8v to 3.3v, t amb = -30c to 85c; typical characteristic are speci- fied at v ccio = 3.0v, t amb = 25c; all signals are referenced to gnd. digital interfaces ( figure 16 ) analog interfaces *: with series resistors symbol parameter test condition min. typ. max. unit v il input low voltage all digital inputs except remin dc ac 0.3v ccio 0.2v ccio v v v ih input high voltage all digital inputs except remin dc ac 0.7 vccio 0.8 vccio v v v ilrem input low voltage remin input 0.5 v v ihrem input high voltage remin input 1.4 v v ol output low voltage all digital outputs, i l =10 a all digital outputs, i l =2ma 0.1 0.4 v v v oh output high voltage all digital outputs, il = 10 a all digital outputs, il = 2ma v ccio -0.1 v ccio -0.4 v v i il input low current any digital input, gnd < v in < v il -10 10 a i ih input high current any digital input, v ih < v in < v ccio -10 10 a i oz output current in high impedance (tristate) dx and co -10 10 a symbol parameter test condition min. typ. max. unit r mbias mbias output resistance mbias 100mv under v cc 150 ? i mic mic input leakage gnd < v mic < v cc -100 +100 a r mic mic input resistance gnd < v mic < v cc 50 k ? r fm fm input resistance fml, fmr to cap2 30 k ? r lhp single ended drivers load resistance hpl, hpr to gndp or vcmhp 16 ? c lhp single ended drivers load capacitance hpl, hpr to gndp or vcmhp 100 50* pf nf r ovhp single ended drivers output resistance steady zero pcm code applied to dr; i = 1ma 1 ? r lls differential driver load resistance lsp to lsn 8 ? c lls differential driver load capacitance lsp to lsn 100 50* pf nf r ols differential driver output resistance steady zero pcm code applied to dr; i = 1ma 1 ? v osls differential offset voltage at lsp, lsn alternating zero pcm code applied to dr maximum receive gain; r l =50 ? -50 +50 mv
37/51 STW5094A analog input/output operative ranges microphone input levels - absolute levels at mic1, mic2, mic3 fm input levels - absolute levels at fml, fmr power output levels - absolute levels at hpl, hpr power output levels - absolute levels at lsp-lsn (differentially measured) tones levels note: when 2 tones are enabled the amplitude of f1 is lowered by 5db and the amplitude of f2 is lowered by 7db with respect to t he amplitude of a single tone. symbol parameter test condition min. typ. max. unit 0 dbm0 level transmit gain 0db 493 mv rms overload level transmit gain 0db 707 2 mv rms v pp 0 dbm0 level transmit gain 20db 49 mv rms overload level transmit gain 20db 71 200 mv rms mv pp 0 dbm0 level transmit gain 42.5db 3.7 mv rms overload level transmit gain 42.5db 5.3 15 mv rms mv pp symbol parameter test condition min. typ. max. unit overload level fml, fmr gain 18 db 177 0.5 mv rms v pp overload level fml, fmr gain from 6 to -20db 707 2 mv rms v pp symbol parameter test condition min. typ. max. unit maximum undistorted level 16 ? load 707 2 mv rms v pp symbol parameter test condition min. typ. max. unit 0 dbm0 level ls gain 0db 984 mv rms 0 dbm0 level ls gain -24db 62.1 mv rms maximum undistorted level 8 ? load 1.41 4 v rms v pp symbol parameter test condition min. typ. max. unit tone level at lsp-lsn single tone, sinusoidal waveform, tone gain 0db, ls gain 0db 1.41 4 v rms v pp tone level at hpl, hpr single tone, sinusoidal waveform, tone gain 0db, hpl, hpr gain -6db 707 2 mv rms v pp tone level at dx voice mode, single tone, sinusoidal waveform, tone gain 0db -1.64 dbfs
STW5094A 38/51 voice codec characteristics unless otherwise specified, v cc = 2.7v to 3.3v, t amb = -30c to 85c; fs frequency = 8khz; typical characteristics are specified at v cc =3.0v, t amb = 25c, mic1 ? 2 ? 3 = 0dbm0, dr = -6dbm0 pcm code, f = 1015.625 hz; all signals are referenced to gnd. voice codec amplitude response transmit path (*) the limit at frequencies between 4600hz and 8000hz lies on a straight line connecting the two frequencies on a linear (db) scale versus log (hz) scale. symbol parameter test condition min. typ. max. unit g xa transmit gain absolute accuracy transmit gain programmed for minimum. measure deviation of digital pcm code from ideal 0db m0 pcm code at dx -0.5 0.5 db g xag transmit gain variation with programmed gain measure transmit gain over the range from maximum to minimum setting. calculate the deviation from the programmed gain relative to gxa, i.e. g axg =g actual - g prog. - g xa -0.5 0.5 db g xat transmit gain variation with temperature measured relative to g xa . min. gain < g x < max. gain -0.1 0.1 db g xav transmit gain variation with supply measured relative to g xa g x = minimum gain -0.1 0.1 db g xaf8 transmit gain variation with frequency. fs frequency = 8khz (vfs=0) digital filter characteristics f=60 hz f = 100 hz f = 200 hz f = 300 hz f = 400 hz to 3000 hz f = 3400 hz f = 4000 hz f = 4600 hz (*) f = 8000 hz (*) -1.5 -0.5 -1.5 -30 -20 -6 0.5 0.5 0.0 -14 -35 -47 db db db db db db db db db g xaf16 transmit gain variation with frequency. fs frequency = 16khz (vfs=1) digital filter characteristics f = 100 hz f = 200 hz to 6000 hz f = 6800 hz f = 8000 hz f = 9200 hz (*) f = 16000 hz (*) -1.5 -0.5 -1.5 0.5 0.5 0.0 -14 -35 -47 db db db db db db g xal transmit gain variation with signal level sinusoidal test method. reference level = -10 dbm0 v mic = -40 dbm0 to +3 dbm0 v mic = -50 dbm0 to -40 dbm0 v mic = -55 dbm0 to -50 dbm0 -0.5 -0.5 -1.2 0.5 0.5 1.2 db db db
39/51 STW5094A voice codec amplitude response (continued) receive path symbol parameter test condition min. typ. max. unit g rahpl g rahpr g rals receive gain absolute accuracy receive gain programmed for maximum apply -6 dbm0 pcm code to dr measure hpl, hpr, lsp-lsn -0.5 0.5 db g raghpl g raghpr g ragls receive gain variation with programmed gain measure hpl, hpr, lsp-lsn gain over the range from maximum to minimum setting. calculate the deviation from the programmed gain relative to g ra , i.e. g ragls =g actual - g prog . - g rals -0.5 0.5 db g rat receive gain variation with temperature measured relative to gra. (hpl, hpr and lsp-lsn) min. gain < g r < max. gain -0.1 0.1 db g rav receive gain variation with supply measured relative to gra. (hpl, hpr and lsp-lsn) g r = maximum gain -0.1 0.1 db g raf8 receive gain variation with frequency (hpl, hpr and lsp-lsn) fs frequency = 8khz ( vfs=0) . high pass filter enabled (hpb = 0). digital filter characteristics f=60hz f = 100hz f = 200 hz f = 300 hz f = 400 hz to 3000 hz f = 3400 hz f = 4000 hz -1.5 -0.5 -1.5 -20 -12 -2 0.5 0.5 0.0 -14 db db db db db db db receive gain variation with frequency (hpl, hpr and lsp-lsn) fs frequency = 8khz ( vfs=0) . high pass filter disabled (hpb = 1). digital filter characteristics f=50hz f = 100 hz to 3000 hz f = 3400 hz f = 4000 hz -1.5 -0.5 -1.5 0.5 0.5 0.0 -14 db db db db g raf16 receive gain variation with frequency (hpl, hpr and lsp-lsn) fs frequency = 16khz ( vfs=1) . digital filter characteristics f = 100hz f = 200 hz to 6000 hz f = 6800 hz f = 8000 hz -1.5 -0.5 -1.5 0.5 0.5 0.0 -14 db db db db g ralhpl g ralhpr g ralls receive gain variation with signal level (hpl, hpr and lsp-lsn) sinusoidal test method reference level = -10 dbm0 dr = -40 dbm0 to -3 dbm0 dr = -50 dbm0 to -40 dbm0 dr = -55 dbm0 to -50 dbm0 -0.5 -0.5 -1.2 0.5 0.5 1.2 db db db
STW5094A 40/51 voice codec envelope delay distortion with frequency voice codec noise (*) 300 to 3400hz bandwidth voice codec crosstalk symbol parameter test condition min. typ. max. unit dxa tx delay, absolute f = 1600 hz 320 s dxr tx delay, relative f = 500 - 600 hz f = 600 - 800 hz f = 800 - 1000 hz f = 1000 - 1600 hz f = 1600 - 2600 hz f = 2600 - 2800 hz f = 2800 - 3000 hz 290 180 50 20 55 80 180 s s s s s s s dra rx delay, absolute f = 1600 hz 280 s drr rx delay, relative f = 500 - 600 hz f = 600 - 800 hz f = 800 - 1000 hz f = 1000 - 1600 hz f = 1600 - 2600 hz f = 2600 - 2800 hz f = 2800 - 3000 hz 200 110 50 20 65 100 220 s s s s s s s symbol parameter test condition min. typ. max. unit nxp tx noise, p weighted (up to 35db) v mic =0v, de=0 -75 -70 dbm0p nrp rx noise, c-message weighted 8 ? load (gain for max. undistorted output level) receive pcm code = zero, si = 0, rte = 0 and lsa=?0100? (gain -2db) 30 50 v rms psrtx psrr, tx mic = 0v, v cc =3.0 v dc + 50 mv rms ; f = 100hz to 50khz 30 db psrrx psrr, rx pcm code equals positive zero, v cc =3.0v dc + 50 mv rms f = 100 hz - 4 khz f = 4 khz - 50 khz 30 30 db db sos spurious out-band signal at the output digital filter characteristics 4600 hz - 5600 hz 5600 hz - 7600 hz 7600 hz - 8400 hz -40 -50 -50 db db db symbol parameter test condition min. typ. max. unit ct x-r transmit to receive transmit level = 0 dbm0, f = 300 - 3400 hz dr = quiet pcm code -100 -65 db ct r-x receive to transmit receive level = -6 dbm0, f = 300 - 3400 hz mic = 0v -80 -65 db
41/51 STW5094A voice codec distortion receive path (*) the limit curve shall be determined by straight li nes joining successive coordinates given in the table. symbol parameter test condition min. typ. max. unit s tdrls (*) signal to total distortion (lsp-lsn) (up to 14db attenuation) 8 ? load typical values are measured with 14db attenuation. sinusoidal test method (measured using linear 300 hz to 3400 hz weighting, fs=8khz) level = +3 dbm0 level = -6 dbm0 level = -10 dbm0 level = -20 dbm0 level = -30 dbm0 level = -40 dbm0 level = -45 dbm0 level = -55 dbm0 65 62 54 44 34 29 19 77 70 67 59 49 39 34 24 db db db db db db db db signal to total distortion (lsp-lsn) (up to 14db attenuation) 8 ? load typical values are measured with 14db attenuation. sinusoidal test method (measured using linear 300 hz to 6800 hz weighting, fs=16khz) level = +3 dbm0 level = -6 dbm0 level = -10 dbm0 level = -20 dbm0 level = -30 dbm0 level = -40 dbm0 level = -45 dbm0 level = -55 dbm0 74 67 64 56 46 36 31 21 db db db db db db db db signal to total distortion (hpl, hpr) (up to 14db attenuation) typical values are measured with 14db attenuation sinusoidal test method (measured using linear 300 hz to 3400 hz weighting, fs=8khz) level = +3 dbm0 level = -6 dbm0 level = -10 dbm0 level = -20 dbm0 level = -30 dbm0 level = -40 dbm0 level = -45 dbm0 level = -55 dbm0 74 67 64 56 46 36 31 21 db db db db db db db signal to total distortion (hpl, hpr) (up to 14db attenuation) typical values are measured with 14db attenuation sinusoidal test method (measured using linear 300 hz to 6800 hz weighting, fs=16khz) level = +3 dbm0 level = -6 dbm0 level = -10 dbm0 level = -20 dbm0 level = -30 dbm0 level = -40 dbm0 level = -45 dbm0 level = -55 dbm0 71 64 61 53 43 33 28 17 db db db db db db db
STW5094A 42/51 voice codec distortion transmit path (*) the limit curve shall be determined by straight li nes joining successive coordinates given in the table. symbol parameter test condition min. typ. max. unit s tdx (*) signal to total distortion (up to 35db gain) fs frequency = 8khz. typical values are measured with 30.5db gain sinusoidal test method (measured using linear 300 hz to 3400 hz weighting) fss = 0 level = +3 dbm0 level = 0 dbm0 level = -6 dbm0 level = -10 dbm0 level = -20 dbm0 level = -30 dbm0 level = -40 dbm0 level = -45 dbm0 level = -55 dbm0 68 64 59 49 40 30 25 15 75 73 68 64 54 44 34 29 19 db db db db db db db db db signal to total distortion fs frequency = 16khz. typical values are measured with 30.5db gain sinusoidal test method (measured using linear 300 hz to 6800 hz weighting) fss = 1 level = +3 dbm0 level = 0 dbm0 level = -6 dbm0 level = -10 dbm0 level = -20 dbm0 level = -30 dbm0 level = -40 dbm0 level = -45 dbm0 level = -55 dbm0 72 70 65 61 51 41 31 26 16 db db db db db db db db db
43/51 STW5094A stereo audio dac and fm characteristics unless otherwise specified, v cc = 2.7v to 3.3v, t amb = -30c to 85c; typical characteristics are speci- fied at v cc = 3v, vcmhp=1.5v, t amb =25c; f amck = 13.0mhz; full-scale input sine waves at 1015.625hz; input sample rate (fs) = 48khz; input data = 18bits; measurement bandwidth is 20hz to 20khz, unweighted. resistive load on hpl, hpr = 16 ? ). * valid for audio interface input (audio mode). ** calculation of tsf and sut : we define: k=(f amck ? f div ) where f amck is the frequency of amck expressed in hz and f div = 6144000(amck_div+2) , where amck_div is the content of cr18 , bits1-0. the approximate startup time is obtained dividing 10.6 ms by k , and the transient suppression filter cutoff frequency is obtained multiplying 20hz for k note: fs range: 8khz - 48khz. symbol parameter test condition min. typ. max. unit n resolution* 18 bits dynr dynamic range a-weighted 89 93 db snr signal to noise ratio 2vpp output hpl, hpr gain set to -6db 16 ? load a-weighted unweighted (20 hz to 20 khz) 93 87 db db thdl total harmonic distortion worst case load 2v pp output hpl, hpr gain set to -6db 16 ? load 0.01 0.03 % thd total harmonic distortion 2v pp output hpl, hpr gain set to -6db 1k ? load 0.004 % deviation from linear phase* measurement bandwidth 20hz to 20khz, fs= 48khz. combined digital and analog filter characteristics. 1deg f pb passband* combined digital and analog filter characteristics. 00.45fskhz passband ripple* combined digital and analog filter characteristics. 0.2 db f sb stopband* combined digital and analog filter characteristics. 0.55fs khz stopband attenuationv measurement bandwidth up to 3.45fs combined digital and analog filter characteristics. 50 db tsf transient suppression filter cutoff frequency** 15 23 hz out of band noise measurement bandwidth 20khz to 100khz. zero input signal -90 dbr t gd group delay* 0.4 ms interchannel isolation* 2vpp output hpr, hpl unloaded hpr, hpl with 16 ? to vcmhp 100 55 db db interchannel gain mismatch 0.2 db gain error 0.5 db sut startup time from power up** 9.3 13.8 ms
STW5094A 44/51 power dissipation unless otherwise specified, v cc = 2.7v to 3.3v, t amb = -30c to 85c, lsp, lsn and hpl, hpr outputs not loaded; typical characteristics are specified at v cc =3v, t amb = 25c symbol parameter test condition min. typ. max. unit i cc0 power down current, remocon off sda, scl= v ccio -0.1v remocon function disabled (ren = 0) 0.4 a i cc0r power down current, remocon on sda, scl= v ccio -0.1v remocon function enabled (ren = 1) remin = v ilrem or remin = v ihrem 2 a i cc1 power up current in voice codec mode fs=8khz. lsp/n output selected 5 7 ma i cc2 power up current in stereo audio mode fs=44.1 khz, amck=12 mhz hpl,hpr outputs selected, vce=0, fsel=0. 69ma i cc3 power up current in fm stereo mode hpl,hpr outputs selected, vce=0. 24ma
45/51 STW5094A typical performance characteristics (simulations) plot 6. in band frequency response. fs=8 khz -1 -0.5 0 0.5 1 0 500 1000 1500 2000 2500 3000 3500 amplitude [db] freq. [hz] digital rx voice filter characteristic plot 5. frequency response up to 2.5fs -70 -60 -50 -40 -30 -20 -10 0 0 2000 4000 6000 8000 10000 12000 14000 16000 18000 20000 amplitude [db] freq. [hz] digital rx voice filter characteristic plot 3. frequency response up to 3.45 fs -100 -90 -80 -70 -60 -50 -40 -30 -20 -10 0 10 0 0.5 1 1.5 2 2.5 3 amplitude [db] normalized freq. [fs] digital audio filter characteristic plot 4. in band frequency response -0.5 -0.4 -0.3 -0.2 -0.1 0 0.1 0.2 0.3 0.4 0.5 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 amplitude [db] normalized freq. [fs] digital audio filter characteristic plot 2. the filter compensates for pre-emphasis used on some audio cds. the gain error from ideal filtering is lower than 0.1db. the de-emphasis filter selection implies a flat treble control. -10 -8 -6 -4 -2 0 100 1000 10000 amplitude [db] freq. [hz] de-emphasis filter plot 1. bass and treble gains are independently selectable in any combination. filters characteristics at fs=44.1khz are plotted -10 -5 0 5 10 100 1000 10000 amplitude [db] freq. [hz] bass-treble controls
STW5094A 46/51 typical performance characteristics (cont.) typical performance characteristics (measures) plot 7. in band frequency response. fs=8 khz high pass filter disabled (hpb=1). -1 -0.5 0 0.5 1 0 500 1000 1500 2000 2500 3000 3500 amplitude [db] freq. [hz] digital rx voice filter characteristic (no high pass filt.) plot 8. audio signal transfer function when the dynamic compressor is active. -1 -0.75 -0.5 -0.25 0 0.25 0.5 0.75 1 -1 -0.75 -0.5 -0.25 0 0.25 0.5 0.75 1 output amplitude [fs] input amplitude [fs] dynamic compressor transfer function plot 9. 1 khz input signal applied at au i ? f input (l & r). left and right single ended drivers gain set to -6 db. vcc=2.7v, fs=48khz, 18 bits input word. a-weighted 20 30 40 50 60 70 80 90 100 -70 -60 -50 -40 -30 -20 -10 0 s/n [db] signal amplitude [hz] signal to noise ratio vs signal amplitude in audio mode plot 10. fft audio mode (8192 points). 1k ? load full scale 1khz input signal applied at au i ? f input. both channels active, left channel plotted vcc=2.7v, fs=48khz, 18 bits input. 12mhz amck -120 -100 -80 -60 -40 -20 0 0 5000 10000 15000 20000 signal amplitude [dbr] 0 dbr = 2 vpp frequency [hz] audio dac performance at hpl with 1k ? load to vcmhp plot 12. fft fm mode (8192 points). 16 ? load 1 khz signal applied at fm inputs both channels active and loaded, left channel plotted vcc=2.7v, 12mhz amck -120 -100 -80 -60 -40 -20 0 0 5000 10000 15000 20000 signal amplitude [dbr] 0 dbr = 2 vpp frequency [hz] fm mode performance at hpl with 16 ? load to vcmhp 10 20 30 40 50 60 70 80 90 -70 -60 -50 -40 -30 -20 -10 0 s/(n+thd) [db] signal amplitude [db] voice mode sinad: receive (rx) and transmit (tx) path plot 11. 1 khz signal applied at pcm (rx) or mic1 (tx) input. rx: 0 db gain differential output (0db=4vpp out), 8 ? load. tx: 20 db input gain (0db=0.2vpp input). vcc=2.7v, fs=8khz, 300-3400 hz linear weight. rx path tx path
47/51 STW5094A application note 10 f vcmhp 100k ? 16 ? min. bc546 bc556 100k ? 1k ? 33k ? dx dr mclk fs sck amck lrck sdi auxclk bz sda scl remout/ock 100nf vccio gnd vcc gndcm vccp gndp 100nf gnda 8 ? min. lsp lsn 0.47 f fmr 0.47 f fml 10 f cap2 hpr hpl 1.5k ? 3k ? 10 f vdd remin 100nf mic3 100nf mic2n 100nf mic2p mic1n 10 f 1.8k ? 750 ? 100nf 100nf 750 ? 1.8k ? mic1p mbias aux mic. r l line in (from fm stereo decoder) vcca vdd 1 f 100nf 100nf auxiliary clock to microprocessor/ vdd buzzer 32 ? STW5094A call/answer button electret electret system clock (audio) [9.5mhz-28mhz] clock data fs data data clock audio data interface i 2 c bus [8khz-48khz] fs [8khz/16khz] data tx data rx voice ck interface pcm clock out vddp vddio vdd
STW5094A 48/51 tfbga package outline table 2. tfbga 6x6x1.20 36 f6x6 0.80 (2) tfbga stands for t hin p rofile f ine pitch b all g rid a rray. thin profile: the total profile height (dim a) is measured from the seating plane to the top of the component. a = 1.01 to 1.20 mm fine pitch < 1.00 mm pitch. (3) the terminal a1 corner must be identified on the top surface by using a corner chamfer, ink, metallized markings or other feature of package body or integral heatslug. a distinguishing feature is allowable on the bottom surface of the package to identify the terminal a1 corner. exact shape of each corner is optional. ref min. typ. max. a1.01 1.20 (1) 1.max mounted height is 1.16 mm. based on a 0.37 mm ball pad diameter. solder paste is 0.15 mm thick with 0.37 mm diameter. a1 0.21 a2 0.820 b 0.35 0.40 0.45 d 5.85 6.00 6.15 d1 4.00 e 5.85 6.00 6.15 e1 4.00 e 0.72 0.80 0.88 f 0.85 1.00 1.15 ddd 1.00
49/51 STW5094A figure 17. tfbga36 drawing
STW5094A 50/51 revision history date revision description of changes 9-dec-2005 2 minor changes: typo in table title 1. corrections in register description: register cr20 - bit 7 = 1 - fm sum function enabled 28-apr- 2005 1 first release
51/51 STW5094A information furnished is believed to be accurate and reliable. however, stmicroelectronics assu mes no responsibility for the co nsequences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. no license is granted by implication or otherwise under any patent or patent rights of stmicroelectronics. specifications mentioned in this publicati on are subject to change without notice. this publication supersedes and replac es all information previously supplied. stmicroelectronics prod ucts are not authorized for use as critical components in life support devices or systems without express written approval of stmicroelectro nics. the st logo is a registered trademark of stmicroelectronics. all other names are the property of their respective owners ? 2005 stmicroelectronics - all rights reserved stmicroelectronics group of companies australia - belgium - brazil - canada - china - czech republic - finland - france - germany - hong kong - india - israel - ital y - japan - malaysia - malta - morocco - singapore - spain - sweden - switzerland - united kingdom - united states of america www.st.com


▲Up To Search▲   

 
Price & Availability of STW5094A

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X