Part Number Hot Search : 
FMB24L TEG1223 MU2157A 154742 MC10E155 AV065 85HF10R SSA33L
Product Description
Full Text Search
 

To Download CS4923 Datasheet File

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


  Datasheet File OCR Text:
  preliminary product information this document contains information for a new product. cirrus logic reserves the right to modify this product without notice. 1 copyright ? cirrus logic, inc. 1999 (all rights reserved) p.o. box 17847, austin, texas 78760 (512) 445 7222 fax: (512) 445 7581 http://www.cirrus.com CS4923/4/5/6/7/8/9 multi-channel digital audio decoders l CS4923/4/5/6/7/8 features optional virtual 3d output simulated surround and programmable effects real time autodetection of dolby digital ? , dts ? , mpeg multi-channel and pcm flexible 6-channel master or slave output l CS4923/4/5/6/7/8/9 features iec60958/61937 transmitter for compressed- data or linear-pcm output dedicated 8 kilobyte input buffer dac clock via analog phase-locked loop dedicated byte wide or serial host interface multiple compressed data input modes pes layer decode for a/v synchronization 96-khz-capable pcm i/o, master or slave optional external memory and auto-boot +3.3-v cmos low-power, 44-pin package l CS4923/4/5/6 features capable of dolby digital ? group a performance dolby bass manager and crossover filters dolby surround pro logic ? decoding l cs4925/7: mpeg-2 multi-channel decoder l cs4926/8: dts multi-channel decoder l cs4929: aac 2-channel (low complexity) and mpeg-2 stereo decoder description the CS4923/4/5/6/7/8 is a family of multi-channel digital audio decoders, with the exception of the cs4929 as the only stereo digital audio decoder. the CS4923/4/5/6 are designed for dolby digital and mpeg-2 stereo decoding. in addition the cs4925 adds mpeg-2 multi-channel decoding capability and the cs4926 provides dts decoding. the cs4927 is an mpeg-2 multi-channel decoder and the cs4928 is a dts multi-channel decoder. the cs4929 is an aac 2-channel and mpeg-2 stereo decoder. each one of the CS4923/4/5/6/7/8/9 provides a complete and flexible solution for multi-channel (or stereo in the case of the cs4929) audio decoding in home a/v receiver/amplifiers, dvd movie players, out-board decoders, laser-disc players, hdtv sets, head-end decoders, set-top boxes, and similar products. cirrus logics crystal audio division provides a complete set of audio decoder and auxiliary audio dsp application programs for various applications. for all complementary analog and digital audio i/o, crystal audio also provides a complete set of high-quality audio peripherals including: multimedia codecs, stereo a/d and d/a converters and iec60958 interfaces. of special note, the cs4226 is a complementary codec providing a digital receiver, stereo a/d converters, and six 20-bit dacs in one package. ordering information CS4923xx-cl 44-pin plcc (xx = rom revision) crd4923 reference design with cs4226 cdb4923 evaluation board aug 99 ds262f2 data7:0, cs parallel or serial host interface cmpclk, compressed pll filt1 va framer dd dc mclk sclk lrclk audata[2.0] xmt958 cmpdat, sclkn2 cmpreq, lrclkn2 sclkn1, stcclk2 lrclkn1 sdatan1 data input interface digital audio input interface filt2 agnd clock manager clkin clksel shifter input buffer controller ram input buffer dgnd[3:1] vd[3:1] 24-bit dsp processing ram program memory ram data memory rom program memory rom data memory stc emad7:0, gpio7:0 r/ w , emoe , gpio11 rd , ds , emwr , gpio10 wr , scdout, psel, gpio9 scdio, a0, scclk a1, scdin aboot , intreq extmem , gpio8 output formatter ram buffer output reset sdatan2
CS4923/4/5/6/7/8/9 2 ds262f2 table of contents 1. characteristics and specifications ........................................................................ 4 absolute maximum ratings ............................................................................................ 4 recommended operating conditions ........................................................................ 4 digital d.c. characteristics .......................................................................................... 4 power supply characteristics ................................................................................... 4 switching characteristicsreset ............................................................................ 5 switching characteristicscmpdat, cmpclk........................................................ 6 switching characteristicsclkin ............................................................................. 7 switching characteristicsintel ? host mode..................................................... 8 switching characteristicsmotorola ? host mode ........................................ 10 switching characteristicsdigital audio input................................................ 16 switching characteristicsdigital audio output............................................ 18 2. family overview ............................................................................................................. .20 2.1 multi-channel decoder family of parts ............................................................................ 21 2.2 document strategy ......................................................................................................... .21 2.2.1 hardware documentation ............................................................................... 22 2.2.2 CS4923/4/5/6/7/8/9 application code users guides ..................................... 22 2.3 using the CS4923/4/5/6/7/8/9 .......................................................................................... 22 3. typical connection diagrams ................................................................................... 23 3.1 multiplexed pins .......................................................................................................... ..... 23 3.2 termination requirements ............................................................................................... 24 3.3 phase locked loop filter ................................................................................................ 24 4. power ....................................................................................................................... ........... 31 4.1 decoupling ................................................................................................................ ....... 31 4.2 analog power conditioning .............................................................................................. 31 4.3 pads ...................................................................................................................... ........... 31 5. clocking .................................................................................................................... ......... 32 6. control ..................................................................................................................... ......... 33 6.1 boot and control mode overview .................................................................................... 33 6.2 parallel host interface ................................................................................................... ... 34 6.2.1 intel parallel host mode .................................................................................. 34 6.2.2 motorola parallel host mode ........................................................................... 36 6.3 spi serial host interface ................................................................................................. .36 6.3.1 spi write ......................................................................................................... 37 6.3.2 spi read ......................................................................................................... 37 contacting cirrus logic support for a complete listing of direct sales, distributor, and sales representative contacts, visit the cirrus logic web site at: http://www.cirrus.com/corporate/contacts/ dolby, dolby digital, and pro logic are registered trademarks of dolby laboratories licensing corporation. intel is a registered trademark of intel corporation. motorola is a registered trademark of motorola, inc. i 2 c is a registered trademark of philips semic onductor. all other names are trademarks, registered trademarks, or service marks of their respective companies. preliminary product information describes products which are in production, but for which full characterization data is not yet available. advance product infor- mation describes products which are in development and subject to development changes. cirrus logic, inc. has made best effort s to ensure that the information contained in this document is accurate and reliable. however, the information is subject to change without notice and is provi d ed as is without warranty of any kind (express or implied). no responsib ility is assumed by cirrus logic, inc. for the use of this information, nor for infringements of patents or other rights of third parties. this document is the property of cirrus logic, inc. and implies no license under patents, copyrights, tradem arks, or trade secrets. no part of this publication may be copied, reproduced, stored in a retrieval system, or transmitted, in any form or by any means (electron ic, mechanical, photographic, or otherwise) without the prior written consent of cirrus logic, inc. items from any cirrus logic website or disk may be printed for use by the user. however, no part of the printout or electronic files may be copied, reproduced, stored in a retrieval system, or transmitted, in any form o r by any means (electronic, mechanical, photographic, or otherwise) without the prior written consent of cirrus logic, inc.furthermore, no part of this publication may be used as a basis for manufacture or sale of any items without the prior written consent of cirrus logic, inc. the names of products of cirrus logic, inc. or ot her vendors and suppliers appearing in this document may be trademarks or service marks of their respective owners which may be registered in some jurisdictions. a list of cirrus logic, inc. trade- marks and service marks can be found at http://www.cirrus.com.
CS4923/4/5/6/7/8/9 ds262f2 3 6.4 i 2 c serial host interface .................................................................................................. 39 6.4.1 i 2 c write ......................................................................................................... 39 6.4.2 i 2 c read ......................................................................................................... 39 6.5 external memory ........................................................................................................... ... 41 6.5.1 external memory and autoboot ...................................................................... 43 7. digital input & output .................................................................................................. 44 7.1 digital audio formats ..................................................................................................... .. 44 7.2 digital audio input port .................................................................................................. .. 46 7.3 compressed data input port ........................................................................................... 46 7.4 parallel digital audio data input ...................................................................................... 46 7.5 digital audio output port ................................................................................................. 47 7.5.1 iec60958 output ............................................................................................ 48 8. pin descriptions ............................................................................................................ .. 49 9. package dimensions ...................................................................................................... 54 list of figures figure 1. reset timing .................................................................................................................. 5 figure 2. serial compressed data timing ....................................................................................... 6 figure 3. clkin with clksel = vss = pll enable........................................................................ 7 figure 4. clkin with clksel = vd = pll bypass ......................................................................... 7 figure 5. intel parallel host mode read cycle................................................................................. 9 figure 6. intel parallel host mode write cycle................................................................................. 9 figure 7. motorola parallel host mode read cycle ....................................................................... 11 figure 8. motorola parallel host mode write cycle........................................................................ 11 figure 9. spi control port timing.............................................................................................. ..... 13 figure 10. i 2 c control port timing ................................................................................................. 15 figure 11. digital audio input, data and clock timing................................................................... 17 figure 12. digital audio output, data and clock timing ................................................................ 19 figure 13. i 2 c control..................................................................................................................... 2 5 figure 14. i 2 c control with external memory ................................................................................. 26 figure 15. spi control ......................................................................................................... ........... 27 figure 16. spi control with external memory ................................................................................ 28 figure 17. intel parallel control mode ......................................................................................... ... 29 figure 18. motorola parallel control mode..................................................................................... 3 0 figure 19. spi timing.......................................................................................................... ........... 38 figure 20. i 2 c timing ..................................................................................................................... 40 figure 21. external memory interface ........................................................................................... .42 figure 22. run-time memory access ............................................................................................ 42 figure 23. autoboot timing diagram............................................................................................. .43 figure 24. i 2 s format ..................................................................................................................... 45 figure 25. left justified format............................................................................................... ....... 45 figure 26. right justified..................................................................................................... ........... 45 figure 27. multi-channel format (m == 20) ................................................................................... 45 list of tables table 1. silicon revisions ..................................................................................................... ......... 20 table 2. host modes ............................................................................................................ .......... 33 table 3. host memory map ....................................................................................................... ..... 34 table 4. intel parallel host mode pin assignments........................................................................ 34 table 5. parallel input/output registers....................................................................................... .. 35 table 6. motorola parallel host mode pin assignments ................................................................ 36 table 7. spi serial mode pin assignments.................................................................................... 36 table 8. i 2 c serial mode pin assignments .................................................................................... 39 table 9. memory interface pins................................................................................................. ..... 41 table 10. digital audio input port............................................................................................. ...... 46 table 11. compressed data input port .......................................................................................... 4 6 table 12. digital audio output port ............................................................................................ .... 47 table 13. mclk/sclk master mode ratios .................................................................................. 47
CS4923/4/5/6/7/8/9 4 ds262f2 1. characteristics and specifications absolute maximum ratings (agnd, dgnd = 0 v; all voltages with respect to 0 v) warning: operation at or beyond these limits may result in permanent damage to the device. normal operation is not guaranteed at these extremes. recommended operating conditions (agnd, dgnd = 0 v; all voltages with respect to 0 v) digital d.c. characteristics (t a = 25 c; va, vd[3:1] = 3.3 v 5%; measurements performed under static conditions.) power supply characteristics (t a = 25 c; va, vd[3:1] = 3.3 v 5%; measurements performed under operating conditions) parameter symbol min max unit dc power supplies: positive digital positive analog ||va| C |vd|| vd va C0.3 C0.3 - 3.63 3.63 0.4 v v v input current, any pin except supplies i in - 10 ma digital input voltage v ind C0.3 5.5 v ambient operating temperature (power applied) t amax C55 125 c storage temperature t stg C65 150 c parameter symbol min typ max unit dc power supplies: positive digital positive analog ||va| C |vd|| vd va 3.13 3.13 - 3.3 3.3 - 3.47 3.47 0.4 v v v ambient operating temperature t a 0-70 c parameter symbol min typ max unit high-level input voltage v ih 2.0 - - v low-level input voltage v il --0.8v high-level output voltage at i o = C4.0 ma v oh vd 0.9 - - v low-level output voltage at i o = 4.0 ma v ol --vd 0.1 v input leakage current i in --1.0 m a parameter symbol min typ max unit power supply current: digital operating: vd[3:1] analog operating: va - - 225 4 435 8 ma ma
CS4923/4/5/6/7/8/9 ds262f2 5 switching characteristicsreset (t a = 25 c; va, vd = 3.3 v 5%; inputs: logic 0 = dgnd, logic 1 = vd, c l = 20 pf)z parameter symbol min max unit reset minimum pulse width low t rstl 100 - ns all bidirectional pins high-z after reset low t rst2z -50ns configuration bits setup before reset high t rstsu 50 - ns configuration bits hold after reset high t rsthld 15 - ns reset t rst2z t rstl t rstsu t rsthld rd, wr, psel, aboot all bidirectional outputs figure 1. reset timing
CS4923/4/5/6/7/8/9 6 ds262f2 switching characteristicscmpdat, cmpclk (t a = 25 c; va, vd = 3.3 v 5%; inputs: logic 0 = dgnd, logic 1 = vd, c l = 20 pf) parameter symbol min max unit serial compressed data clock cmpclk period t cmpclk 37 - ns cmpdat setup before cmpclk high t cmpsu 5-ns cmpdat hold after cmpclk high t cmphld 3-ns cmpclk t cmpsu t cmpclk cmpdat t cmphld figure 2. serial compressed data timing
CS4923/4/5/6/7/8/9 ds262f2 7 switching characteristicsclkin (t a = 25 c; va, vd = 3.3 v 5%; inputs: logic 0 = dgnd, logic 1 = vd, c l = 20 pf) parameter symbol min max unit clkin period for internal dsp clock mode t clki 20 3800 ns clkin high time for internal dsp clock mode t clkih 8ns clkin low time for internal dsp clock mode t clkil 8ns clkin period for external dsp clock mode t clke 20 25 ns clkin high time for external dsp clock mode t clkeh 9ns clkin low time for external dsp clock mode t clkel 9ns clkin t clkih t clkil t clki figure 3. clkin with clksel = vss = pll enable clkin t clkeh t clkel t clke figure 4. clkin with clksel = vd = pll bypass
CS4923/4/5/6/7/8/9 8 ds262f2 switching characteristicsintel ? host mode (t a = 25 c; va, vd = 3.3 v 5%; inputs: logic 0 = dgnd, logic 1 = vd, c l = 20 pf) notes: 1. certain timing parameters are normalized to the dsp clock, dclk, in nanoseconds. the dsp clock can be defined as follows: external clkin mode: dclk == clkin/3 before and during boot dclk == clkin after boot internal clock mode: dclk == 10mhz before and during boot, i.e. dclk == 100ns dclk == 60 mhz after boot, i.e. dclk == 16.7ns (this speed may depend on clkin, please see CS4923/4/5/6/7/8/9 hardware users guide for more information) 2. this specification is characterized but not production tested. parameter symbol min max unit address setup before cs and rd low or cs and wr low t ias 5-ns address hold time after cs and rd low or cs and wr low t iah 5-ns delay between rd then cs low or cs then rd low t icdr 0 ns data valid after cs and rd low t idd -20ns cs and rd low for read (note 1) t irpw dclk + 10 - ns data hold time after cs or rd high t idhr 5-ns data high-z after cs or rd high (note 2) t idis -15ns cs or rd high to cs and rd low for next read (note 1) t ird 2*dclk + 10 - ns cs or rd high to cs and wr low for next write (note 1) t irdtw 2*dclk + 10 - ns delay between wr then cs low or cs then wr low t icdw 0 ns data setup before cs or wr high t idsu 20 - ns cs and wr low for write (note 1) t iwpw dclk + 10 - ns data hold after cs or wr high t idhw 5-ns cs or wr high to cs and rd low for next read (note 1) t iwtrd 2*dclk + 10 - ns cs or wr high to cs and wr low for next write (note 1) t iwd 2*dclk + 10 - ns
CS4923/4/5/6/7/8/9 ds262f2 9 a1:0 data7:0 cs wr rd t ias t icdr t iah t idd t irpw t idhr t idis t ird t irdtw figure 5. intel parallel host mode read cycle a1:0 data7:0 cs rd wr t ias t icdw t iah t iwpw t idhw t iwd t iwtrd t idsu figure 6. intel parallel host mode write cycle
CS4923/4/5/6/7/8/9 10 ds262f2 switching characteristicsmotorola ? host mode (t a = 25 c; va, vd = 3.3 v 5%; inputs: logic 0 = dgnd, logic 1 = vd, c l = 20 pf) notes: 3. certain timing parameters are normalized to the dsp clock, dclk, in nanoseconds. the dsp clock can be defined as follows: external clkin mode: dclk == clkin/3 before and during boot dclk == clkin after boot internal clock mode: dclk == 10mhz before and during boot, i.e. dclk == 100ns dclk == 60 mhz after boot, i.e. dclk == 16.7ns (this speed may depend on clkin, please see CS4923/4/5/6/7/8/9 hardware users guide for more information) 4. this specification is characterized but not production tested. parameter symbol min max unit address setup before cs and ds low t mas 5-ns address hold time after cs and ds low t mah 5-ns delay between ds then cs low or cs then ds low t mcdr 0 ns data valid after cs and ds low with r/w high t mdd -20ns cs and ds low for read (note 3) t mrpw dclk + 10 - ns data hold time after cs or ds high after read t mdhr 5-ns data high-z after cs or ds high low after read (note 4) t mdis -15ns cs or ds high to cs and ds low for next read (note 3) t mrd 2*dclk + 10 - ns cs or ds high to cs and ds low for next write (note 3) t mrdtw 2*dclk + 10 - ns delay between ds then cs low or cs then ds low t mcdw 0 ns data setup before cs or ds high t mdsu 20 - ns cs and ds low for write (note 3) t mwpw dclk + 10 - ns r/w setup before cs or ds low t mrwsu 5-ns r/w hold time after cs or ds high t mrwhld 5-ns data hold after cs or ds high t mdhw 5-ns cs or ds high to cs and ds low with r/w high for next read (note 3) t mwtrd 2*dclk + 10 - ns cs or ds high to cs and ds low for next write (note 3) t mwd 2*dclk + 10 - ns
CS4923/4/5/6/7/8/9 ds262f2 11 a1:0 data7:0 cs r/w ds t mas t mcdr t mah t mdd t mrpw t mdhr t mdis t mrd t mrdtw t mrwsu t mrwhld figure 7. motorola parallel host mode read cycle a1:0 data7:0 cs r/w ds t mas t mdsu t mah t mdhw t mwd t mwtrd t mwpw t mcdw t mrwsu t mrwhld figure 8. motorola parallel host mode write cycle
CS4923/4/5/6/7/8/9 12 ds262f2 switching characteristicsspi control port (t a = 25 c; va, vd = 3.3 v 5%; inputs: logic 0 = dgnd, logic 1 = vd, c l = 20 pf) notes: 5. the specification f sck indicates the maximum speed of the hardware. the system designer should be aware that the actual maximum speed of the communication port may be limited by the software. the relevant application code users manual should be consulted for the software speed limitations. 6. data must be held for sufficient time to bridge the 50 ns transition time of scclk. 7. scdout should not be sampled during this time period. 8. intreq goes high only if there is no data to be read from the dsp at the rising edge of scclk for the second-to-last bit of the last byte of data during a read operation as shown. 9. if intreq goes high as indicated in note 8, then intreq is guaranteed to remain high until the next rising edge of scclk. if there is more data to be read at this time, intreq goes active low again. treat this condition as a new read transaction. raise chip select to end the current read transaction and then drop it, followed by the 7-bit address and the r/w bit (set to 1 for a read) to start a new read transaction. 10. with a 4.7k ohm pull-up resistor this value is typically 215ns. as this pin is open drain adjusting the pull up value will affect the rise time. 11. this time is by design and not tested. parameter symbol min max units scclk clock frequency (note 5) f sck -2000khz cs falling to scclk rising t css 20 - ns rise time of scclk line (note 11) t r -50ns fall time of scclk lines (note 11) t f -50ns scclk low time t scl 150 - ns scclk high time t sch 150 - ns setup time scdin to scclk rising t cdisu 50 - ns hold time scclk rising to scdin (note 6) t cdih 50 - ns transition time from scclk to scdout valid (note 7) t scdov -40ns time from scclk rising to intreq rising (note 8) t scrh -200ns rise time for intreq (note 8) t rr -(note 10) ns hold time for intreq from scclk rising (note 9, 11) t scrl 0-ns time from scclk falling to cs rising t sccsh 20 - ns high time between active cs t csht 200 - ns time from cs rising to scdout high-z (note 11) t cscdo 10 ns
CS4923/4/5/6/7/8/9 ds262f2 13 t css t scl t r t sch t cdisu t scdov t cdih t scdov t f msb msb a0 a6 a5 cs scclk scdin scdout intreq t sccsh t scrl t scrh t csht lsb lsb 6 7 5 a6 t cscdo tri-state 0 7 6 2 1 0 r/w figure 9. spi control port timing
CS4923/4/5/6/7/8/9 14 ds262f2 switching characteristics i 2 c ? control port (t a = 25 c; va, vd = 3.3 v 5%; inputs: logic 0 = dgnd, logic 1 = vd, c l = 20 pf) notes: 12. the specification f scl indicates the maximum speed of the hardware. the system designer should be aware that the actual maximum speed of the communication port may be limited by the software. the relevant application code users manual should be consulted for the software speed limitations. 13. data must be held for sufficient time to bridge the 300-ns transition time of scclk. this hold time is by design and not tested. 14. this rise time is shorter than that recommended by the i 2 c specifications. for more information, see the section on scp communications. 15. intreq goes high only if there is no data to be read from the dsp at the rising edge of scclk for the last data bit of the last byte of data during a read operation as shown. 16. if intreq goes high as indicated in note 8, then intreq is guaranteed to remain high until the next rising edge of scclk. if there is more data to be read at this time, intreq goes active low again. treat this condition as a new read transaction. send a new start condition followed by the 7-bit address and the r/w bit (set to 1 for a read). this time is by design and is not tested. 17. with a 4.7k ohm pull-up resistor this value is typically 215ns. as this pin is open drain adjusting the pull up value will affect the rise time. 18. this time is by design and not tested. parameter symbol min max units scclk clock frequency (note 12) f scl 400 khz bus free time between transmissions t buf 4.7 m s start-condition hold time (prior to first clock pulse) t hdst 4.0 m s clock low time t low 1.2 m s clock high time t high 1.0 m s scdio setup time to scclk rising t sud 250 ns scdio hold time from scclk falling (note 13) t hdd 0 m s rise time of scclk (note 14), (note 18) t r 50 ns fall time of scclk (note 18) t f 300 ns time from scclk falling to CS4923/4/5/6/7/8/9 ack t sca 40 ns time from scclk falling to scdio valid during read operation t scsdv 40 ns time from scclk rising to intreq rising (note 15) t scrh 200 ns hold time for intreq from scclk rising (note 16) t scrl 0ns rise time for intreq t rr (note 17) ns setup time for stop condition t susp 4.7 m s
CS4923/4/5/6/7/8/9 ds262f2 15 msb a0 a6 a5 scclk scdio intreq r/w ack stop start 0 16 780 t susp t scrl ack 7 8 lsb stop t scrh t buf t sud t hdst t low t hdd t high t r t f t sca t scsdv figure 10. i 2 c control port timing
CS4923/4/5/6/7/8/9 16 ds262f2 switching characteristicsdigital audio input (t a = 25 c; va, vd = 3.3 v 5%; inputs: logic 0 = dgnd, logic 1 = vd, c l = 20 pf) notes: 19. master mode timing specifications are characterized, not production tested. 20. master mode is defined as the CS4923 driving lrclkn1(2) and sclkn1(2). master or slave mode can be programmed. 21. this timing parameter is defined from the non-active edge of sclkn1(2). the active edge of sclkn1(2) is the point at which the data is valid. 22. this timing parameter is defined from the active edge of sclkn1(2). the active edge of sclkn1(2) is the point at which the data is valid. 23. slave mode is defined as sclkn1(2) and lrclkn1(2) being driven by an external source. parameter symbol min max unit sclkn1(2) period for both master and slave mode (note 19) t sclki 40 - ns sclkn1(2) duty cycle for master and slave mode (note 19) 45 55 % master mode (note 19,20) lrclkn1(2) delay after sclkn1(2) transition (note 21) t lrds -10ns sdatan1(2) setup to sclkn1(2) transition (note 22) t sdsum 10 - ns sdatan1(2) hold time after sclkn1(2) transition (note 22) t sdhm 5-ns slave mode (note 23) time from active edge of sclkn1(2) to lrclkn1(2) transition t stlr 10 - ns time from lrclkn1(2) transition to sclkn1(2) active edge t lrts 10 - ns sdatan1(2) setup to sclkn1(2) transition (note 22) t sdsus 5-ns sdatan1(2) hold time after sclkn1(2) transition (note 22) t sdhs 5-ns
CS4923/4/5/6/7/8/9 ds262f2 17 sclkn1 sclkn2 t sclki sdatan1 sdatan2 lrclkn1 lrclkn2 t lrts t stlr t sdsus t sdhs slave mode sclkn1 sclkn2 t sclki sdatan1 sdatan2 lrclkn1 lrclkn2 t lrds t sdsum t sdhm master mode figure 11. digital audio input, data and clock timing
CS4923/4/5/6/7/8/9 18 ds262f2 switching characteristicsdigital audio output (t a = 25 c; va, vd = 3.3 v 5%; measurements performed under static conditions.) notes: 24. mclk can be an input or an output. these specifications apply for both cases. 25. master mode timing specifications are characterized, not production tested. 26. master mode is defined as the CS4923 driving both sclk and lrclk. when mclk is an input, it is divided to produce sclk and lrclk. 27. this timing parameter is defined from the non-active edge of sclk. the active edge of sclk is the point at which the data is valid. 28. slave mode is defined as sclk and lrclk being driven by an external source. 29. this specification is characterized, not production tested. parameter symbol min max unit mclk period (note 24) t mclk 40 - ns mclk duty cycle (note 24) 40 60 % sclk period for master or slave mode (note 25) t sclk 40 - ns sclk duty cycle for master or slave mode (note 25) 45 55 % master mode (note 25,26) sclk delay from mclk rising edge, mclk as an input t sdmi 15 ns sclk delay from mclk rising edge, mclk as an output t sdmo C5 10 ns lrclk delay from sclk transition (note 27) t lrds 10 ns audata2C0 delay from sclk transition (note 27) t adsm 10 ns slave mode (note 28) time from active edge of sclkn1(2) to lrclkn1(2) transition t stlr 10 - ns time from lrclkn1(2) transition to sclkn1(2) active edge t lrts 10 - ns audata2C0 delay from sclk transition (note 27,29) t adss 15 ns
CS4923/4/5/6/7/8/9 ds262f2 19 sclk (output) mclk (input) t sdmi t mclk sclk (output) mclk (output) t sdmo t mclk sclk t sclk audata2:0 lrclk t lrds t adsm master mode sclk t sclk audata2:0 lrclk t stlr t lrts t adss slave mode figure 12. digital audio output, data and clock timing
CS4923/4/5/6/7/8/9 20 ds262f2 2. family overview the CS4923, cs4924, cs4925, cs4926, cs4927, cs4928 and the cs4929 are system on a chip solutions for multi-channel (or stereo in the case of the cs4929) audio decompression and digital signal processing. because the parts are primarily ram-based, a download of application software is required each time the CS4923/4/5/6/7/8/9 is powered up. this document uses download and code load interchangeably. these terms should be interpreted as meaning the transfer of application code into the internal CS4923/4/5/6/7/8/9 memory from either an external microcontroller or through the autoboot procedure. this document focuses on the electrical features and characteristics of these parts. the different features are described from a hardware design perspective. it should be understood that not all of the features portrayed in this document are supported by all of the versions of application code available. the application users guides (see section 2.2.2) should be consulted to confirm which hardware features are supported by the software. this document will be valuable to both the hardware designer and the system programmer. this data sheet covers the CS4923, cs4924, cs4925, cs4926, cs4927, cs4928 and cs4929. these parts are identical from an external electrical perspective. internally each device has been tailored for supporting different decoding standards. for this document CS4923/4/5/6/7/8/9 has been replaced in certain places with cs492x for readability. unless otherwise specified cs492x should be interpreted as applying to the CS4923, cs4924, cs4925, cs4926, cs4927, cs4928 and cs4929. there are two revisions of silicon commercially available. the features available on revision d are a super-set of those features available on revision b. differences between the revisions are pointed out when features are discussed within this document. the silicon revision for any chip can be determined by referencing table 1 below. these parts are generally targeted at two different market segments. the broadcast market where audio/video (a/v) synchronization is required, and the outboard decoder markets where audio/video synchronization is not required. the important differentiation is the format in which the data will be received by the CS4923/4/5/6/7/8/9. in systems where a/v synchronization is required from the CS4923/4/5/6/7/8/9, the incoming data is typically pes encoded. in an outboard decoder application the data typically comes in the iec61937 format (as specified by the dvd consortium). an important point to remember is that the CS4923/4/5/6/7/8/9 will support both environments, but different downloads are required depending on the input data type. broadcast applications include (but are not limited to) set top box applications, dvds and digital tvs. outboard decoder applications include standalone decoders and audio/video receivers. often times a system may be a hybrid between an outboard decoder and a broadcast system depending on its functionality. as discussed above, compressed audio can be packed in iec61937, pes, or elementary formats depending on the decoder environment. each for- mat is supported by a separate download of appli- cation code. consult the relevant application code revision b revision d CS492301 CS492305 cs492401 cs492405 cs492501 cs492505 cs492603 cs492604 cs492705 cs492804 cs492906 table 1. silicon revisions
CS4923/4/5/6/7/8/9 ds262f2 21 users guide to determine which formats are sup- ported by a particular application. a brief descrip- tion of each format is presented below. elementary - an elementary bitstream consists only of compressed audio data (e.g., strictly the dolby digital bitstream); used primarily in broadcast en- vironments. pes - a packetized elementary stream (pes) bit- stream contains the elementary compressed audio stream and additional header information which can be used for a/v synchronization; used primari- ly in broadcast environments. iec61937 - a method of packing compressed audio such that it can be delivered using a bi-phase en- coded signal (e.g., s/pdif output signal from dvd player); used primarily for outboard decoders where a/v synchronization is not required. 2.1 multi-channel decoder family of parts CS4923 - dolby digital tm audio decoder. the CS4923 is the original member of the family and is intended to be used if only dolby digital decoding is required. for dolby digital, post processing includes bass management, delays and dolby pro logic decoding. separate downloads can also be used to support stereo to 5.1 channel effects processing and stereo mpeg decoding. cs4924 - dolby digital tm source product decoder . the cs4924 is the stereo version of the CS4923 designed for source products such as dvd, hdtv, and set-top boxes. separate downloads are available for stereo decode of dolby digital and mpeg audio. cs4925 - international multi-channel dvd audio decoder . the cs4925 supports both dolby digital and mpeg-2 multi-channel formats. for both dolby digital and mpeg-2 multi-channel, post processing includes bass management and dolby pro logic decoding. separate downloads are available for decode of dolby digital and mpeg audio. another code load can be used to support stereo to 5.1 channel effects processing. cs4926 - dts/dolby ? multi-channel audio decoder . the cs4926 supports both dolby digital and dts, or digital theater surround. for dolby digital, post processing includes bass management and dolby pro logic. the dolby digital code and dts code take separate code downloads. separate downloads can also be used to support stereo to 5.1 channel effects processing and stereo mpeg decoding. cs4927 - mpeg-2 multi-channel decoder. the cs4927 supports mpeg-2 multi-channel decoding and should be used in applications where dolby digital decoding is not necessary. for mpeg-2 multi-channel decoding, post processing includes bass management and dolby pro logic decoding. another code load can be used to support stereo to 5.1 channel effects processing. cs4928 - dts multi-channel decoder. the cs4928 supports dts multi-channel decoding and should be used in applications where dolby digital decoding is not necessary. for dts multi-channel decoding, post processing includes bass management. separate downloads can also be used to support stereo to 5.1 channel effects processing and stereo mpeg decoding. cs4929 - aac 2-channel, (low complexity) and mpeg-2 stereo decoder . the cs4929 is capable of decoding both 2-channel aac and mpeg-2 audio. the cs4929 supports elementary and pes formats. 2.2 document strategy multiple documents are needed to fully define, understand and implement the functionality of the CS4923/4/5/6/7/8/9. they can be split up into two basic groups: hardware and application code documentation. it should be noted that hardware and application code are co-dependent and one can not successfully use the device without an
CS4923/4/5/6/7/8/9 22 ds262f2 understanding of both. the anxxx notation denotes the application note number under which the respective users guide was released. 2.2.1 hardware documentation CS4923/4/5/6/7/8/9 family data sheet - this document describes the electrical characteristics of the device from timing to base functionality. this is the hardware designers tool to learn the parts electrical and systems requirements. an115 - CS4923/4/5/6/7/8/9 hardware users guide - describes the functional aspects of the device. an in depth description of communication, boot procedure, external memory and hardware configuration are given in this document. this document will be valuable to both the hardware designer and the system programmer. 2.2.2 CS4923/4/5/6/7/8/9 application code users guides the following application notes describe the application codes used with the CS4923/4/5/6/7/8/9. whenever an application code users guide is referred to, it should be assumed that one or more of the below documents are being referenced. the following list covers currently released application notes. this list will grow with each new application released. for a current list of released users guides please see www.crystal.com and search for the part number. an120 - dolby digital users guide for the CS4923/4/5/6 . this document covers the features available in the dolby digital code including delays, pink noise, bass management, pro logic, pcm pass through and dolby digital processing features. optional appendices are available that document code for dolby virtual, q-surround and vmax. an121 - mpeg users guide for the cs4925 . this document covers the features available in the mpeg multi-channel code including delays, bass management, pro logic, and mpeg processing features. an122 - dts users guide for the cs4926, cs4928 . this document covers the features available in the dts code including bass management and dts processing features. an123 - surround users guide for the CS4923/4/5/6/7/8 . this code covers the different stereo pcm to surround effects processing code. optional appendices are available that document crystal original surround, circle surround and logic 7. an140 - broadcast systems guide for the CS4923/4/5/6/7/8/9 . this guide describes all application code (e.g. dolby digital, mpeg, aac) designed for broadcast systems such as hdtv and set-top box receivers. this document also provides a discussion of broadcast system considerations and dependencies such as a/v synchronization and channel change procedures. 2.3 using the CS4923/4/5/6/7/8/9 no matter what application is being used on the chip, the following four steps are always followed to use the CS4923/4/5/6/7/8/9 in system. 1) reset and/or download code - detailed information in an115 2) hardware configuration - detailed information in an115 3) application configuration - detailed information in the appropriate application code users guide 4) kickstart - this is the go command to the cs492x once the system is properly configured. information can be found in the appropriate application code users guide.
CS4923/4/5/6/7/8/9 ds262f2 23 3. typical connection diagrams six typical connection diagrams have been presented to illustrate using the device with the different communication modes available. they are as follows: figure 13: i 2 c control figure 14: i 2 c control with external memory figure 15: spi control figure 16: spi control with external memory figure 17: intel parallel control mode figure 18: motorola parallel control mode the following should be noted when viewing the typical connection diagrams: the pins are grouped functionally in each of the typical connection diagrams. please be aware that the CS4923/4/5/6/7/8/9 symbol may appear differently in each diagram. the external memory interface is only supported when a serial communication mode has been chosen. the typical connection diagrams demonstrate the pll being used (clksel is pulled low). to enable external clkin, clksel should be pulled high. the system designer must be aware that certain software features may not be available if external clkin is used as the dsp must run slower when external clkin is used. the system designer should also be aware of additional duty cycle requirements when using external clkin mode. it is highly suggested that the system designer take advantage of the pll and pull clksel low. 3.1 multiplexed pins the CS4923/4/5/6/7/8/9 family of digital signal processors (dsps) incorporate a large amount of flexibility into a 44 pin package. because of the high degree of integration, many of these pins are internally multiplexed to serve multiple purposes. some pins are designed to operate in one mode at power up, and serve a different purpose when the dsp is running. other pins have functionality which can be controlled by the application running on the dsp. in order to better explain the behavior of the part, the pins which are multiplexed have been given multiple names. each name is specific to the pins operation in a particular mode. an example of this would be the use of pin 20 in one of the serial control modes. during the boot period of the cs492x, pin 20 is called aboot . aboot is sampled on the rising edge of reset . if aboot is high the host must download code to the dsp. if aboot is low when sampled, the cs492x goes into autoboot mode and loads itself with code by generating addresses and reading data on emad[7:0]. when the device has been loaded with code and is running an application, however, pin 20 is called intreq . intreq is an open drain output used to inform the host that the dsp has an outgoing message which should be read. in this document, pins will be referred to by their functionality. the section pin descriptions on page 49 describes each pin of the cs492x and lists all of its names. please refer to the pin descriptions section when exact pin numbers are in question. the device has 12 general purpose input and output (gpio[11:0]) pins that all have multiple functionality. while in one of the parallel communication modes (see section 6.2), these pins are used to implement the parallel host communication interface. while in one of the serial host modes these pins are used to implement an external memory interface. alternatively while in one of the serial host modes these pins could be used for another general purpose if the application code has been programmed to support the special purpose. in this document the pins are referenced by the name corresponding to their particular use. sometimes gpio[11:0], or some subset thereof, is used when referring to the pins in a general sense.
CS4923/4/5/6/7/8/9 24 ds262f2 3.2 termination requirements the CS4923/4/5/6/7/8/9 incorporates open drain pins which must be pulled high for proper operation. intreq (pin 20) is always an open drain pin which requires a pull-up for proper operation. when in the i 2 c serial communication mode, the scdio signal (pin 19) is open drain and thus requires a pull-up for proper operation. due to the internal, multiplexed design of the pins, certain signals may or may not require termination depending on the mode being used. if a parallel host communication mode is not being used, gpio[11:0] must be terminated or driven as these pins will come up as high impedance inputs and will be prone to oscillation if they are left floating. the specific termination requirements may vary since the state of some of the gpio pins will determine the communication mode at the rising edge of reset (please see section 6 for more information). for the explicit termination requirements of each communication mode please see the typical connection diagrams. generally a 4.7k ohm resistor is recommended for open drain pins while a 10k ohm resistor is sufficient for the gpio pins and unused inputs. 3.3 phase locked loop filter the internal phase locked loop (pll) of the CS4923/4/5/6/7/8/9 requires an external filter for successful operation. the topology of this filter and component values are shown in the typical connection diagrams. care should be taken when laying out the filter circuitry to minimize trace lengths and to avoid any close routing of high frequency signals. any noise coupled on to the filter circuit will be directly coupled into the pll, which could affect performance.
CS4923/4/5/6/7/8/9 ds262f2 25 figure 13. i 2 c control note: a capacitor pair (1 u f and 0.1 uf) must be supplied for each power pin. microcontro ller i2c interface oscillator dac (s) dir or adc [s] note: +3.3va is simply +3.3vd after fil tering t hrough the ferrite bead. pin 32 must be referenced to +3.3va emad_gpio [8:0] +3.3v supply (+3.3vd) +3.3vd +3.3vd +3.3va +3.3va 0.1 uf + 1 uf 0.1 uf + 1 uf 0.1 uf + 1 uf ferrite bead + 1 uf 0.1 uf 4.70k 4.70k 4.70k 4.70k 10k resistor pack 10k 33 10k 10k opt_tx 33 33 10k 10k + 2.2 uf 0.22 uf CS4923/4/5/6/7/8/9 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 vd1 dgnd1 xmt958 wr__gpio10 rd__gpio11 scdin scclk gpio7 gpio6 gpio5 gpio4 vd2 dgnd2 gpio3 gpio2 gpio1 gpio0 cs scdio intreq gpio8 s data n vd3 dgnd3 sclkn slrclkn cmpdat cmpclk cmpreq clkin clksel flt2 flt1 va agnd reset dd dc au data 2 au data 1 au data 0 lrclk sclk mclk + 47 uf note: only audata0 connection applies for the cs4929
CS4923/4/5/6/7/8/9 26 ds262f2 note: a capacitor pair (1 uf and 0.1 uf) must be supplied for each power pin. sys tem micro control ler i2c interface d[7: 0] q[7:0] d[7: 0] q[7:0] octal f/ f octal f/ f external rom a[7:0 ] a[15:8] d[7:0 ] /ce /o e dir or adcs dacs oscill ato r note: +3.3va is simply +3.3vd after filt ering through the ferrite bead. pin 32 must be referenced to +3.3va emad[7:0 ] +3.3v supply (+3.3vd) +3.3vd +3.3vd +3.3va +3.3va 0.1 uf + 1 uf 0.1 uf + 1 uf 0.1 uf + 1 uf + 1 uf 0.1 uf 4.70k 4.70k 4.70k 10 k 10k resistor pack 10k 10k ferrite bead 10k 4.70k 10 k 33 opt_t x 33 33 + 2.2 uf 0.22 uf + 47 uf 10k CS4923/4/5/6/7/8/9 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 vd1 dgnd1 xmt958 wr__gpio10 rd__emoe scdin scclk emad7 emad6 emad5 emad4 vd2 dgnd2 emad3 emad2 emad1 emad0 cs scdio intreq__aboot extmem s data n vd3 dgnd3 sclkn slrclkn cmpdat cmpclk cmpreq clkin clksel flt2 flt1 va agnd reset dd dc au data 2 au data 1 au data 0 lrclk sclk mclk note: only audata0 connection applies for the cs4929 figure 14. i 2 c control with external memory
CS4923/4/5/6/7/8/9 ds262f2 27 figure 15. spi control note: a capacitor pair (1 uf and 0.1 uf) must be supplied for each power pin. microcontr oller spi interface oscillator dacs dir or adcs note: +3.3va is simply +3.3vd after filt ering thr ough the ferrite bead. pin 32 must be referenced to +3.3va emad_gpio [8:0] +3.3v supply (+3.3vd) +3.3vd +3.3vd +3.3va +3.3va 0.1 uf + 1 uf 0.1 uf + 1 uf 0.1 uf + 1 uf + 1 uf 0.1 uf 4.70k 4.70k 4.70k 10 k 10k resistor pack 10k 10k ferrite bead 33 10k opt_tx 33 33 + 47 uf + 2.2 uf 0.22 uf CS4923/4/5/6/7/8/9 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 vd1 dgnd1 xmt958 wr__gpio10 rd__gpio11 scdin scclk gpio7 gpio6 gpio5 gpio4 vd2 dgnd2 gpio3 gpio2 gpio1 gpio0 cs scdout intreq gpio8 s data n vd3 dgnd3 sclkn slrclkn cmpdat cmpclk cmpreq clkin clksel flt2 flt1 va agnd reset dd dc au data 2 au data 1 au data 0 lrclk sclk mclk note: only audata0 connection applies for the cs4929
CS4923/4/5/6/7/8/9 28 ds262f2 figure 16. spi control with external memory note: a capacitor pair (1 u f and 0.1 uf) must be s upplied for each power pin. system micro controller spi interface d[7:0] q[7:0] d[7:0] q[7:0] octal f/f octal f/f external rom a[7:0] a[15:8] d[7:0] /ce /oe dir or adcs dacs oscillator note: +3.3va is simply +3.3vd after fil tering through the ferr ite bead. pin 32 must be referenced to +3.3va emad[7:0] +3.3v supply (+3.3vd) +3.3vd +3.3vd +3.3va +3.3va 0.1 uf + 1 uf 0.1 uf + 1 uf 0.1 uf + 1 uf + 1 uf 0.1 uf 4.70k 4.70k 4.70k 10 k 10k resistor pack 10k 10k ferrite bead 10k 33 opt_tx 10k 33 33 + 47 uf + 2.2 uf 0.22 uf CS4923/4/5/6/7/8/9 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 vd1 dgnd1 xmt958 wr__gpio10 rd__emoe scdin scclk emad7 emad6 emad5 emad4 vd2 dgnd2 emad3 emad2 emad1 emad0 cs scdout intreq__aboot extmem s data n vd3 dgnd3 sclkn slrclkn cmpdat cmpclk cmpreq clkin clksel flt2 flt1 va agnd reset dd dc au data 2 au data 1 au data 0 lrclk sclk mclk note: only audata0 connection applies for the cs492
CS4923/4/5/6/7/8/9 ds262f2 29 figure 17. intel parallel control mode note: a capacitor pair (1 uf and 0.1 uf) must be supplied for each power pin. microcontroller int interface oscillator dir or adcs dacs note: +3.3va is simply +3.3vd after filt er ing through the ferrite bead. pin 32 must be referenced to +3.3va data[7:0] +3.3v supply (+3.3vd) +3.3vd +3.3vd +3.3va +3.3va 0.1 uf + 1 uf 0.1 uf + 1 uf 0.1 uf + 1 uf + 1 uf 4.70k 4.70k 4.70k resistor pack 10k 10k 10k 10k 10k 33 33 10k 33 opt_tx + 47 uf + 2.2 uf 0.22 uf CS4923/4/5/6/7/8/9 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 vd1 dgnd1 xmt958 wr rd a1 a0 data7 data6 data5 data4 vd2 dgnd2 data3 data2 data1 data0 cs psel_gpio9 intreq gpio8 sdatan vd3 dgnd3 sclkn slrclkn cmpdat cmpclk cmpreq clkin clksel flt2 flt1 va agnd reset dd dc audata2 audata1 audata0 lrclk sclk mclk ferrite bead 0.1 uf note: only audata0 connection applies for the cs4929
CS4923/4/5/6/7/8/9 30 ds262f2 figure 18. motorola parallel control mode note: a capacitor pair (1 uf and 0.1 uf) must be supplied for each power pin. microcontr oller mot interface oscillator dir or adcs dacs note: +3.3va is simply +3.3vd after filt er ing through the ferrite bead. pin 32 must be referenced to +3.3va data[7:0] +3.3v supply (+3.3vd) +3.3vd +3.3vd +3.3va +3.3va 0.1 uf + 1 uf 0.1 uf + 1 uf 0.1 uf + 1 uf ferrite bead + 1 uf 0.1 uf 4.70k 4.70k 4.70k resistor pack 10k 10k 10k 10k 10k 33 33 10k 33 opt_tx + 2.2 uf 0.22 uf + 47 uf CS4923/4/5/6/7/8/9 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 vd1 dgnd1 xmt958 ds__wr r/w__rd a1 a0 data 7 data 6 data 5 data 4 vd2 dgnd2 data 3 data 2 data 1 data 0 cs psel_gpio9 intreq gpio8 sdatan vd3 dgnd3 sclkn slrclkn cmpdat cmpclk cmpreq clkin clksel flt2 flt1 va agnd reset dd dc au data 2 au data 1 au data 0 lrclk sclk mclk note: only audata0 connection applies for the cs4929
CS4923/4/5/6/7/8/9 ds262f2 31 4. power the cs492x requires a 3.3v digital power supply for the digital logic within the dsp and a 3.3v analog power supply for the internal pll. there are three digital power pins, vd1, vd2 and vd3, along with three digital grounds, dgnd1, dgnd2 and dgnd3. there is one analog power pin, va and one analog ground, agnd. the dsp will perform at its best when noise has been eliminated from the power supply. the recommendations given below for decoupling and power conditioning of the cs492x will help to ensure reliable performance. 4.1 decoupling it is good practice to decouple noise from the power supply by placing capacitors directly between the power and ground of the cs492x. each pair of power pins (vd1/dgnd, vd2/dgnd, vd3/dgnd, va/agnd) should have its own decoupling capacitors. the recommended procedure is to place both a 0.1uf and a 1uf capacitor as close as physically possible to each power pin. the 0.1uf capacitor should be closest to the device (typically 5mm or closer). 4.2 analog power conditioning in order to obtain the best performance from the CS4923/4/5/6/7/8/9s internal pll, the analog power supply (va) must be as clean as possible. a ferrite bead should be used to filter the 3.3v power supply for the analog portion of the cs492x. this power scheme is shown in the typical connection diagrams. 4.3 pads revision d and all subsequent revisions incorporate 5v tolerant pads. this means that while the cs492x power supplies require 3.3 volts, 5 volt signals can be applied to the inputs without damaging the part. the i/o pads for revision b of the CS4923/4/5/6 are not 5 volt tolerant. input levels for revision b of the CS4923/4/5/6 should be no greater than 3.3
CS4923/4/5/6/7/8/9 32 ds262f2 5. clocking revision d of the CS4923/4/5/6/7/8/9 also incorporates a programmable phase locked loop (pll) clock synthesizer. the pll takes an input reference clock and produces all the internal clocks required to run the internal dsp and to provide master mode timing to the audio input/output peripherals. the clock manager also includes a 33-bit system time clock (stc) to support audio and video synchronization in broadcast applications. the pll can be internally bypassed by connecting the clksel pin to vd. this connection multiplexes the clkin pin directly to the dsp clock. care should be taken to note the minimum clkin requirements when bypassing the pll. the pll reference clock has three possible sources that are routed through a multiplexer controlled by the dsp: sclkn2, sclkn1, and clkin. typically, in audio/video environments like set-top boxes, the clkin pin is connected to 27 mhz. in other scenarios such as an a/v receiver design, the pll can be clocked through the clkin pin with even multiples of the desired sampling rate or with an already available clock source. clkin is typically a multiple of a standard sampling frequency in this scenario (e.g. 11.2896 mhz). the clock manager is controlled by the dsp application software. please refer to the hardware users guide for the CS4923/4/5/6/7/8/9 (an115) and all relevant application code users guides for information on supported clkin frequencies and how to set up and control the internal pll.
CS4923/4/5/6/7/8/9 ds262f2 33 6. control control of the CS4923/4/5/6/7/8/9 can be accomplished through one of four methods. the cs492x supports i 2 c and spi serial communication. in addition the cs492x supports both a motorola and intel byte wide parallel host control mode. only one of the four communication modes can be selected for control. the states of the rd , wr , and psel pins at the rising edge of reset determine the interface type as shown in table 2 . whichever host communication mode is used, host control of the CS4923/4/5/6/7/8/9 is handled through the application software running on the dsp. configuration and control of the cs492x decoder and its peripherals are indirectly executed through a messaging protocol supported by the downloaded application code. in other words successful communication can only be accomplished by following the low level hardware communication format and high level messaging protocol. the specifications of the messaging protocol can be found in any of the application code users guides. it should be noted that when using the cs4926 or cs4928 for dts decoding, an external memory interface must be used for dts tables that are required for decoding. (see section 6.5 for information on external memory). the external memory interface and the parallel interface modes can not be used together. for this reason the system designer must use one of the serial communication modes with external memory if designing with the cs4926 or cs4928 for dts decode. an image of the dts tables is available from the factory. below is a brief discussion of each of the communication modes available for the CS4923/4/5/6/7/8/9. for a complete description of these communication modes along with flow charts, pseudocode and restrictions, please consult the CS4923/4/5/6/7/8/9 hardware users guide. a complete understanding of the decoder and its operation can not be accomplished without consulting the CS4923/4/5/6/7/8/9 hardware users guide and the application code users guides. 6.1 boot and control mode overview regardless of which communication mode is used, the CS4923/4/5/6/7/8/9 must be booted and loaded with code at run time. the general sequence from a hardware perspective is as follows: 5) reset low 6) set communication configuration pins 7) reset high 8) download code 9) configure hardware 10) configure application code 11) kickstart the decoder the host has three options for code download: ? parallel download through the parallel host in- terface ? serial download through either the spi or i 2 c interface ? autoboot with external memory when using a serial communication mode. once again the CS4923/4/5/6/7/8/9 hardware users guide should be consulted for a complete description of the boot and download procedure including the necessary communication handshaking. hardware configuration is also rd (pin 5) wr (pin 4) psel (pin 19) host interface mode 1 1 1 8-bit motorola 1 1 0 8-bit intel 01 x serial i 2 c 1 0 x serial spi table 2. host modes
CS4923/4/5/6/7/8/9 34 ds262f2 covered in the CS4923/4/5/6/7/8/9 hardware users guide. application configuration is described in the application code users guide for the code being used. 6.2 parallel host interface the byte wide parallel host interface of the cs492x supports application code download, communication for hardware and application configuration, compressed data input, and pcm data input. when using either intel or motorola modes, the parallel interface is implemented using four 8-bit internal registers which are selectable using inputs a1 and a0 as shown in table 3. table 5 shows the individual registers and their bit mapping. in either the intel or motorola mode the intreq pin can be used to interrupt the host when the dsp has unsolicited outgoing messages to be read. for specific details on the behavior of intreq in one of the parallel modes, please see the CS4923/4/5/6/7/8/9 hardware users guide. 6.2.1 intel parallel host mode intel parallel host mode is accomplished with cs , rd , wr , a[1:0], and data[7:0]. table 4 shows the pin name, pin description and pin number of each signal on the CS4923/4/5/6/7/8/9. rd and wr have no effect when cs is held high. when the dsp writes a byte to the hostmsg register, the houtrdy bit in the control register is set to indicate that there is data to be read. to initiate a read cycle the host should drive cs low. when cs is low, rd becomes the output enable for data[7:0]. when cs and rd are low, the contents of register address a[1:0] are driven on the data[7:0] bus. the address a[1:0] must be valid a minimum time before either cs or rd goes low. the houtrdy bit of the control register is cleared after the host reads from the hostmsg register. driving both cs and wr low begins an 8-bit write cycle. the address a[1:0] must be valid a minimum time before either cs or wr goes low. on the first rising edge of cs or wr , the write cycle ends and data[7:0] are latched internally by the cs492x. data must be held sufficiently to satisfy the hold time as given in the timing section. the hinbsy bit is set when the host writes the hostmsg register. this bit is cleared when the byte in the hostmsg register is read by the dsp. during reset low, all control signals have no effect and data[7:0] are high impedance. a1 (pin 6) a0 (pin 7) register name register function 1 1 cmpdata 8-bit compressed data to input unit (write only) 1 0 pcmdata 8-bit linear pcm data to input unit (write only) 0 1 control multi-bit control regis- ter for setup and handshaking (r/w ) 0 0 hostmsg 8-bit control pipe message register (r/w ) table 3. host memory map pin name pin description pin number cs chip select 18 rd output enable 5 wr write enable 4 a1 register address 1 6 a0 register address 0 7 intreq interrupt request 20 data7 data bit 7 8 data6 data bit 6 9 data5 data bit 5 10 data4 data bit 4 11 data3 data bit 3 14 data2 data bit 2 15 data1 data bit 1 16 data0 data bit 0 17 table 4. intel parallel host mode pin assignments
CS4923/4/5/6/7/8/9 ds262f2 35 host message (hostmsg) register, a[1:0] = 00b hostmsg7C0 host data to and from the dsp. a read or write of this register operates handshake bits between the internal dsp and the external host. this register typically passes multibyte messages car- rying microcode, control, and configuration data. hostmsg is physically implemented as two independent registers for input and output. (read and write) host control (control) register, a[1:0] = 01b reserved always write a 0 for future compatibility. cmprst when set, initializes the cmpdata compressed data input channel. writing a one to this bit holds the port in reset. writing zero enables the port. this bit must be low for normal operation. (write only) pcmrst when set, initializes the linear pcm input channel. this bit is toggled to indicate the first sample of the left channel for a pcm stream. writing a one to this bit holds the port in reset. writing zero enables the port. this bit must be low for normal operation. (write only) mfc when high, indicates that the pcmdata input buffer is almost full. the input buffer threshold level is application code dependent. (read only) mfb when high, indicates that the cmpdata input buffer is almost full. the input buffer threshold level is application code dependent. (read only) hinbsy set when the host writes to hostmsg. cleared when the dsp reads data from the hostmsg register. the host reads this bit to determine if the last host byte written has been read by the dsp. (read only) houtrdy set when the dsp writes to the hostmsg register. cleared when the host reads data from the hostmsg register. the dsp reads this bit to determine if the last dsp output byte has been read by the host. (read only) reserved always write a 0 for future compatibility. pcm data input (pcmdata) register, a[1:0] = 10b pcmdata7C0 the host writes pcm data to the dsp input buffer at this address. (write only) compressed data input (cmpdata) register, a[1:0] = 11b cmpdata7C0 the host writes compressed data to the dsp input buffer at this address. (write only) 76543210 hostmsg7 hostmsg6 hostmsg5 hostmsg4 hostmsg3 hostmsg2 hostmsg1 hostmsg0 76543210 reserved cmprst pcmrst mfc mfb hinbsy houtrdy reserved 76543210 pcmdata7 pcmdata6 pcmdata5 pcmdata4 pcmdata3 pcmdata2 pcmdata1 pcmdata0 76543210 cmpdata7 cmpdata6 cmpdata5 cmpdata4 cmpdata3 cmpdata2 cmpdata1 cmpdata0 table 5. parallel input/output registers
CS4923/4/5/6/7/8/9 36 ds262f2 6.2.2 motorola parallel host mode motorola parallel host mode is accomplished with cs , ds , r/w , a[1:0], and data[7:0]. table 6 shows the pin name, pin description and pin number of each signal on the CS4923/4/5/6/7/8/9. in motorola host interface mode, the host interface pins act as an active-low chip select, cs , an active- low data strobe, ds , and a r/w control signal. internally to the cs492x, ds and cs are logically anded. therefore, in some cases, ds and cs can be externally tied together with a common active- low strobe. otherwise, in long decoder delay scenarios, read or write cycles can be terminated earlier by connecting the microprocessor active- low data-strobe signal to the cs492x ds and a delayed final active-low chip select independently to the cs pin. when the dsp writes a byte to the hostmsg register, the houtrdy bit in the control register is set to indicate that there is data to be read. during read cycles, data[7:0] are driven when r/w is high and ds and cs are both low. data[7:0] are released with the earliest of cs or ds going high. the houtrdy bit of the control register is cleared after the host reads from the hostmsg register. write cycles occur with r/w low followed by ds and cs both going low. the a[1:0] address pins select the specific address of the register to be written and data[7:0] carry the data to be written. for write cycles, the first of cs and ds going high latches data. data must be held sufficiently to satisfy the hold time as given in the timing section. the hinbsy is set when the host writes the hostmsg register. this bit is cleared when the byte in the hostmsg is internally read by the dsp. 6.3 spi serial host interface for spi communications, the CS4923/4/5/6/7/8/9 always acts as a slave. serial spi communication with the CS4923/4/5/6/7/8/9 is accomplished with 5 communication lines: cs , scclk, scdin, scdout and intreq . table 7 shows the pin name, pin description and pin number of each signal on the CS4923/4/5/6/7/8/9. cs is an active low chip select and must be held low for writes to and reads from the part. scclk is an input to the cs492x that clocks data in and out of the device on its rising edge. scdin is the data input and should be valid on the rising edge of scclk. scdout is the data output and will be valid on the rising edge of scclk. intreq is an open drain, active-low interrupt request signal that is driven low by the cs492x when there is data to be read out. pin name pin description pin number cs chip select 18 ds data strobe 4 r/w read or write enable 5 a1 register address 1 6 a0 register address 0 7 intreq interrupt request 20 data7 data bit 7 8 data6 data bit 6 9 data5 data bit 5 10 data4 data bit 4 11 data3 data bit 3 14 data2 data bit 2 15 data1 data bit 1 16 data0 data bit 0 17 table 6. motorola parallel host mode pin assignments pin name pin description pin number cs chip select 18 scdin serial data input 6 scclk serial control clock 7 scdout serial data output 19 intreq interrupt request 20 table 7. spi serial mode pin assignments
CS4923/4/5/6/7/8/9 ds262f2 37 6.3.1 spi write when writing to the device in spi, the same protocol can be used for sending a byte, a word or an entire download image as long as transfers occur on byte boundaries. figure 19 illustrates the relative timing necessary for a three byte transfer to the cs492x. the host initiates an spi write by driving cs low, followed by a 7-bit address and the read/write bit set low to indicate a write. the CS4923/4/5/6/7/8/9 internal 7-bit address is initially assigned to 000 0000b following a reset. the 7-bit address sent to the cs492x must match its internal address or the incoming data will be ignored. address checking can be changed (either disabled or an actual address change) if desired. address checking configuration is documented in the hardware configuration section of the CS4923/4/5/6/7/8/9 hardware users guide. data should be shifted into the cs492x most significant bit first with data being valid at the rising edge of scclk. it should be noted that data is internally transferred to the dsp on the falling edge of the eighth scclk after the eighth data bit of a byte. for this reason scclk must transition from high to low on the last bit of each byte or a loss of data will occur. if this final transfer of scclk does not occur the final byte will be lost and successful communication will not be possible. 6.3.2 spi read the CS4923/4/5/6/7/8/9 will always indicate that it has data to be read by asserting the intreq line low. the host must recognize the request and start a read transaction with the cs492x. the same protocol will be used whether reading a byte or multiple bytes. figure 19 also illustrates the relative timing of a three byte spi read. the host initiates an spi read by driving cs low, followed by a 7-bit address and the read/write bit set high to indicate a read. the cs492x internal 7- bit address is initially assigned to 000 0000b following a reset. the 7-bit address sent to the cs492x must match its internal address or the incoming data will be ignored. address checking can be disabled or the actual address can be changed if desired. address checking configuration is documented in the hardware configuration section of the CS4923/4/5/6/7/8/9 hardware users guide. after the address byte the host should clock data out of the device one byte at a time until intreq is no longer low. the host shifts data using the rising edge of scclk. the data is valid on the rising edge of scclk and transitions occur on the falling edge. in spi mode, the intreq pin is deasserted immediately following the rising edge of the second-to-last data bit of the current byte being transferred if there is no more data to be read. the intreq pin is guaranteed to stay deasserted (high) until the rising edge of scclk for the last data bit. if there is more data to be read from the dsp before the rising edge of scclk for the second-to-last data bit, then intreq remains asserted low. immediately following the falling edge of scclk for the last data bit of the current byte, the next data byte loads into the internal serial shift register. the host should continue to read this new byte. it is important to note that once the data is in the shift register, clocks on the scclk line shift the data bits out of the shift register as long as cs is low. for a thorough look at spi communication and critical additional comments on intreq behavior reference the CS4923/4/5/6/7/8/9 hardware users guide.
CS4923/4/5/6/7/8/9 38 ds262f2 ad6 ad4 ad5 ad3 ad2 ad1 ad0 r/w d7 d6 d5 d4 d3 d2 d1 d0 d7 d6 d5 d4 d3 d2 d1 d0 d7 d6 d5 d4 d3 d2 d1 d0 scclk scdin intreq note 1 spi write functional timing note 2 spi read functional timing cs ad6 ad4 ad5 ad3 ad2 ad1 ad0 r/w scclk scdin cs d7 d6 d5 d4 d3 d2 d1 d0 d7 d6 d5 d4 d3 d2 d1 d0 d7 d6 d5 d4 d3 d2 d1 d0 scdout figure 19. spi timing notes: 1. intreq is guaranteed to stay low until the rising edge of scclk for the second to last bit of the last byte to be transferred out of the CS4923/4/5/6/7/8/9 2. intreq is guaranteed to stay high until the next rising edge of scclk at which point it may go low again if there is new data to be read. the condition of intreq going low at this point should be treated as a new read condition and a new start condition followed by an address byte should be sent
CS4923/4/5/6/7/8/9 ds262f2 39 6.4 i 2 c serial host interface for i 2 c communications the CS4923/4/5/6/7/8/9 always acts as a slave. serial i 2 c communication with the CS4923/4/5/6/7/8/9 is accomplished with 3 communication lines: scclk, scdio and intreq . table 8 shows the mnemonic, pin name, and pin number of each signal on the CS4923/4/5/6/7/8/9. scclk is an input to the cs492x that clocks data in and out of the device on its rising edge. it should be noted that the timing specifications for scclk are more stringent than certain i 2 c requirements so care should be taken that the rise and fall specifications for scclk are met as stated in the timing portion of this data sheet. scdio is a bidirectional data line whose data must be valid on the rising edge of scclk. intreq is an open drain, active-low request signal that is driven low by the cs492x when there is data to be read out. 6.4.1 i 2 c write when writing to the device in i 2 c, the same protocol can be used for sending a byte, a word or an entire download image as long as transfers occur on byte boundaries. figure 20 illustrates the relative timing necessary for a three byte transfer to the cs492x. the host initiates a transfer with an i 2 c start condition followed by a 7-bit address and the read/write bit set low to indicate a write. the start condition is defined as the scdio falling with scclk held high. the cs492x internal 7-bit address is initially assigned to 000 0000b following a reset. the 7-bit address sent to the cs492x must match its internal address or the incoming data will be ignored. address checking can be disabled or the actual address can be changed if desired. address checking configuration is documented in the hardware configuration section of the CS4923/4/5/6/7/8/9 hardware users guide. after the address byte the host should then clock an acknowledge (ack ) from the part. during a write, an ack is defined as scdio being driven low by the cs492x for one scclk period after each byte. data should be shifted into the cs492x most significant byte first with data being valid at the rising edge of scclk. the host should then clock out the acknowledge (ack bit) bit from the cs492x. after the last byte to be sent is acknowledged, the host should send an i 2 c stop condition, which is defined as the rising edge of scdio while scclk is held high. if the cs492x fails to acknowledge a byte, the host should re-transmit the same byte. if the cs492x does not acknowledge back to back bytes, then the host should reset the part. 6.4.2 i 2 c read the CS4923/4/5/6/7/8/9 will always indicate that it has data to be read by asserting the intreq line low. the host must recognize the request and start a read transaction with the cs492x. the same protocol will be used whether reading a byte or multiple bytes. figure 20 also illustrates the relative timing of a three byte i 2 c read. the host initiates a read with an i 2 c start condition followed by a 7-bit address and the read/write bit set high for a read. the start condition is defined as the scdio falling with scclk held high. the cs492x internal 7-bit address is initially assigned to 000 0000b following a reset. the 7-bit address sent to the cs492x must match its internal address or the incoming data will be ignored. address checking can be disabled or the actual address can be changed if desired. address checking configuration is documented in the hardware configuration section of the CS4923/4/5/6/7/8/9 hardware users guide. pin name pin description pin number scclk serial control clock 7 scdio serial data input and output 19 intreq interrupt request 20 table 8. i 2 c serial mode pin assignments
CS4923/4/5/6/7/8/9 40 ds262f2 ad6 ad4 ad5 ad3 ad2 ad1 ad0 r/w d7 d6 d5 d4 d3 d2 d1 ack d0 ack d7 d6 d5 d4 d3 d2 d1 ack d0 d7 d6 d5 d4 d3 d2 d1 ack d0 i2c start i2c stop scclk scdio ad6 ad4 ad5 ad3 ad2 ad1 ad0 r/w d7 d6 d5 d4 d3 d2 d1 ack d0 ack d7 d6 d5 d4 d3 d2 d1 ack d0 d7 d6 d5 d4 d3 d2 d1 nack d0 i2c start i2c stop scclk scdio intreq note 1 note 2 note 3 i2c write functional timing note 4 note 5 i2c read functional timing figure 20. i 2 c timing notes: 1. the ack for the address byte is driven by the CS4923/4/5/6/7/8/9. 2. the ack s for the data bytes being read from the CS4923/4/5/6/7/8/9 should be driven by the host. 3. intreq is guaranteed to stay low until the rising edge of scclk for last bit of the last byte to be transferred out of the CS4923/4/5/6/7/8/9 4. a noack should be sent by the host after the last byte read to indicate the end of the read cycle. 5. intreq is guaranteed to stay high until the next rising edge of scclk (for the ack /nack bit) at which point it may go low again if there is new data to be read. the condition of intreq going low at this point should be treated as a new read condition and a new start condition followed by an address byte should be sent.
CS4923/4/5/6/7/8/9 ds262f2 41 following the address byte the host must clock out an acknowledge from the part. after the address byte, the host should clock out data from the device one byte at a time until intreq is no longer low. the host shifts data using the rising edge of scclk. the data is valid on the rising edge of scclk and transitions on the falling edge. after each byte the host must send an acknowledge (ack ) to the cs492x. while reading from the cs492x, an acknowledge is defined as scdio being driven low by the host for one scclk period after each byte. in i 2 c mode, the intreq pin is deasserted immediately following the rising edge of the last data bit of the current byte being transferred if there is no more data to be read. the intreq pin is guaranteed to stay deasserted (high) until the rising edge of scclk for the acknowledge bit. for a more thorough look at i 2 c communication and critical additional information on intreq behavior reference the CS4923/4/5/6/7/8/9 hardware users guide. 6.5 external memory if using one of the serial modes, i.e. spi or i 2 c, the system designer has the option of using external memory. the external memory interface is not compatible with the parallel modes since there are shared pins that are needed by each mode. if using the cs4926 or cs4928 for dts decode, external memory is required for external dts tables. the external memory interface was designed primarily for two purposes: 1) autoboot and/or 2) real time external data access. the hardware implementation for either mode can be the same but the rom access time requirements may differ. the CS4923/4/5/6/7/8/9 hardware users guide should be referenced for more information including memory paging options to support both autoboot and real time access as well as rom speed requirements. the external memory interface is implemented on the CS4923/4/5/6/7/8/9 with the following signals: emad[7:0], extmem and emoe . table 9 shows the pin name, pin description and pin number of each signal on the CS4923/4/5/6/7/8/9. emad[7:0] serve as a multiplexed address and data bus. emoe is an active-low external-memory data output enable as well as the address latch strobe. extmem serves as the active low chip select output. figure 21 illustrates one possible external memory architecture for the CS4923/4/5/6/7/8/9. figure 22 shows the functional timing of a run-time memory access . the external memory address is capable of addressing between 64 kilobytes and 16 megabytes through a 16 to 24 bit addressing scheme. the address comes from the dsp writing two or three initial bytes of address consecutively on emad[7:0]. each byte of address is externally latched with the rising edge of emoe while extmem is high. after the 2 or 3-byte address is latched externally, the CS4923/4/5/6/7/8/9 then drives extmem and emoe low simultaneously to select the external memory. during this time the data is read by the cs492x. pin name pin description pin number /emoe * external memory output enable & address latch strobe 5 /emwr * external memory write strobe 4 /extmem external memory select 21 emad7 address and data bit 7 8 emad6 address and data bit 6 9 emad5 address and data bit 5 10 emad4 address and data bit 4 11 emad3 address and data bit 3 14 emad2 address and data bit 2 15 emad1 address and data bit 1 16 emad0 address and data bit 0 17 * - these pins must be configured appropriately to select a serial host communication mode for the CS4923/4/5/6/7/8/9 at the rising edge of reset table 9. memory interface pins
CS4923/4/5/6/7/8/9 42 ds262f2 64k x 8 rom addr[15:8] addr[7:0] 8 bit '574 dff dq 8 bit '574 dff dq emad[7:0] data[7:0] oe emoe extmem cs emwr only one of r1 and r2 should be stuffed. only one of r3 and r4 shou ld be stuffed. the state of emoe and emwr at the rising edge of reset will determine the serial mode that the part comes up in while using external memory. please see section 2, serial communication for more details. CS4923/4/5/6/7/8/9 addr[7:0] addr[15:8] 8 3.3v 3.3v 3.3v 3.3v r1 r3 r2 r4 figure 21. external memory interface extmem emoe emad7:0 ma15:8 ma7:0 data7:0 figure 22. run-time memory access
CS4923/4/5/6/7/8/9 ds262f2 43 although the memory can use more address bits, typically only 16 bits of address space are used. for this reason the memory example shown incorporates a 2 latch memory architecture. the two latch external memory architecture is required for the cs4926 or cs4928 when using dts. a three latch architecture can not be used with the cs4926 or cs4928 running dts since the run time memory access uses only 2 address cycles. 6.5.1 external memory and autoboot to configure the CS4923/4/5/6/7/8/9 to automatically load its code from external memory, the aboot signal should be driven low at the rising edge of reset . once again this mode can only be chosen if either spi or i 2 c serial communication is being used. in serial control port mode, holding the aboot pin low as the cs492x leaves the reset state enables an automatic boot. aboot can be released following the rising edge of reset . during the automatic boot cycle, the serial control port should remain idle. figure 23 shows an autoboot functional timing example. the autoboot cycle actually is a 24 bit, or three address byte cycle. it should be noted that for autoboot, the most significant byte is always zero. for this reason a two latch external memory configuration can be used for autoboot. the higher order address byte simply shifts out of the memory latch and is discarded. if desired, a three latch interface could also be used with the CS4923/4/5/7/9 but it is not necessary. for more information about autoboot and for a thorough description of different external memory architectures, reference the CS4923/4/5/6/7/8/9 hardware users guide. reset aboot extmem emoe emwr emad7:0 ma23:16 ma15:8 ma7:0 data7:0 figure 23. autoboot timing diagram
CS4923/4/5/6/7/8/9 44 ds262f2 7. digital input & output the CS4923/4/5/6/7/8/9 supports a wide variety of data input and output mechanisms through various input and output ports. hardware availability is entirely dependent on whether the software application code being used supports the required mode. this data sheet presents most of the modes available with the CS4923/4/5/6/7/8/9 hardware. this does not mean that all of the modes are available with any particular piece of application code. both the CS4923/4/5/6/7/8/9 hardware users guide and the application code users guide for the particular code being used should be referenced to determine if a particular mode is supported. 7.1 digital audio formats this subsection will describe some common audio formats that the CS4923/4/5/6/7/8/9 supports. it should be noted that the input ports use up to 24-bit pcm resolution and 16-bit compressed data word lengths. the output port of the cs492x provides up to 20-bit pcm resolution. i 2 s: figure 24 shows the i 2 s format. for i 2 s, data is presented most significant bit first, one sclk delay after the transition of lrclk and is valid on the rising edge of sclk. for the i 2 s format, the left subframe is presented when lrclk is low and the right subframe is presented when lrclk is high. sclk is required to run at a frequency of 48fs or greater on the input ports. left justified: figure 25 shows the left justified format with a rising edge scclk. data is presented most significant bit first on the first sclk after an lrclk transition and is valid on the rising edge of sclk. for the left justified format, the left subframe is presented when lrclk is high and the right subframe is presented when lrclk is low. the left justified format can also be programmed for data to be valid on the falling edge of sclk. sclk is required to run at a frequency of 48fs or greater on the input ports. right justified: figure 26 shows the right justified format. the right justified format is similar to the left justified format except the least significant bit is right justified to be valid on the last transition of sclk before an lrclk transition. data is still presented most significant bit first. for the right justified format, the left subframe is presented when lrclk is high and the right subframe is presented when lrclk is low. the right justified format can also be programmed for data being valid on the falling edge of sclk. sclk is required to run at a frequency of 48fs or greater on the input ports. multi-channel: figure 27 shows the multi- channel format. in this format up to 6 channels of audio are presented on one data line with 20 bits per channel. channels 0, 2, and 4 are presented while the lr-clk is high and channels 1, 3, 5 are presented while the lrclk is low. data is valid on the rising edge of sclk and is presented most significant bit first. because each of the ports is fully configurable, there may be modes that can be supported which are not presented.
CS4923/4/5/6/7/8/9 ds262f2 45 lrck sclk sdata msb lsb left right msb lsb figure 24. i 2 s format lrck sclk sdata msb lsb left right msb lsb msb figure 25. left justified format msb lsb lsb msb lsb left right lrclk sclk sdata figure 26. right justified lrclk sclk sdata msb lsb m clocks per channel msb lsb m clocks per channel m clocks per channel msb lsb m clocks per channel msb lsb m clocks per channel msb lsb m clocks per channel msb lsb msb figure 27. multi-channel format (m == 20)
CS4923/4/5/6/7/8/9 46 ds262f2 7.2 digital audio input port the digital audio input port, or dai, is used for both compressed and pcm digital audio data input. in addition this port supports a special clocking mode in which a clock can be input to directly drive the internal 33 bit counter. table 10 shows the pin names, mnemonics and pin numbers associated with the dai. the dai can be programmed to support i 2 s, left justified and right justified data input. in addition the dai can be programmed for slave clocks, where lrclkn1 and sclkn1 are inputs, or master clocks, where lrclkn1 and sclkn1 are outputs. in order for clocks to be master, the internal pll must be used. stcclk2 can also be programmed to drive the internal 33 bit counter. this counter would typically be driven by a 90khz clock. the internal counter is used by certain application code for audio/video synchronization purposes. 7.3 compressed data input port the compressed data input port, or cdi, can be used for both compressed and pcm data input. table 11 shows the mnemonic, pin name and pin number of the pins associated with the cdi port on the CS4923/4/5/6/7/8/9. the cdi can be configured to support i 2 s, left justified and right justified formats. the cdi can also be programmed for slave clocks, where lrclkn2 and sclkn2 are inputs, or master clocks, where lrclkn2 and sclkn2 are outputs. in order for clocks to be mastered, the internal pll must be used. in addition the cdi can be configured for bursty compressed data input. bursty audio delivery is a special format in which only clock (cmpclk) and data (cmpdat) are used to deliver compressed data to the CS4923/4/5/6/7/8/9 (i.e. no frame clock or lrclk). a third line, cmpreq , is used to request more data from the host. it is an indicator that the cs492x internal fifo is low on data and can accept another burst. typically this mode is used for compressed data delivery where asynchronous data transfer occurs in the system, i.e. in a system such as a set-top box or hdtv. pcm data can not be presented in this mode since data is interpreted as a continuous stream with no word boundaries. 7.4 parallel digital audio data input if using the intel or motorola parallel host interface mode, the system designer can also choose to deliver data through the byte wide parallel port. the compressed data input register receives bytes of data when the host interface writes to address 11b (a1 and a0 are both high). the host interface port also utilizes the cmpreq pin and the mfb and mfc flags in the control register, which are configurable to supply a data request flag at different input buffer thresholds. cmpreq acts as an almost full flag. the CS4923/4/5/6/7/8/9 can safely receive different size blocks of data depending on the level of the input buffer threshold. the threshold level is programmable and the default level may differ between applications. this mode reduces the polling burden associated with hand-feeding the compressed data. pin name pin description pin number sdatan1 serial data in 22 sclkn1 serial bit clock 25 lrclkn1 frame clock 26 table 10. digital audio input port pin name pin description pin number sdatan2 cmpdata serial data in compressed data in 27 sclkn2 cmpclk serial bit clock 28 lrclkn2 cmpreq frame clock data request out 29 table 11. compressed data input port
CS4923/4/5/6/7/8/9 ds262f2 47 in parallel host mode, the CS4923/4/5/6/7/8/9 can accept pcm data written through the byte-wide host interface to address 10b (a1 high, a0 low). in this mode, there is a close connection between the CS4923/4/5/6/7/8/9 application code and the host processor that is delivering the pcm data. the pcmrst bit of the control register provides absolute software/hardware synchronization by initializing the input channel to uniquely recognize the first write to the byte-wide pcmdata port. toggling pcmrst high and low informs the dsp that the next sample read from the pcmdata port is the first sample of the left channel. in this fashion, the cs492x can translate successive byte writes into a variable number of channels with a variable pcm sample size. in the most simple case, the cs492x can receive stereo 8-bit pcm one byte at a time with the internal dsp assigning the first 8-bit write (after pcmrst) to the left channel and the second 8-bit write to the right channel. for 16-bit pcm, it assigns the first two 8-bit writes (after pcmrst) to the left channel and the next two writes to the right channel. 7.5 digital audio output port the digital audio output port, or dao, is the port used for digital output from the dsp. table 12 shows the signals associated with the dao. as there are many modes that are firmware configurable on the dao, please consult the hardware users guide and the application code users guides to determine which modes are supported by the download code being used. mclk is the master clock and is firmware configurable to be either an input or an output. if mclk is to be used as an output, the internal pll must be used. as an output mclk can be configured to provide a 128fs, 256fs or 512fs clock, where fs is the output sample rate. sclk is the bit clock used to clock data out on audata0, audata1 and audata2. lrclk is the data framing clock whose frequency is typically equal to the sampling frequency. both lrclk and sclk can be configured as either inputs (slave mode) or outputs (master mode). when lrclk and sclk are configured as inputs, mclk is a dont care as an input. when lrclk and sclk are configured as outputs, they are derived from mclk. whether mclk is configured as an input or an output, an internal divider from the mclk signal is used to produce lrclk and sclk. the ratios shown in table 13 give the possible sclk values for different mclk frequencies (all values in terms of the sampling frequency, fs). audat0 is configurable to provide six, four, or two channels. audat1 and audat2 can both output two channels of data. typically all three audat outputs are used in left justified, i2s or right justified modes. in this way all six channels of surround (left, center, right, left surround, right surround and subwoofer) are provided. alternatively the multi-channel mode can be configured to provide single data line multi- channel support. please consult the hardware users guide and the application code users pin name pin description pin number audat2 serial data in 39 audat1 serial data in 40 audat0 serial data in 41 lrclk frame clock 42 sclk serial bit clock 43 mclk master clock 44 xmt958 iec60958 transmitter 3 table 12. digital audio output port mclk (fs) sclk (fs) 32 48 64 128 256 512 128 x x 384** x x x 256 x x x x 512 x xxxx ** for mclk as an input only table 13. mclk/sclk master mode ratios
CS4923/4/5/6/7/8/9 48 ds262f2 guides to determine which modes are supported by the download code being used. serial digital audio data bit placement and sample alignment is fully configurable in the CS4923/4/5/6/7/8/9 including left justified, right justified, delay bits or no delay bits, variable sample word sizes, variable output channel count, and programmable output channel pin assignments and clock edge polarity to integrate with most digital audio interfaces. if a mode is needed which is not supported, please consult your crystal representative as to its availability. 7.5.1 iec60958 output the xmt958 output provides a cmos level bi phase encoded output. the xmt958 function can be internally clocked from the pll or from an mclk input if mclk is 256fs or 512fs. all channel status information can be used when using software which supports this functionality. this output can be used for either 2 channel pcm output or compressed data output in accordance with iec61937. to be fully iec60958 compliant this output would need to be buffered through an rs422 device or an optocoupler as its outputs are only cmos. please consult the CS4923/4/5/6/7/8/9 hardware users guide and an application code users guide to determine if this pin is supported by the download code being used.
CS4923/4/5/6/7/8/9 ds262f2 49 8. pin descriptions vaanalog positive supply: pin 34 analog positive supply for clock generator. nominally +3.3 v. agndanalog supply ground: pin 35 analog ground for clock generator pll. vd1, vd2, vd3digital positive supply: pins 1, 12, 23 digital positive supplies. nominally +3.3 v. dgnd1, dgnd2, dgnd3digital supply ground: pins 2, 13, 24 digital ground. filt1phase-locked loop filter: pin 33 connects to an external filter for the on-chip phase-locked loop. this pin does not meet cirrus logics esd tolerance of 2000 v using the human body model. this pin will tolerate esd of 1000 v using the human body model. 7 8 9 10 11 12 13 14 15 16 17 39 38 37 36 35 34 33 32 31 30 29 18 19 20 21 22 23 24 25 26 27 28 6 5 4 3 2 1 44 43 42 41 40 CS4923-cl 44-pin plcc top view vd2 data4,emad4,gpio4 va data5,emad5,gpio5 data6,emad6,gpio6 data7,emad7,gpio7 a0, scclk a1, scdin rd,r/w,emoe,gpio11 wr,ds,emwr,gpio10 xmt958 dgnd1 vd1 sdatan1 extmem, gpio8 aboot, intreq scdio, scdout,psel,gpio9 cs data0,emad0,gpio0 data1,emad1,gpio1 data2,emad2,gpio2 data3,emad3,gpio3 dgnd2 reset dd dc audata2 audata1 audata0 lrclk sclk mclk vd3 dgnd3 sclkn1, stcclk2 lrclkn1 cmpdat, sdatan2 cmpclk, sclkn2 cmpreq, lrclkn2 clkin clksel filt2 filt1 agnd
CS4923/4/5/6/7/8/9 50 ds262f2 filt2phase locked loop filter: pin 32 connects to an external filter for the on-chip phase-locked loop. this pin does not meet cirrus logics esd tolerance of 2000 v using the human body model. this pin will tolerate esd of 1000 v using the human body model. clkinmaster clock input: pin 30 CS4923/4/5/6/7/8/9 clock input. when in internal clock mode (clksel == dgnd), this input is connected to the internal pll from which all internal clocks are derived. when in external clock mode (clksel == vd), this input is connected to the dsp clock. input clkseldsp clock select: pin 31 this pin selects the clock mode of the CS4923/4/5/6/7/8/9. when clksel is low, clkin is connected to the internal pll from which all internal clocks are derived. when clksel is high clkin is connected to the dsp clock. input data7, emad7, gpio7pin 8 data6, emad6, gpio6pin 9 data5, emad5, gpio5pin 10 data4, emad4, gpio4pin 11 data3, emad3, gpio3pin 14 data2, emad2, gpio2pin 15 data1, emad1, gpio1pin 16 data0, emad0, gpio0pin 17 in parallel host mode, these pins provide a bidirectional data bus. if a serial host mode is selected, these pins can provide a multiplexed address and data bus for connecting an 8-bit external memory. otherwise, in serial host mode, these pins can act as general-purpose input or output pins that can be individually configured and controlled by the dsp. bidirectional - default: input a0, scclkhost parallel address bit zero or serial control port clock: pin 7 in parallel host mode, this pin serves as one of two address input pins used to select one of four parallel registers. in serial host mode, this pin serves as the serial control clock signal, specifically as the spi clock input or the i 2 c clock input. input a1, scdinhost parallel address bit one or spi serial control data input: pin 6 in parallel host mode, this pin serves as one of two address input pins used to select one of four parallel registers. in spi serial host mode, this pin serves as the data input. input rd , r/w , emoe , gpio11host parallel output enable or host parallel r/w or external memory output enable or general purpose input & output number 11: pin 5 in intel parallel host mode, this pin serves as the active-low data bus enable input. in motorola parallel host mode, this pin serves as the read-high/write-low control input signal. in serial host mode, this pin can serve as the external memory active-low data-enable output signal. also in serial host mode, this pin can serve as a general purpose input or output bit. bidirectional - default: input
CS4923/4/5/6/7/8/9 ds262f2 51 wr , ds , emwr , gpio10host write strobe or host data strobe or external memory write enable or general purpose input & output number 10: pin 4 in intel parallel host mode, this pin serves as the active-low data-write-input strobe. in motorola parallel host mode, this pin serves as the active-low data-strobe-input signal. in serial host mode, this pin can serve as the external-memory active-low write-enable output signal. also in serial host mode, this pin can serve as a general purpose input or output bit. bidirectional - default: input cs host parallel chip select, host serial spi chip select: pin 18 in parallel host mode, this pin serves as the active-low chip-select input signal. in serial host spi mode, this pin is used as the active-low chip-select input signal. input reset master reset input: pin 36 asynchronous active-low master reset input. reset should be low at power-up to initialize the CS4923/4/5/6/7/8/9 and to guarantee that the device is not active during initial power-on stabilization periods. at the rising edge of reset the host interface mode is selected contingent on the state of the rd , wr and psel pins. additionally, an autoboot sequence can be initiated if a serial control mode is selected and aboot is held low. if reset is low all bidirectional pins are high impedance inputs. input scdio, scdout, psel, gpio9serial control port data input and output, parallel port type select: pin 19 in i 2 c mode, this pin serves as the open-drain bidirectional data pin. in spi mode this pin serves as the data output pin. in parallel host mode, this pin is sampled at the rising edge of reset to configure the parallel host mode as an intel type bus or as a motorola type bus. in parallel host mode, after the bus mode has been selected, the pin can function as a general- purpose input or output pin. bidirectional - default: input in i 2 c mode this pin is an open drain i/o and requires a 4.7k pull-up extmem , gpio8external memory chip select or general purpose input & output number 8: pin 21 in serial control port mode, this pin can serve as an output to provide the chip-select for an external byte-wide rom. in parallel and serial host mode, this pin can also function as a general-purpose input or output pin. bidirectional - default: input intreq , aboot control port interrupt request, automatic boot enable: pin 20 open-drain interrupt-request output. this pin is driven low to indicate that the dsp has outgoing control data and should be serviced by the host. also in serial host mode, this signal initiates an automatic boot cycle from external memory if it is held low through the rising edge of reset. open drain i/o - requires 4.7k ohm pull-up audata2digital audio output 2: pin 39 pcm multi-format digital-audio data output, capable of two-channel 20-bit output. this pcm output defaults to dgnd as output until enabled by the dsp software. output
CS4923/4/5/6/7/8/9 52 ds262f2 audata1digital audio output 1: pin 40 pcm multi-format digital-audio data output, capable of two-channel 20-bit output. this pcm output defaults to dgnd as output until enabled by the dsp software. output audata0digital audio output 0: pin 41 pcm multi-format digital-audio data output, capable of two-, four-, or six-channel 20-bit output. this pcm output defaults to dgnd as output until enabled by the dsp software. output mclkaudio master clock: pin 44 bidirectional master audio clock. mclk can be an output from the CS4923/4/5/6/7/8/9 that provides an oversampled audio-output clock at either 128 fs, 256 fs, or 512 fs. mclk can be an input at 128 fs, 256 fs, 384 fs, or 512 fs. mclk is used to derive sclk and lrclk when sclk and lrclk are driven by the cs492x. bidirectional - default: input sclkaudio output bit clock: pin 43 bidirectional digital-audio output bit clock. sclk can be an output that is derived from mclk to provide 32 fs, 64 fs, 128 fs, 256 fs, or 512 fs, depending on the mclk rate and the digital-output configuration. sclk can also be an input and must be at least 48fs or greater. as an input, sclk is independent of mclk. bidirectional - default: input lrclkaudio output sample rate clock: pin 42 bidirectional digital-audio output-sample-rate clock. lrclk can be an output that is divided from mclk to provide the output sample rate depending on the output configuration. lrclk can also be an input. as an input lrclk is independent of mclk. bidirectional - default: input xmt958spdif transmitter output: pin 3 cmos level output that contains a biphase-encoded clock for synchronously providing two channels of pcm digital audio or a iec61937 compressed-data interface or both. this output typically connects to the input of an rs-422 transmitter or to the input of an optical transmitter. output sclkn1, stcclk2pcm audio input bit clock: pin 25 bidirectional digital-audio bit clock that is an output in master mode and an input in slave mode. in slave mode, sclkn1 operates asynchronously from all other cs492x clocks. in master mode, sclkn1 is derived from the cs492x internal clock generator. in either master or slave mode, the active edge of sclkn1 can be programmed by the dsp. for applications supporting pes layer synchronization this pin can be used as stcclk2, which provides a path to the internal stc 33 bit counter. bidirectional - default: input
CS4923/4/5/6/7/8/9 ds262f2 53 lrclkn1pcm audio input sample rate clock: pin 26 bidirectional digital-audio frame clock that is an output in master mode and an input in slave mode. lrclkn1 typically is run at the sampling frequency. in slave mode, lrclkn1 operates asynchronously from all other cs492x clocks. in master mode, lrclkn1 is derived from the cs492x internal clock generator. in either master or slave mode, the polarity of lrclkn1 for a particular subframe can be programmed by the dsp. bidirectional - default: input sdatan1pcm audio data input number one: pin 22 digital-audio data input that can accept from one to six channels of compressed or pcm data. sdatan1 can be sampled with either edge of sclkn1, depending on how sclkn1 has been configured. input cmpclk, sclkn2pcm audio input bit clock: pin 28 bidirectional digital-audio bit clock that is an output in master mode and an input in slave mode. in slave mode, sclkn2 operates asynchronously from all other cs492x clocks. in master mode, sclkn2 is derived from the cs492x internal clock generator. in either master or slave mode, the active edge of sclkn2 can be programmed by the dsp. if the cdi is configured for bursty delivery, cmpclk is an input used to sample cmpdat. bidirectional - default: input cmpreq, lrclkn2pcm audio input sample rate clock: pin 29 when the cdi is configured as a digital audio input, this pin serves as a bidirectional digital- audio frame clock that is an output in master mode and an input in slave mode. lrclkn2 typically is run at the sampling frequency. in slave mode, lrclkn2 operates asynchronously from all other cs492x clocks. in master mode, lrclkn2 is derived from the cs492x internal clock generator. in either master or slave mode, the polarity of lrclkn2 for a particular subframe can be programmed by the dsp. when the cdi is configured for bursty delivery, or parallel audio data delivery is being used, cmpreq is an output which serves as an internal fifo monitor. cmpreq is an active low signal that indicates when another block of data can be accepted. bidirectional - default: input cmpdat, sdatan2pcm audio data input number two: pin 27 digital-audio data input that can accept from one to six channels of compressed or pcm data. sdatan2 can be sampled with either edge of sclkn2, depending on how sclkn2 has been configured. similarly cmpdat is the compressed data input pin when the cdi is configured for bursty delivery. when in this mode, the CS4923/4/5/6/7/8/9 internal pll is driven by the clock recovered from the incoming data stream. input dcreserved: pin 38 this pin is reserved and should be pulled up with an external 4.7k resistor. ddreserved: pin 37 this pin is reserved and should be pulled up with an external 4.7k resistor.
CS4923/4/5/6/7/8/9 54 ds262f2 9. package dimensions inches millimeters dim min max min max a 0.165 0.180 4.043 4.572 a1 0.090 0.120 2.205 3.048 b 0.013 0.021 0.319 0.533 d 0.685 0.695 16.783 17.653 d1 0.650 0.656 15.925 16.662 d2 0.590 0.630 14.455 16.002 e 0.685 0.695 16.783 17.653 e1 0.650 0.656 15.925 16.662 e2 0.590 0.630 14.455 16.002 e 0.040 0.060 0.980 1.524 44l plcc package drawing d1 d e1 e d2/e2 b e a1 a
? notes ?


▲Up To Search▲   

 
Price & Availability of CS4923

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