Part Number Hot Search : 
C4110 C4110 0509DH30 AT818 PT25B4 F45IT E0505S MCM7643
Product Description
Full Text Search
 

To Download STA320 Datasheet File

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


  Datasheet File OCR Text:
  1/37 STA320 november 2005 this is preliminary information on a new product now in development. details are subject to change without notice. 1 features 2.1 channels of 24-bit ddx tm >100db snr and dynamic range selectable 32khz-192khz input sample rates i 2 c control with selectable device address digital gain/attenuation +48db to -90db in 0.5db steps soft volume update individual channel and master gain/ attenuation dual independent limiters/compressors dynamic range compression or anti-clipping modes automodes tm : ? 7 preset crossover filters ? 32 preset eq settings ? auto volume controlled loudness ? 3 preset volume curves ? 2 preset anti-clipping modes ? preset nighttime listening mode ? preset tv agc individual channel and master soft and hard mute independent channel volume and dsp bypass automatic zero-detect mute automatic invalid input detect mute 2-channel i 2 s input data interface input and output channel mapping 4 28-bit user programmable biquads (eq) per channel bass/treble tone control dc blocking selectable high-pass filter selectable de-emphasis post-eq user programmable mix user programmable 2.1 bass management sub channel mix into left and right channels advanced am interference frequency switching and noise suppression modes selectable high or low bandwidth noise shaping topologies variable max power correction for lower full- power thd 3 or 4 output routing configurations selectable clock input ratio 96khz internal processing sample rate, 24 to 28-bit precision 2 description the STA320 is a single chip solution for digital audio processing and control in 2.1-channel applications. it provides output capabilities for ddx tm (direct digital amplification). in conjunction with a ddx tm power device, it provides high-quality, high-efficiency, all digital amplification. 2.1 multichannels digital audio processor with ddx? rev. 1 fi gure 1. p ac k age table 1. order code part number package STA320 so28 so28 .com .com .com 4 .com u datasheet
STA320 2/37 figure 2. pin connection (top view) table 2. absolute maximum ratings table 3. thermal data table 4. recommended dc operating conditions symbol parameter value unit v dd 3.3v i/o power supply -0.5 to 4 v v dda 3.3v logic power supply -0.5 to 4 v v i voltage on input pins -0.5 to (vdd+0.5) v v o voltage on output pins -0.5 to (vdd+0.3) v t stg storage temperature -40 to +150 c t amb ambient operating temperature -20 to +85 c symbol parameter value unit r thj-amb thermal resistance junction to ambient 85 c/w symbol parameter value unit v dd i/o power supply 3.0 to 3.6 v v dda logic power supply 3.0 to 3.6 v t j operating junction temperature -20 to +125 c sa ddx1a ddx1b ddx2a ddx2b scl reset sda reserved pwdn ddx3a ddx3b tri-state eapd ocdetect fault twarn gnd 1 3 2 4 5 6 7 8 9 26 25 24 23 22 20 21 19 27 10 28 filter_pll vdd d04au1550 xti gnda vdda bicki gnd vdd 11 12 13 18 16 17 15 14 sdi_12 lrcki. .com .com .com .com 4 .com u datasheet
3/37 STA320 table 5. pin function pin n` name type description pad type 1 sa i i2c address selector cmos input buffer with pull-down 2 ddx1a o channel 1 ddx output a 3.3v capable ttl 4ma output buffer 3 ddx1b o channel 1 ddx output b 3.3v capable ttl 4ma output buffer 4 ddx2a o channel 2 ddx output a 3.3v capable ttl 4ma output buffer 5 ddx2b o channel 2 ddx output b 3.3v capable ttl 4ma output buffer 6 reset i global reset (active low) 5v tolerant ttl schmitt trigger input buffer 7 scl i i2c serial clock 5v tolerant ttl schmitt trigger input buffer 8 sda i/o i2c serial data bidirectional buffer: 5v tolerant ttl schmitt trigger input; 3.3v capable 2ma slew-rate controlled output. 9 reserved -- test pin to be externally connected to ground 10 filter_pll i connection to pll_filter analog pad 11 xti i pll input clock 5v tolerant ttl schmitt trigger input buffer 12 gnda analog ground analog ground 13 vdda 3.3v analog power supply voltage 3.3v analog power supply voltage 14 sdi_12 i i2s serial data channels 1 & 2 5v tolerant ttl input buffer 15 lrcki i i2s left/right clock 5v tolerant ttl input buffer 16 bicki i i2s serial clock 5v tolerant ttl input buffer 17 gnd i/o digital ground digital ground 18 vdd i/o 3.3v digital power supply voltage 3.3v digital power supply voltage 19 vdd i/o 3.3v digital power supply voltage 3.3v digital power supply voltage 20 pwdn i device powerdown 5v tolerant ttl schmitt trigger input buffer 21 ddx3a o channel 3 ddx output a 3.3v capable ttl 4ma output buffer 22 ddx3b o channel 3 ddx output b 3.3v capable ttl 4ma output buffer 23 eapd o external amp power down 3.3v capable ttl 4ma output buffer 24 tri-state o tri-state output to power block 3.3v capable ttl 4ma output buffer 25 ocdetect i over-current indicator 5v tolerant ttl input buffer 26 fault i power fault indicator 5v tolerant ttl input buffer 27 twarn i thermal warning indicator 5v tolerant ttl input buffer 28 gnd i/o digital ground digital ground .com .com .com .com 4 .com u datasheet
STA320 4/37 3 electrical characteristcs (v dd3 = 3.3v 0.3v; v dda = 3.3v 0.3v; t amb = 0 to 70 c; unless otherwise specified) table 6. general interface electrical characteristics note 1: the leakage currents are generally very small, < 1na. th e values given here are maximum after an electrostatic stress o n the pin. note 2: human body model table 7. dc electrical characteristics: 3.3v buffers 4i 2 c bus specification the STA320 supports the i 2 c protocol via the input ports scl and sda_in (master to slave) and the output port sda_out (slave to master). this protocol defines any device that sends data on to the bus as a transmitter and any device that reads the data as a receiver. the device that controls the data transfer is known as the master and the other as the slave. the master always starts the transfer and provides the serial clock for synchronization. the STA320 is always a slave device in all of its communications. it supported up to 400kb/sec rate (fast-mode bit rate). 4.1 communication protocol 4.1.1 data transition or change data changes on the sda line must only occur when the s cl clock is low. sda transition while the clock is high is used to identify a start or stop condition. 4.1.2 start condition start is identified by a high to low transition of the data bus sda signal while the clock signal scl is stable in the high state. a start condition must precede any command for data transfer. symbol parameter test condition min. typ. max. unit note i il low level input no pull-up v i = 0v 1 a1 i ih high level input no pull-down v i = v dd3 2 a1 i oz tristate output leakage without pullup/down v i = v dd3 2 a1 v esd electrostatic protection leakage < 1 a2000 v2 symbol parameter test condition min. typ. max. unit v il low level input voltage 0.8 v v ih high level input voltage 2.0 v v ilhyst low level threshold input falling 0.8 1.35 v v ihhyst high level threshold input rising 1.3 2.0 v v hyst schmitt trigger hysteresis 0.3 0.8 v v ol low level output ioi = 100ua 0.2 v v oh high level output ioh = -100ua ioh = -2ma vdd3-0.2 2.4 v v .com .com .com .com 4 .com u datasheet
5/37 STA320 4.1.3 stop condition stop is identified by low to high transition of the data bus sda signal while the clock signal scl is stable in the high state. a stop condition terminates communication between STA320 and the bus master. 4.1.4 data input during the data input the STA320 samples the sda signal on the rising edge of clock scl. for correct device operation the sda signal must be stable during the rising edge of the clock and the data can change only when the scl line is low. 4.2 device addressing to start communication between the master and the STA320, the master must initiate with a start condition. following this, the master sends onto the sda line 8-bits (msb first) corresponding to the device select address and read or write mode. the 7 most significant bits are the device address identifiers, corresponding to the i 2 c bus definition. in the STA320 the i 2 c interface has two device addresses depending on the sa port configuration, 0x34 when sa = 0, and 0x36 when sa = 1. the 8 th bit (lsb) identifies read or write operation rw, this bit is set to 1 in read mode and 0 for write mode and 0 for write mode. after a start condition the STA320 identifies on the bus the device address and if a match is found, it acknowledges the ident ification on sda bus during the 9 th bit time. the byte following the device identification byte is the internal space address. 4.3 write operation following the start condition the master sends a device select code with the rw bit set to 0. the STA320 acknowledges this and the writes for the byte of internal address. after receiving the internal byte address the STA320 again responds with an acknowledgement. 4.3.1 byte write in the byte write mode the master sends one data byte, this is acknowledged by the STA320. the master then terminates the transfer by generating a stop condition. 4.3.2 multi-byte write the multi-byte write modes can start from any internal address. the master generating a stop condition ter- minates the transfer. figure 3. write mode sequence dev-addr ack start rw sub-addr ack data in ack stop byte write dev-addr ack start rw sub-addr ack data in ack stop multibyte write data in ack .com .com .com .com 4 .com u datasheet
STA320 6/37 figure 4. read mode sequence 5 register summary table 8. register summary addr name d7 d6 d5 d4 d3 d2 d1 d0 0x00 confa fdrb twab twrb ir1 ir0 mcs2 mcs1 mcs0 0x01 confb c2im c1im dscke saifb sai3 sai2 sai1 sai0 0x02 confc ocrb csz4 csz3 csz2 csz1 csz0 om1 om0 0x03 confd mme zde drc bql psl dspb demp hpb 0x04 confe sve zce dccv pwms ame nsbw mpc mpcv 0x05 conff eapd pwdn ecle ldte bcle ide ocfg1 ocfg0 0x06 mute qfilt qxen tfrb c3m c2m c1m mmute 0x07 mvol mv7mv6mv5mv4mv3mv2mv1mv0 0x08 c1vol c1v7 c1v6 c1v5 c1v4 c1v3 c1v2 c1v1 c1v0 0x09 c2vol c2v7 c2v6 c2v5 c2v4 c2v3 c2v2 c2v1 c2v0 0x0a c3vol c3v7 c3v6 c3v5 c3v4 c3v3 c3v2 c3v1 c3v0 0x0b auto1 amps amgc1 amgc0 amv1 amv0 ameq1 ameq0 0x0c auto2 xo3 xo2 xo1 xo0 amam2 amam1 amam0 amame 0x0d auto3 peq4 peq3 peq2 peq1 peq0 0x0e c1cfg c1om1 c1om0 c1ls1 c1ls0 c1bo c1vbp c1eqbp c1tcb 0x0f c2cfg c2om1 c2om0 c2ls1 c2ls0 c2bo c2vbp c2eqbp c2tcb 0x10 c3cfg c3om1 c3om0 c3ls1 c3ls0 c3bo c3vbp 0x11 tone ttc3 ttc2 ttc1 ttc0 btc3 btc2 btc1 btc0 0x12 l1ar l1a3 l1a2 l1a1 l1a0 l1r3 l1r2 l1r1 l1r0 0x13 l1atrt l1at3 l1at2 l1at1 l1at0 l1rt3 l1rt2 l1rt1 l1rt0 0x14 l2ar l2a3 l2a2 l2a1 l2a0 l2r3 l2r2 l2r1 l2r0 0x15 l2atrt l2at3 l2at2 l2at1 l2at0 l2rt3 l2rt2 l2rt1 l2rt0 0x16 cfaddr cfa5 cfa4 cfa3 cfa2 cfa1 cfa0 0x17 b1cf1 c1b23 c1b22 c1b21 c1b20 c1b19 c1b18 c1b17 c1b16 0x18 b1cf2 c1b15 c1b14 c1b13 c1b12 c1b11 c1b10 c1b9 c1b8 0x19 b1cf3 c1b7 c1b6 c1b5 c1b4 c1b3 c1b2 c1b1 c1b0 0x1a b2cf1 c2b23 c2b22 c2b21 c2b20 c2b19 c2b18 c2b17 c2b16 0x1b b2cf2 c2b15 c2b14 c2b13 c2b12 c2b11 c2b10 c2b9 c2b8 dev-addr ack start rw data no ack stop current address read dev-addr ack start rw sub-addr ack dev-addr ack stop random address read data no ack start rw dev-addr ack start data ack data ack stop sequential current read data no ack dev-addr ack start rw sub-addr ack dev-addr ack sequential random read data ack start rw data ack no ack stop data rw= high .com .com .com .com 4 .com u datasheet
7/37 STA320 5.1 configuration register a (address 00h) 5.1.1 master clock select the STA320 will support sample rates of 32khz, 44.1khz, 48khz, 88.2khz, 96khz, therefore the internal clock will be: ? 32.768mhz for 32khz ? 45.1584mhz for 44.1khz, 88.2khz and 176.4khz ? 49.152mhz for 48khz, 96khz, and 192khz the external clock frequency provided to the xti pin must be a multiple of the input sample frequency(fs). the relationship between the input clock and the input sample rate is determined by both the mcsx and the ir (input rate) register bits. the mcsx bits determine the pll fa ctor generating the internal clock and the ir bit deter- mine the oversampling ratio used internally. addr name d7 d6 d5 d4 d3 d2 d1 d0 0x1c b2cf3 c2b7 c2b6 c2b5 c2b4 c2b3 c2b2 c2b1 c2b0 0x1d a1cf1 c3b23 c3b22 c3b21 c3b20 c3b19 c3b18 c3b17 c3b16 0x1e a1cf2 c3b15 c3b14 c3b13 c3b12 c3b11 c3b10 c3b9 c3b8 0x1f a1cf3 c3b7 c3b6 c3b5 c3b4 c3b3 c3b2 c3b1 c3b0 0x20 a2cf1 c4b23 c4b22 c4b21 c4b20 c4b19 c4b18 c4b17 c4b16 0x21 a2cf2 c4b15 c4b14 c4b13 c4b12 c4b11 c4b10 c4b9 c4b8 0x22 a2cf3 c4b7 c4b6 c4b5 c4b4 c4b3 c4b2 c4b1 c4b0 0x23 b0cf1 c5b23 c5b22 c5b21 c5b20 c5b19 c5b18 c5b17 c5b16 0x24 b0cf2 c5b15 c5b14 c5b13 c5b12 c5b11 c5b10 c5b9 c5b8 0x25 b0cf3 c5b7 c5b6 c5b5 c5b4 c5b3 c5b2 c5b1 c5b0 0x26 cfud ra r1 wa w1 0x27 mpcc1 mpcc15 mpcc14 mpcc13 mpcc12 mpcc11 mpcc10 mpcc9 mpcc8 0x28 mpcc2 mpcc7 mpcc6 mpcc5 mpcc4 mpcc3 mpcc2 mpcc1 mpcc0 0x29 dcc1 dcc15 dcc14 dcc13 dcc12 dcc11 dcc10 dcc9 dcc8 0x2a dcc2 dcc7 dcc6 dcc5 dcc4 dcc3 dcc2 dcc1 dcc0 0x2b fdrc1 fdrc15 fdrc14 fdrc13 fdrc12 fdrc11 fdrc10 fdrc9 fdrc8 0x2c fdrc2 fdrc7 fdrc6 fdrc5 fdrc4 fdrc3 fdrc2 fdrc1 fdrc0 0x2d status pllul ocwarn tfault fault twarn 0x2e bc0 resresresresresresresres 0x2f bs0 resresresresresresbs9 bs8 0x30 bs1 resresresresresresresres 0x31 b1 resresresresresresresres 0x32 b2 resresresresresresresres 0x33 t resresresresresresresres d7 d6 d5 d4 d3 d2 d1 d0 fdrb twab tfrb ir1 ir0 mcs2 mcs1 mcs0 01100011 bit r/w rst name description 0 r/w 1 mcs0 master clock select : selects the ratio between the input i 2 s sample frequency and the input clock. 1r/w 1 mcs1 2r/w 0 mcs2 table 8. register summary (continued) .com .com .com .com 4 .com u datasheet
STA320 8/37 table 9. 5.1.2 interpolation ratio select the STA320 has variable interpolation (oversampling) se ttings such that internal processing and ddx output rates remain consistent. the first processing block inte rpolates by either 2 times or 1 time (pass-through). or provides a 2 times downsample. the ir bits determine the oversampling ratio of this interpolation. ir bit settings as a function of input sample rate table 10. example: ir = 00, mcs = 011 (default value): xti = 256 x fs = 8.192mhz (fs=32khz) or 11.2896mhz (fs=44.1khz) or 12.288mhz (fs=48khz) 5.1.3 thermal warning recovery bypass if the thermal warning adjustment is enabled (twab=0), then the thermal warning recovery will deter- mine if the -3db adjustment is removed when thermal warning is negative. if twrb=0 and twab=0, then when a thermal warning disappears the -3db adjustment will be removed and the gain will be added back to the system. if twrb=1 and twab=0, then when a thermal warning disappears the -3db adjustment will remain until twrb is changed to zero or the device is reset. input sample rate fs (khz) ir mcs(2..0) 000 001 010 011 100 101 32, 44.1, 48 00 768fs 512fs 384fs 256fs 128fs 576fs 88.2, 96 01 384fs 256fs 192fs 128fs 64fs x 176.4, 192 1x 384fs 256fs 192fs 128fs 64fs x bit r/w rst name description 4..3 r/w 00 ir(1..0) interpolation ratio select: selects internal interpolation ratio based on input i 2 s sample frequency input sample rate fs (khz) ir(1,0) 1 st stage interpolation ratio 32 00 2 times oversampling 44.1 00 2 times oversampling 48 00 2 times oversampling 88.2 01 pass-through 96 01 pass-through 176.4 10 2 times oversampling 192 10 2 times oversampling bit r/w rst name description 5 r/w 1 twrb thermal-warning recovery bypass: 0 - thermal warning recovery enabled 1 - thermal warning recovery disabled .com .com .com .com 4 .com u datasheet
9/37 STA320 5.1.4 thermal warning adjustable bypass the on-chip STA320 power output block provides feedback to the digital controller using inputs to the power control block. the twarn input is used to indicate a thermal warning condition. when twarn is asserted (set to 0) for a period of time greater than 400ms, the power control block will force a -3db adjustment to the modulation limit in an attempt to eliminate the thermal warning condition. once the thermal warning volume adjustment is applied, it remains in this state until reset. 5.1.5 hermal warning adjustable bypass the on-chip STA320 power output block provides feedback to the digital controller using inputs to the power control block. the fault input is used to indicate a fault condition (either over-current or thermal). when fault is asserted (set to 0), the power control block will attempt a recovery from the fault by as- serting the tri-state output (setting it to 0 which directs the power output block to begin recovery), hold it at 0 for period of time in the range of .1ms to 1 second as defined by the fault-detect recovery constant register (fdrc registers 29-2ah), then toggle it back to 1. this sequence is repeated as log as the fault indication exists. this feature is enabled by default but can be bypassed by setting the fdrb control bit to 1. 5.2 configuration register b(address 01h) 5.2.1 serial data interface format 5.2.2 serial data interface the STA320 audio serial input was designed to interface with standard digital audio components and to accept a number of serial data formats. STA320 always acts a slave when receiving audio input from stan- dard digital audio components. serial data for two channels is provided using 3 inputs: left/right clock lrc- ki, serial clock bicki, and serial data 1 & 2 sdi12. the sai register (configuration register b - 01h, bits d3-d0) and the saifb register (configuration reg- ister b - 01h, bit d4) are used to specify the serial data format. the default serial data format is i2s, msb- first. available formats are shown in the tables and figure that follow. table 11. serial data first bit bit r/w rst name description 6 r/w 1 twab thermal-warning recovery bypass: 0 - thermal warning recovery enabled 1 - thermal warning recovery disabled bit r/w rst name description 7 r/w 0 fdrb fault -detector recovery bypass: 0 - fault detector recovery enabled 1 - fault detector recovery disabled d7 d6 d5 d4 d3 d2 d1 d0 c2im c1im dscke saifb sai3 sai2 sai1 sai0 10000000 bit r/w rst name description 0 r/w 0 sai0 serial audio input interface format: determines the interface format of the input serial digital audio interface. 1r/w 0 sai1 2r/w 0 sai2 3r/w 0 sai3 saifb format 0msb-first 1lsb-first .com .com .com .com 4 .com u datasheet
STA320 10/37 for example, sai=1110 and saifb=1 would specif y right-justified 16-bit data, lsb-first. table 4 below lists the serial audio input formats support ed by STA320 as related to bicki = 32/48/64fs, where sampling rate fs = 32/44.1/48/88.2/96khz. 5.2.3 delay serial clock enable table 12. supported serial audio input formats bicki sai (3...0) saifb interface format 32fs 1100 x i 2 s 15bit data 1110 x left/right-justified 16bit data 48fs 0100 x i 2 s 23bit data 0100 x i 2 s 20bit data 1000 x i 2 s 18bit data 0100 0 msb first i 2 s 16bit data 1100 1 lsb first i 2 s 16bit data 0001 x left-justified 24bit data 0101 x left-justified 20bit data 1001 x left-justified 18bit data 1101 x left-justified 16bit data 0010 x right-justified 24bit data 0110 x right-justified 20bit data 1010 x right-justified 18bit data 1110 x right-justified 16bit data 64fs 0000 x i 2 s 24bit data 0100 x i 2 s 20bit data 1000 x i 2 s 18bit data 0000 0 msb first i 2 s 16bit data 1100 1 lsb first i 2 s 16bit data 0001 x left-justified 24bit data 0101 x left-justified 20bit data 1001 x left-justified 18bit data 1101 x left-justified 16bit data 0010 x right-justified 24bit data 0110 x right-justified 20bit data 1010 x right-justified 18bit data 1110 x right-justified 16bit data bit r/w rst name description 5 r/w 0 dscke delay serial clock enable: 0 ? no serial clock delay 1 ? serial clock delay by 1 core clock cycle to tolerate anomalies in some i 2 s master devices .com .com .com .com 4 .com u datasheet
11/37 STA320 5.2.4 channel input mapping each channel received via i 2 s can be mapped to any internal processing channel via the channel input mapping registers. this allows for flexibility in processing. the default settings of these registers map each i 2 s input channel to its corresponding processing channel. 5.3 configuration register c(address 02h) 5.3.1 ddx power output mode the ddx power output mode selects how the ddx output ti ming is configured. different power devices use different output modes. the sta50x or sta51x recommended use is om = 10. table 13. output modes 5.3.2 ddx compensating pulse size register table 14. compensating pulse size bit r/w rst name description 6r/w 0 c1im 0 ? processing channel 1 receives left i 2 s input 1 ? processing channel 1 receives right i 2 s input 7r/w 1 c2im 0 ? processing channel 2 receives left i 2 s input 1 ? processing channel 2 receives right i 2 s input d7 d6 d5 d4 d3 d2 d1 d0 ocrb csz4 csz3 csz2 csz1 csz0 om1 om0 11000010 bit r/w rst name description 0 r/w 0 om0 ddx power output mode: selects configuration of ddx output. 1r/w 1 om1 om(1,0) output stage ? mode 00 sta50x/sta51x ? drop compensation 01 discrete output stage ? tapered compensation 10 sta50x/sta51x ? full power mode 11 variable drop compensation (cszx bits) bit r/w rst name description 2 r/w 0 csz0 contra size register: when om(1,0) = 11, this register determines the size of the ddx compensating pulse from 0 clock ticks to 31 clock periods. 3r/w 0 csz1 4r/w 0 csz2 5r/w 0 csz3 6r/w 1 csz4 csz(4..0) compensating pulse size 00000 0ns(0 tick) compensating pulse size 00001 10ns(1 tick) clock period compensating pulse size ?? 11111 310ns(31 tick) clock period compensating pulse size .com .com .com .com 4 .com u datasheet
STA320 12/37 5.3.3 over-current warning detect adjustment bypass the ocdetect input is used to indicate an over-current warning condition. when ocdetect is as- serted (set to 0), the power control block will force a -3db adjustment to the modulation limit in an attempt to eliminate the over-current warning condition. once the over-current warning volume adjustment is applied, it remains in this state until reset is applied. 5.4 configuration register d(address 03h) 5.4.1 high-pass filter bypass the STA320 features an internal digital high-pass filter for the purpose of ac coupling. the purpose of this filter is to prevent dc signals from passing through a ddx amplifier. dc signals can cause speaker damage. when hpb=0, this filter is enabled 5.4.2 de-emphasis setting the demp bit enables de-emphasis on all channels 5.4.3 dsp bypass setting the dspb bit bypasses the eq functionality of the STA320. 5.4.4 post-scale link post-scale functionality can be used for power-supply error correction. for multi-channel applications running off the same power-supply, the post-scale values can be linked to the value of channel 1 for ease of use and update the values faster. bit r/w rst name description 7 r/w 1 ocrb over-current-warning adjustment bypass: 0 - over-current warning adjustment enabled 1 - over-current warning adjustment disabled d7 d6 d5 d4 d3 d2 d1 d0 mme zde drc bql psl dspb demp hpb 01000000 bit r/w rst name description 0 r/w 0 hpb high-pass filter bypass bit. setting of one bypasses internal ac coupling digital high-pass filter bit r/w rst name description 1 r/w 0 demp de-emphasis 0 - no de-emphasis 1 - de-emphasis bit r/w rst name description 2 r/w 0 dspb dsp bypass bit: 0 - normal operation 1 - bypass of biquad and bass/treble functionality bit r/w rst name description 3 r/w 0 psl post-scale link: 0 - each channel uses individual post-scale value 1 - each channel uses channel 1 post-scale value .com .com .com .com 4 .com u datasheet
13/37 STA320 5.4.5 biquad coefficient link for ease of use, all channels can use the biquad coefficients loaded into the channel 1 coefficient ram space by setting the bql bit to 1. therefore, any eq updates only have to be performed once. 5.4.6 dynamic range compression/anti-clipping bit both limiters can be used in one of two ways, anti-clipping or dynamic range compression. when used in anti- clipping mode the limiter threshold values are constant and dependent on the limiter settings. in dynamic range compression mode the limiter threshold va lues vary with the volume settings allowing a night- time listening mode that provides a reduction in the dynamic range regardless of the volume level. 5.4.7 zero-detect mute enable setting the zde bit enables the zero-detect automatic mute. the zero-detect circuit looks at the data for each processing channel at the output of the crossover (bass management) filter. if any channel receives 2048 consecutive zero value samples (regardless of fs) then that individual channel is muted if this func- tion is enabled 5.4.8 miami mode tm enable 5.5 configuration register e(address 04h) 5.5.1 max power correction variable 5.5.2 max power correction bit r/w rst name description 4 r/w 0 bql biquad link: 0 - each channel uses coefficient values 1 - each channel uses channel 1 coefficient values bit r/w rst name description 5 r/w 0 drc dynamic range compression/anti-clipping 0 ? limiters act in anti-clipping mode 1 ? limiters act in dynamic range compression mode bit r/w rst name description 6 r/w 1 zde zero-detect mute enable: setting of 1 enables the automatic zero-detect mute bit r/w rst name description 7 r/w 0 mme miami-mode enable: 0 - sub mix into left/right disabled 1 - sub mix into left/right enabled d7 d6 d5 d4 d3 d2 d1 d0 sve zce dccv pwms ame nsbw mpc mpcv 11000010 bit r/w rst name description 0 r/w 0 mpcv max power correction variable: 0 - use standard mpc coefficient 1 - use mpcc bits for mpc coefficient bit r/w rst name description 1 r/w 1 mpc max power correction: setting of 1 enables sta50x/sta51x correction for thd reduction near maximum power output .com .com .com .com 4 .com u datasheet
STA320 14/37 setting the mpc bit turns on special processing that co rrects the sta50x/sta51x power device at high power. this mode should lower the thd+n of a full sta50x/sta 51x ddx system at maximum power output and slight- ly below. if enabled, mpc is operational in al l output modes except tapered (om(1,0) = 01). 5.5.3 noise-shaper bandwidth selection 5.5.4 am mode enable the STA320 features a ddx processing mode that minimize s the amount of noise generated in frequency range of am radio. this mode is intended for use when ddx is operating in a device with an am tuner active. the snr of the ddx processing is reduced to ~83db in this mode, which is still greater than the snr of am radio. 5.5.5 pwm speed mode 5.5.6 distortion compensation variable enable 5.5.7 zero-crossing volume enable the zce bit enables zero-crossing volume adjustments. wh en volume is adjusted on digital zero-crossings no clicks will be audible. 5.5.8 soft volume enable 5.6 configuration register f(address 05h) bit r/w rst name description 2 r/w 0 nsbw noise-shaper bandwidth selection: 1 - 3 rd order ns 0 - 4 th order ns bit r/w rst name description 3 r/w 0 ame am mode enable: 0 - normal ddx operation. 1 - am reduction mode ddx operation bit r/w rst name description 4 r/w 0 pwms pwm speed selection: 0 - normal speed(384khz) all channels 1 - odd speed(341.3khz) all channels bit r/w rst name description 5 r/w 0 dccv distortion compensation variable enable: 0 - uses preset dc coefficient. 1 - uses dcc coefficient. bit r/w rst name description 6 r/w 1 zce zero-crossing volume enable: 1 - volume adjustments will only occur at digital zero-crossings 0 - volume adjustments will occur immediately bit r/w rst name description 7 r/w 1 sve soft volume enable: 1 - volume adjustments ramp according to svr settings 0 - volume adjustments will occur immediately d7 d6 d5 d4 d3 d2 d1 d0 eapd pwdn ecle ldte bcle ide ocfg1p ocfg0 01011100 .com .com .com .com 4 .com u datasheet
15/37 STA320 5.6.1 output configuration table 15. output configuration engine selection 5.6.2 invalid input detect mute enable setting the ide bit enables this func tion, which looks at the input i 2 s data and will automatically mute if the sig- nals are perceived as invalid. 5.6.3 detects loss of input mclk in binary mode and will output 50% duty cycle. 5.6.4 actively prevents double trigger of lrclk. 5.6.5 when active will issue a power device power down signal(eapd) on clock loss detection bit r/w rst name description 0 r/w 0 ocfg0 selects the output configuration 1r/w 0 ocfg1 ocfg(1..0) output configuration 00 2 channel (full-bridge) power, 1 channel ddx: 1a/1b 1a/1b w/ c1bo 0 2a/2b 2a/2b w/ c2bo 90/180 3a/3b 3a/3b w/ c3bo 45 01 2(half-bridge).1(full-bridge) on-board power: 1a 1a binary 0 2a 1b binary 90 3a/3b 2a/2b binary 45 1a 3a binary 0 2a 3b binary 90 10 2 channel (full-bridge) power, 2 channel data-out: 1a/1b 1a/1b binary 0 2a/2b 2a/2b binary 90 1a 3a binary 0 2a 3b binary 90 11 1 channel mono-parallel: 3a 1a/1b w/ c3bo 45 3b 2a/2b w/ c3bo 45 3a/3b 3a/3b w/ c3bo 45 note to the left of the arrow is the processing channel. note that though the defaults are shown, using channel output mapping, any of the three processing channel outputs can be used for any of the three inputs bit r/w rst name description 2 r/w 1 ide invalid input detect mute enable: setting of 1 enables the automatic invalid input detect mute bit r/w rst name description 3 r/w 1 bcle binary output mode clock loss detection enable bit r/w rst name description 4 r/w 1 ldte lrclk double trigger protection enable bit r/w rst name description 5 r/w 0 ecle auto eapd on clock loss .com .com .com .com 4 .com u datasheet
STA320 16/37 5.6.6 ic power down the pwdn register is used to place the ic in a low-power state. when pwdn is written as 0, the output will begin a soft-mute. after the mute condition is reached, eapd will be asserted to power down the power-stage, then the mas- ter clock to all internal hardware expect the i 2 c block will be gated. this places the ic in a very low power consumption stateconf 5.6.7 external amplifier power down 5.7 volume control registers(addresses 06-0ah) 5.7.1 mute/qxpander registeri 5.7.2 thermal fault(twarn2) recovery bypass the twarn2(thermal fault) input is used to indicate a thermal fault condition by an appropriate power device. when twarn2 is asserted (set to 0), the power control block will attempt a recovery from the fault by asserting the tri-state output (setting it to 0 which directs the power output block to begin recovery), hold it at 0 for period of time in the range of .1ms to 1 second as defined by the fault-detect recovery constant register (fdrc registers 29-2ah), then toggle it back to 1. this sequence is repeated as log as the fault indication exists. this feature is disabled by default but can be enabled by setting the tfrb control bit to 0. 5.7.3 qxpander enable 5.7.4 qfilter select bit r/w rst name description 7 r/w 1 pwdn ic power down: 0 - ic power down low-power condition 1 - ic normal operation bit r/w rst name description 7 r/w 0 eapd external amplifier power down: 0 -external power stage power down active 1 -normal operation d7 d6 d5 d4 d3 d2 d1 d0 qfilt qxen tfrb c3m c2m c1m mmute 00 100000 bit r/w rst name description 4 r/w 1 tfrb thermal-fault (twarn2) recovery bypass: 0 - thermal fault recovery enabled 1 - thermal fault recovery disabled bit r/w rst name description 6 r/w 0 qxen qxpander enable: 0 - qxpander disabled 1 - qxpander enabled with proper security code bit r/w rst name description 7 r/w 0 qfilt qfilter select 0 - qfilter used 1 - simple lpf used .com .com .com .com 4 .com u datasheet
17/37 STA320 5.7.5 master volume register 5.7.6 channel 1 volume 5.7.7 channel 2 volume 5.7.8 channel 3 volume the volume structure of the STA320 consists of individual volume registers for each channel and a master volume register that provides an offset to each channels volume setting. the individual channel volumes are adjustable in 0.5db steps from +48db to -80 db. as an example if c3v = 00h or +48db and mv = 18h or -12db, then the total gain for channel 3 = +36db. the master mute when set to 1 will mute all channels at once, whereas the individual channel mutes(cxm) will mute only that channel. both the master mute and the channel mutes provide a "soft mute" with the volume ramping down to mute in 4096 samples from the maximum volume setting at the internal processing rate(~96khz). a "hard mute" can be obtained by commanding a value of all 1's(255) to any channel volume register or the master vol- ume register. when volume offsets are provided via the master volume register any channel that whose total volume is less than -80db will be muted. all changes in volume take place at zero-crossings when zce = 1(configuration register f) on a per chan- nel basis as this creates the smoothest possible volume transitions. when zce=0, volume updates will occur immediately. table 16. master volume offset as a function of mv(7..0). d7 d6 d5 d4 d3 d2 d1 d0 mv7mv6mv5mv4mv3mv2mv1mv0 11111111 d7 d6 d5 d4 d3 d2 d1 d0 c1v7 c1v6 c1v5 c1v4 c1v3 c1v2 c1v1 c1v0 01100000 d7 d6 d5 d4 d3 d2 d1 d0 c2v7 c2v6 c2v5 c2v4 c2v3 c2v2 c2v1 c2v0 01100000 d7 d6 d5 d4 d3 d2 d1 d0 c3v7 c3v6 c3v5 c3v4 c3v3 c3v2 c3v1 c3v0 01100000 mv(7..0) volume offset from channel value 00000000(00h) 0db 00000001(01h) -0.5db 00000010(02h) -1db ?? 01001100(4ch) -38db ?? 11111110(feh) -127db 11111111(ffh) hard master mute .com .com .com .com 4 .com u datasheet
STA320 18/37 table 17. channel volume as a function of cxv(7..0) 5.8 auto mode registers 5.8.1 automode register 1(address 0x0b) table 18. automode eq settings by setting ameq to any setting other than 00 enables automode eq. when set, biquads 1-4 are not user programmable. any coefficient settings for these biquads will be ignored. also when automode eq is used the pre-scale value for channels 1-6 becomes hard-set to -18db, dependent upon the value of amps table 19. automode volume settings cxv(7..0) volume 00000000(00h) +48db 00000001(01h) +47.5db 00000010(02h) +47db ?? 01100001(5fh) +0.5db 01100000(60h) 0db 01011111(61h) -0.5db ?? 11010111(d7h) +59.5db 11011000(d8h) -60db 11011001(d9h) -61db 11011010(dah) -62db ?? 11101100(ech) -80 db 11101101(edh) hard channel mute ?? 11111111(ffh) hard channel mute d7 d6 d5 d4 d3 d2 d1 d0 amps amgc1 amgc2 amv2 amv1 ameq1 ameq0 1 000000 ameq(1,0) mode(biquad 2-6) 00 user programmable 01 preset eq ? peq bits 10 auto volume controlled loudness curve 11 na amv(1,0) mode(mvol) 00 mvol 0.5db 256 steps (standard) 01 mvol auto curve 30 steps 10 mvol auto curve 40 steps 11 mvol auto curve 50 steps .com .com .com .com 4 .com u datasheet
19/37 STA320 table 20. automode gain compression/limiters selection 5.8.2 5.8.3 automode register 2(address 0x0c) 5.8.4 am interference frequency switching table 21. automode am switching frequency selection 5.8.5 bass management crossover amgc(1...0) mode 00 user programmable gc 01 ac no clipping 2.1 10 ac limited clipping (10%) 2.1 11 drc nighttime listening mode 2.1 bit r/w rst name description 7 r/w 1 amps automode pre-scale 0 - user defined pre-scale when ameq /= 00 1 - -18db used for pre-scale when ameq /= 00 d7 d6 d5 d4 d3 d2 d1 d0 xo3 xo2 xo1 xo0 amam2 amam1 amam0 amame 00000000 bit r/w rst name description 0 r/w 0 amame automode am enable 0 - switching frequency determined by pwms setting 1 - switching frequency determined by amam settings amam(2..0) 48khz/96khz input fs 44.1khz/88.2khz input fs 000 0.535mhz ? 0.720mhz 0.535mhz ? 0.670mhz 001 0.721mhz ? 0.900mhz 0.671mhz ? 0.800mhz 010 0.901mhz ? 1.100mhz 0.801mhz ? 1.000mhz 011 1.101mhz ? 1.300mhz 1.001mhz ? 1.180mhz 100 1.301mhz ? 1.480mhz 1.181mhz ? 1.340mhz 101 1.481mhz ? 1.600mhz 1.341mhz ? 1.500mhz 110 1.601mhz ? 1.700mhz 1.501mhz ? 1.700mhz bit r/w rst name description 4 r/w 0 xo0 selects the bass-management crossover frequency. a 1st-order hi-pass filter (channels 1 and 2) or a 2nd-order lo-pass filter (channel 3) at the selected frequency is performed. 5r/w 0 xo1 6r/w 0 xo2 7r/w 0 xo3 .com .com .com .com 4 .com u datasheet
STA320 20/37 table 22. bass management crossover frequency 5.8.6 automoderegister 3 (address 0x0d) table 23. preset eq settings xo3..0) crossover frequency 0000 user -defined 0001 80 hz 0010 100 hz 0011 120 hz 0100 140 hz 0101 160 hz 0110 180 hz 0111 200 hz 1000 220 hz 1001 240 hz 1010 260 hz 1011 280 hz 1100 300 hz 1101 320 hz 1110 340 hz 1111 360 hz d7 d6 d5 d4 d3 d2 d1 d0 peq4 peq3 peq2 peq1 peq0 00000 peq(3..0) setting 00000 flat 00001 rock 00010 soft rock 00011 jazz 00100 classical 00101 dance 00110 pop 00111 soft 01000 hard 01001 party 01010 vocal 01011 hip-hop 01100 dialog 01101 bass-boost #1 01110 bass-boost #2 01111 bass-boost #3 10000 loudness 1 (least boost) 10001 loudness 2 10010 loudness 3 10011 loudness 4 10100 loudness 5 10101 loudness 6 10110 loudness 7 10111 loudness 8 11000 loudness 9 11001 loudness 10 11010 loudness 11 11011 loudness 12 11100 loudness 13 11101 loudness 14 11110 loudness 15 11111 loudness 16 (most boost) .com .com .com .com 4 .com u datasheet
21/37 STA320 5.9 channel configuration registers(addresses 0e-10h 5.9.1 ) 5.9.2 5.9.3 5.9.4 tone control bypass tone control(bass/treble) can be bypassed on a per channel basis for channels 1 and 2. cxtcb: 0 - perform tone control on channel x - normal operation 1 - bypass tone control on channel x 5.9.5 eq bypass eq control can be bypassed on a per channel basis for channels 1 and 2. if eq control is bypassed on a given channel the prescale and all filters (high-pass, biquads, de-emphasis, bass, treble in any combina- tion) are bypassed for that channel. cxeqbp: 0 - perform eq on channel x - normal operation 1 - bypass eq on channel x 5.9.6 volume bypass each channel contains an individual channel volume bypass. if a particular channel has volume bypassed via the cxvbp = 1 register then only the channel volume setting for that particular channel affects the vol- ume setting, the master volume setting will not affect that channel. 5.9.7 binary output enable registers each individual channel output can be set to output a binary pwm stream. in this mode output a of a channel will be considered the positive output and output b is negative inverse. cxbo: 0 - ddx tri-state output - normal operation 1 - binary outputlimiter select limiter selection can be made on a per-channel basis according to the channel limiter select bits. d7 d6 d5 d4 d3 d2 d1 d0 c1om1 c1om0 c1ls1 c1ls0 c1bo c1vpb c1eqbp c1tcb 00000000 d7 d6 d5 d4 d3 d2 d1 d0 c2om1 c2om0 c2ls1 c2ls0 c2bo c2vpb c2eqbp c2tcb 00000000 d7 d6 d5 d4 d3 d2 d1 d0 c3om1 c3om0 c3ls1 c3ls0 c2bo c3vpb 100000 .com .com .com .com 4 .com u datasheet
STA320 22/37 table 24. channel limiter mapping as a function of cxls bits 5.9.8 output mapping output mapping can be performed on a per channel basis according to the cxom channel output mapping bits. each input into the output configuration engine can receive data from any of the three processing channel outputs. table 25. channel output mapping as a function of cxom bits. 5.10 tone control register (address 11h) 5.10.1tone control 5.10.2tone control boost/cut as a function of btc and ttc bits. 5.11 dynamics control registers (addresses 12-15h) 5.11.1limiter 1 attack/release rate cxls(1,0) channel limiter mapping 00 channel has limiting disabled 01 channel is mapped to limiter #1 10 channel is mapped to limiter #2 cxom(1,0) channel x output source form 00 channel 1 01 channel 2 10 channel 3 d7 d6 d5 d4 d3 d2 d1 d0 ttc3 ttc2 ttc1 ttc0 btc3 btc2 btc1 btc0 01110 1 1 1 btc(3..0)/ttc(3..0) boost/cut 0000 -12db 0001 -12db ?? 0111 -4db 0110 -2db 0111 0db 1000 +2db 1001 +4db ?? 1101 +12db 1110 +12db 1111 +12db d7 d6 d5 d4 d3 d2 d1 d0 l1a3 l1a2 l1a1 l1a0 l1r3 l1r2 l1r1 l1r0 0110 1010 .com .com .com .com 4 .com u datasheet
23/37 STA320 5.11.2limiter 1 attack/release threshold 5.11.3limiter 2 attack/release rate 5.11.4limiter 2 attack/release threshold the STA320 includes 2 independent limiter blocks. the purpose of the limiters is to automatically reduce the dynamic range of a recording to prevent the outputs from clipping in anti-clipping mode or to actively reduce the dynamic range for a better listening environment such as a night-time listening mode which is often needed for dvds. the two modes are selected via the drc bit in configuration register f, bit 0 address 0x05. each channel can be mapped to either limiter or not mapped, meaning that channel will clip when 0dbfs is exceeded. each limiter will look at the present value of each channel that is mapped to it, select the maximum absolute value of all these channels, perform the limiting algorithm on that value, and then if needed adjust the gain of the mapped channels in unison. the limiter attack thresholds are determined by the lxat registers. it is recommended in anti-clipping mode to set this to 0dbfs, which corresponds to the maximum unclipped output power of a ddx amplifier. since gain can be added digitally within the STA320 it is possible to exceed 0dbfs or any other lxat setting, when this occurs, the limiter, when active, will automatically start reducing the gain. the rate at which the gain is reduced when the attack threshold is exceeded is dependent upon the attack rate reg- ister setting for that limiter. the gain reduction occurs on a peak-detect algorithm. the release of limiter, when the gain is again increased, is dependent on a rms-detect algorithm. the output of the volume/ limiter block is passed through a rms filter. the output of this filter is compared to the release threshold, determined by the release threshold register. when the rms filter output falls below the release thresh- old, the gain is again increased at a rate dependent upon the release rate register. the gain can never be increased past it's set value and therefore the release will only occur if the limiter has already reduced the gain. the release threshold value can be used to set what is effectively a minimum dynamic range, this is helpful as over-limiting can reduce the dynamic range to virtually zero and cause program material to sound "lifeless". in ac mode the attack and release thresholds are set relative to full-scale. in drc mode the attack thresh- old is set relative to the maximum volume setting of the channels mapped to that limiter and the release threshold is set relative to the maximum volume setting plus the attack threshold. figure 5. basic limiter and volume flow diagram. d7 d6 d5 d4 d3 d2 d1 d0 l1at3 l1at2 l1at1 l1at0 l1rt3 l1rt2 l1rt1 l1rt0 01101001 d7 d6 d5 d4 d3 d2 d1 d0 l2a3 l2a2 l2a1 l2a0 l2r3 l2r2 l2r1 l2r0 0110 1010 d7 d6 d5 d4 d3 d2 d1 d0 l2at3 l2at2 l2at1 l2at0 l2rt3 l2rt2 l2rt1 l2rt0 01101001 gain at tenuat ion saturation rms limiter gain/volume input output .com .com .com .com 4 .com u datasheet
STA320 24/37 table 26. limiter attack rate as a function of lxa bits. table 27. limiter release rate as a function of lxr bits. lxa(3..0) attack rate db/ms 0000 3.1584 fast 0001 2.7072 0010 2.2560 0011 1.8048 0100 1.3536 0101 0.9024 0110 0.4512 0111 0.2256 1000 0.1504 1001 0.1123 1010 0.0902 1011 0.0752 1100 0.0645 1101 0.0564 1110 0.0501 1111 0.0451 slow lxr(3..0) release rate db/ms 0000 0.5116 fast 0001 0.1370 0010 0.0744 0011 0.0499 0100 0.0360 0101 0.0299 0110 0.0264 0111 0.0208 1000 0.0198 1001 0.0172 1010 0.0147 1011 0.0137 1100 0.0134 1101 0.0117 1110 0.0110 1111 0.0104 slow .com .com .com .com 4 .com u datasheet
25/37 STA320 5.12 anti-clipping mode table 28. limiter attack threshold as a function of lxat bits (ac-mode). table 29. limiter release threshold as a as a function of lxrt bits (ac-mode). lxat(3..0) ac(db relative to fs) 0000 -12 0001 -10 0010 -8 0011 -6 0100 -4 0101 -2 0110 0 0111 +2 1000 +3 1001 +4 1010 +5 1011 +6 1100 +7 1101 +8 1110 +9 1111 +10 lxrt(3..0) ac(db relative to fs) 0000 - 0001 -29db 0010 -20db 0011 -16db 0100 -14db 0101 -12db 0110 -10db 0111 -8db 1000 -7db 1001 -6db 1010 -5db 1011 -4db 1100 -3db 1101 -2db 1110 -1db 1111 -0db .com .com .com .com 4 .com u datasheet
STA320 26/37 5.13 dynamic range compression mode table 30. limiter attack threshold as a function of lxat bits (drc-mode). table 31. limiter release threshold as a as a function of lxrt bits (drc-mode). lxat(3..0) drc(db relative to volume) 0000 -31 0001 -29 0010 -27 0011 -25 0100 -23 0101 -21 0110 -19 0111 -17 1000 -16 1001 -15 1010 -14 1011 -13 1100 -12 1101 -10 1110 -7 1111 -4 lxrt(3..0) drc(db relative to volume + lxat) 0000 - 0001 -38db 0010 -36db 0011 -33db 0100 -31db 0101 -30db 0110 -28db 0111 -26db 1000 -24db 1001 -22db 1010 -20db 1011 -18db 1100 -15db 1101 -12db 1110 -9db 1111 -6db .com .com .com .com 4 .com u datasheet
27/37 STA320 5.14 user-defined coefficient control registers (addresses 16-26h) 5.14.1coefficient address register 1 5.14.2coefficient b1data register bits 23..16 5.14.3coefficient b1data register bits 15..8 5.14.4coefficient b1data register bits 7..0 5.14.5coefficient b2 data register bits 23..16 5.14.6coefficient b2 data register bits 15..8 5.14.7coefficient b2 data register bits 7..0 5.14.8coefficient a1 data register bits 23..16 5.14.9coefficient a1 data register bits 15..8 d7 d6 d5 d4 d3 d2 d1 d0 cfa5 cfa4 cfa3 cfa2 cfa1 cfa0 000000 d7 d6 d5 d4 d3 d2 d1 d0 c1b23 c1b22 c1b21 c1b20 c1b19 c1b18 c1b17 c1b16 00000000 d7 d6 d5 d4 d3 d2 d1 d0 c1b15 c1b14 c1b13 c1b12 c1b11 c1b10 c1b9 c1b8 00000000 d7 d6 d5 d4 d3 d2 d1 d0 c1b7 c1b6 c1b5 c1b4 c1b3 c1b2 c1b1 c1b0 00000000 d7 d6 d5 d4 d3 d2 d1 d0 c2b23 c2b22 c2b21 c2b20 c2b19 c2b18 c2b17 c2b16 00000000 d7 d6 d5 d4 d3 d2 d1 d0 c2b15 c2b14 c2b13 c2b12 c2b11 c2b10 c2b9 c2b8 00000000 d7 d6 d5 d4 d3 d2 d1 d0 c2b7 c2b6 c2b5 c2b4 c2b3 c2b2 c2b1 c2b0 00000000 d7 d6 d5 d4 d3 d2 d1 d0 c1b23 c1b22 c1b21 c1b20 c1b19 c1b18 c1b17 c1b16 00000000 d7 d6 d5 d4 d3 d2 d1 d0 c3b15 c3b14 c3b13 c3b12 c3b11 c3b10 c3b9 c3b8 00000000 .com .com .com .com 4 .com u datasheet
STA320 28/37 5.14.10coefficient a1 data register bits 7..0 5.14.11coefficient a2 data register bits 23..16 5.14.12coefficient a2 data register bits 15..8 5.14.13coefficient a2 data register bits 7..0 5.14.14coefficient b0 data register bits 23..16 5.14.15coefficient b0 data register bits 15..8 5.14.16coefficient b0 data register bits 7..0 5.14.17coefficient write control register coefficients for user-defined eq, mixing, scaling, and bass management are handled internally in the STA320 via ram. access to this ram is available to the user via an i 2 c register interface. a collection of i 2 c registers are dedicated to this function. one contains a coefficient base address, five sets of three st ore the values of the 24-bit coefficients to be written or that were read, and one contains bits used to control the write/read of the coefficient(s) to/from ram. the following are instructions for reading and writing coefficients. d7 d6 d5 d4 d3 d2 d1 d0 c3b7 c3b6 c3b5 c3b4 c3b3 c3b2 c3b1 c3b0 00000000 d7 d6 d5 d4 d3 d2 d1 d0 c4b23 c4b22 c4b21 c4b20 c4b19 c4b18 c4b17 c4b16 00000000 d7 d6 d5 d4 d3 d2 d1 d0 c4b15 c4b14 c4b13 c4b12 c4b11 c4b10 c4b9 c4b8 00000000 d7 d6 d5 d4 d3 d2 d1 d0 c4b7 c4b6 c4b5 c4b4 c4b3 c4b2 c4b1 c4b0 00000000 d7 d6 d5 d4 d3 d2 d1 d0 c5b23 c5b22 c5b21 c5b20 c5b19 c5b18 c5b17 c5b16 00000000 d7 d6 d5 d4 d3 d2 d1 d0 c5b15 c5b14 c5b13 c5b12 c5b11 c5b10 c5b9 c5b8 00000000 d7 d6 d5 d4 d3 d2 d1 d0 c5b7 c5b6 c5b5 c5b4 c5b3 c5b2 c5b1 c5b0 00000000 d7 d6 d5 d4 d3 d2 d1 d0 ra r1 wa w1 0000 .com .com .com .com 4 .com u datasheet
29/37 STA320 5.14.18reading a coefficient from ram write 6-bits of address to i 2 c register 14h write 1 to r1 bit in i 2 c address 24h read top 8-bits of coefficient in i 2 c address 15h read middle 8-bits of coefficient in i 2 c address 16h read bottom 8-bits of coefficient in i 2 c address 17h 5.14.19reading a set of coefficients from ram write 6-bits of address to i 2 c register 14h write 1 to ra bit in i 2 c address 24h read top 8-bits of coefficient in i 2 c address 15h read middle 8-bits of coefficient in i 2 c address 16h read bottom 8-bits of coefficient in i 2 c address 17h read top 8-bits of coefficient b2 in i 2 c address 18h read middle 8-bits of coefficient b2 in i 2 c address 19h read bottom 8-bits of coefficient b2 in i 2 c address 1ah read top 8-bits of coefficient a1 in i 2 c address 1bh read middle 8-bits of coefficient a1 in i 2 c address 1ch read bottom 8-bits of coefficient a1 in i 2 c address 1dh read top 8-bits of coefficient a2 in i 2 c address 1eh read middle 8-bits of coefficient a2 in i 2 c address 1fh read bottom 8-bits of coefficient a2 in i 2 c address 20h read top 8-bits of coefficient b0 in i 2 c address 21h read middle 8-bits of coefficient b0 in i 2 c address 22h read bottom 8-bits of coefficient b0 in i 2 c address 23h 5.14.20writing a single coefficient to ram write 6-bits of address to i 2 c register 14h write top 8-bits of coefficient in i 2 c address 15h write middle 8-bits of coefficient in i 2 c address 16h write bottom 8-bits of coefficient in i 2 c address 17h write 1 to w1 bit in i 2 c address 24h 5.14.21writing a set of coefficients to ram write 6-bits of starting address to i 2 c register 14h write top 8-bits of coefficient b1 in i 2 c address 15h write middle 8-bits of coefficient b1 in i 2 c address 16h write bottom 8-bits of coefficient b1 in i 2 c address 17h write top 8-bits of coefficient b2 in i 2 c address 18h write middle 8-bits of coefficient b2 in i 2 c address 19h .com .com .com .com 4 .com u datasheet
STA320 30/37 write bottom 8-bits of coefficient b2 in i 2 c address 1ah write top 8-bits of coefficient a1 in i 2 c address 1bh write middle 8-bits of coefficient a1 in i 2 c address 1ch write bottom 8-bits of coefficient a1 in i 2 c address 1dh write top 8-bits of coefficient a2 in i 2 c address 1eh write middle 8-bits of coefficient a2 in i 2 c address 1fh write bottom 8-bits of coefficient a2 in i 2 c address 20h write top 8-bits of coefficient b0 in i 2 c address 21h write middle 8-bits of coefficient b0 in i 2 c address 22h write bottom 8-bits of coefficient b0 in i 2 c address 23h write 1 to wa bit in i 2 c address 24h the mechanism for writing a set of coefficients to ram provides a method of updating the five coefficients cor- responding to a given biquad (filter) simultaneously to avoid possible unpleasant acoustic side-effects. when using this technique, the 6-bit address would specify the a ddress of the biquad b1 coefficient (e.g. 0, 5, 10, ?, 20, ? 35 decimal), and the STA320 will generate the ram addresses as offsets from this base value to write the complete set of coefficient data. 5.14.22user-defined eq the STA320 provides the ability to spec ify four eq filters (biquads) per each of the two input channels. the bi- quads use the following equation: y[n] = 2(b 0 /2)x[n] + 2(b 1 /2)x[n-1] + b 2 x[n-2] - 2(a 1 /2)y[n-1] - a 2 y[n-2] = b 0 x[n] + b 1 x[n-1] + b 2 x[n-2] - a 1 y[n-1] - a 2 y[n-2] where y[n] represents the output and x[n] represents the input. multipliers are 24-bit signed fractional multipli- ers, with coefficient values in the range of 800000h (-1) to 7fffffh (0.9999998808). coefficients stored in the user defined coefficient ram are referenced in the following manner: cxhy0 = b1/2 cxhy1 = b2 cxhy2 = -a1/2 cxhy3 = -a2 cxhy4 = b0/2 where x represents the channel and the y the biquad number. for example c2h41 is the b 2 coefficient in the fourth biquad for channel 2. additionally, the STA320 allows specification of a high- pass filter (processing channels 1 and 2) and a lo-pass filter (processing channel 3) to be used for bass-management crossover when the xo setting is "000" (user- defined). both of these filters when defined by the user (rather than us ing the preset crossover filters) are 2nd order filters that use the biquad equation noted above. they are loaded into the c12h0-4 and c3hy0-4 areas of ram noted in the table below. .com .com .com .com 4 .com u datasheet
31/37 STA320 by default, all user-defined filters are "pass-thru" where al l coefficients are set to 0, except the b0/2 coefficient which is set to 400000h (representing 0.5) 5.14.23pre-scale the STA320 provides a multiplication for each input channel for the purpose of scaling the input prior to eq. this pre-eq scaling is accomplished by using a 24-bit signed fractional multiplier, with 800000h = -1 and 7fffffh = 0.9999998808. the scale factor for this multiply is loaded into ram using the same i 2 c registers as the biquad coefficients and the bass-management. all channels can use the channel 1 pre- scale factor by setting the biquad link bit. by default, all pre-scale factors are set to 7fffffh. 5.14.24post-scale the STA320 provides one additional multiplication after the last interpolation stage and the distortion compen- sation on each channel. this post-scaling is accomplished by using a 24-bit signed fractional multiplier, with 800000h = -1 and 7fffffh = 0.9999998808. the scale factor for this multiply is loaded into ram using the same i 2 c registers as the biquad coefficients and the bass-management. this post-scale factor can be used in conjunction with an adc equipped micro-controller to perform power-sup- ply error correction. all channels can use the channel 1 post-scale factor by setting the post-scale link bit. by default, all post-scale factors are set to 7fffffh. 5.14.25over-current post-scale the STA320 provides a simple mechanism for reacting to over-current detection in the power-device. when the ocdetect input is asserted, the over-current post-scale value is used in place of the normal post-scale value to provide output attenuation on all channels. the default setting provides 3db of output attenuation when ocdetect is asserted. the amount of attenuation to be applied in this situation can be adjusted by modifying the over-current post-scale value. as with the normal post-scale, this scaling value is a 24-bit signed fractional multiplier, with 800000h = -1 and 7fffffh = 0.9999998808. by default, the over-current post-scale factor is set to 5a9df7h. once the over- current attenuation is applied, it remains until the device is reset. .com .com .com .com 4 .com u datasheet
STA320 32/37 table 32. ram block for biquads, mixing, and bass management index (decimal) index (hex) coefficient default 0 00h channel 1 ? biquad 1 c1h10(b1/2) 000000h 1 01h c1h11(b2) 000000h 2 02h c1h12(a1/2) 000000h 3 03h c1h13(a2) 000000h 4 04h c1h14(b0/2) 400000h 5 05h channel 1 ? biquad 2 c1h20 000000h ??? ? ? 19 13h channel 1 ? biquad 4 c1h44 400000h 20 14h channel 2 ? biquad 1 c2h10 000000h 21 15h c2h11 000000h ??? ? ? 39 27h channel 2 ? biquad 4 c2h44 400000h 40 28h hi-pass 2 nd order filter for xo=000 c12h0(b1/2) 000000h 41 29h c12h1(b2) 000000h 42 2ah c12h2(a1/2) 000000h 43 2bh c12h3(a2) 000000h 44 2ch c12h4(b0/2) 400000h 45 2dh lo-pass 2 nd order filter for xo=000 c3h0(b1/2) 000000h 46 2eh c3h1(b2) 000000h 47 2fh c3h2(a1/2) 000000h 48 30h c3h3(a2) 000000h 49 31h c3h4(b0/2) 400000h 50 32h channel 1 ? pre-scale c1pres 7fffffh 51 33h channel 2 ? pre-scale c2pres 7fffffh 52 34h channel 1 ? post-scale c1psts 7fffffh 53 35h channel 2 ? post-scale c2psts 7fffffh 54 36h channel 3 ? post-scale c3psts 7fffffh 55 37h over-current ? post-scale ocpsts 5a9df7h 56 38h channel 1 ? mix 1 c1mx1 7fffffh 57 39h channel 1 ? mix 2 c1mx2 000000h 58 3ah channel 2 ? mix 1 c2mx1 000000h 59 3bh channel 2 ? mix 2 c2mx2 7fffffh 60 3ch channel 3 ? mix 1 c3mx1 400000h 61 3dh channel 3 ? mix 2 c3mx2 400000h 62 3eh unused 63 3fh unused .com .com .com .com 4 .com u datasheet
33/37 STA320 5.15 variable max power correction registers (addresses 27-29h): mpcc bits determine the 16 msbs of the mpc compensation coefficient. this coefficient is used in place of the default coefficient when mpcv = 1 5.15.1. 5.15.2 5.16 fault detect recovery constant registers(addresses 2b-2ch) fdrc bits specify the 16-bit fault detect recovery time delay. when fault is asserted, the tristate output will be immediately asserted lo and held lo for the time per iod specified by this cons tant. a constant value of 0001h in this register is ~.083ms. t he default value of 000c specifies ~.1msec. 5.16.1 5.16.2 5.17 device status register(address 2dh) this register provides fault and thermal-warning status information from the power control block. 5.18 reserved registers(address 2fh) 5.19 reserved registers(addresses 30h-31h) d7 d6 d5 d4 d3 d2 d1 d0 mpcc15 mpcc14 mpcc13 mpcc12 mpcc11 mpcc10 mpcc9 mpcc8 00101101 d7 d6 d5 d4 d3 d2 d1 d0 mpcc7 mpcc6 mpcc5 mpcc4 mpcc3 mpcc2 mpcc1 mpcc0 11000000 d7 d6 d5 d4 d3 d2 d1 d0 fdrc15 fdrc14 fdrc13 fdrc12 fdrc11 fdrc10 fdrc9 fdrc8 00000000 d7 d6 d5 d4 d3 d2 d1 d0 fdrc7 fdrc6 fdrc5 fdrc4 fdrc3 fdrc2 fdrc1 fdrc0 00001100 d7 d6 d5 d4 d3 d2 d1 d0 pllul ocwarn tfault fault twarn 1111 d7 d6 d5 d4 d3 d2 d1 d0 resresresresresresresres 01110000 d7 d6 d5 d4 d3 d2 d1 d0 resresresresresresresres .com .com .com .com 4 .com u datasheet
STA320 34/37 5.19.1 for details see next an. d7 d6 d5 d4 d3 d2 d1 d0 resresresresresresresres .com .com .com .com 4 .com u datasheet
35/37 STA320 6 package information in order to meet environmental requirements, st offers these devices in ecopack ? packages. these packages have a lead-free second level interconnect. the category of second level interconnect is marked on the package and on the inner box label, in compliance with jedec standard jesd97. the maximum ratings related to soldering conditions are also marked on the inner box label. ecopack is an st trademark. ecopack specifications are available at: www.st.com. figure 6. so28 mechanical data & package dimensions so-28 dim. mm inch min. typ. max. min. typ. max. a 2.65 0.104 a1 0.1 0.3 0.004 0.012 b 0.35 0.49 0.014 0.019 b1 0.23 0.32 0.009 0.013 c 0.5 0.020 c1 45 (typ.) d 17.7 18.1 0.697 0.713 e 10 10.65 0.394 0.419 e 1.27 0.050 e3 16.51 0.65 f 7.4 7.6 0.291 0.299 l 0.4 1.27 0.016 0.050 s8 (max.) outline and mechanical data .com .com .com .com 4 .com u datasheet
STA320 36/37 table 33. revision history date revision description of changes november 2004 1 first issue .com .com .com .com 4 .com u datasheet
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 ddx is a trademark of apogee tecnology inc. ? 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 37/37 STA320 .com .com .com 4 .com u datasheet


▲Up To Search▲   

 
Price & Availability of STA320

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