| The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers. |
DTS® USER'S GUIDE CS4926 CS4928 Description This document in
Top Searches for this datasheetAN122 DTS® USER'S GUIDE CS4926 CS4928 Description This document includes brief description hardware configuration depth descriptions application messaging protocol, application control modules, application configuration examples. main body this document covers features included standard DTS® application IEC61937 compliant bitstreams elementary bitstreams. This document covers code supported CS492X silicon. DIGITAL SOUND Digital Surround Description Software Naming Convention Document Strategy Hardware Configurations Supported CS4926/8 Code Understanding Application Messaging Control Application Modules such -Audio Manager -DTS Manager -Generalized Bass Manager Application Configuration Examples PROCESSI Autodetect Enable Enable Discrete Channels Downmix Channels Channels Autodetect (DTS) CMPDAT/ Decode Output Mode Control Bass Manager (Sub) Audio Manager Enable Bass Parameter Output Mode Volume/Mute Channel Remap Delay P.O. 17847, Austin, Texas 78760 (512) 7222 FAX: (512) 7581 http://www.cirrus.com Copyright Cirrus Logic, Inc. 2000 (All Rights Reserved) AN122REV3 AN122 TABLE CONTENTS OVERVIEW Multi-Channel Decoder Family Parts Document Strategy 1.2.1 Hardware Documentation 1.2.2 CS4923/4/5/6/7/8/9 Application Code User's Guides Using CS4923/4/5/6/7/8/9 Software Naming Convention Digital Surround Description HARDWARE CONFIGURATION Supported Input/Output Modes APPLICATION MESSAGING Indexed Module Communication Protocol 3.1.1 Write Session 3.1.2 Solicited Read Message Format Unsolicited Read Message Format APPLICATION MODULES Audio Manager 4.1.1 Audio_Control: (Index 0x00) Manager 4.2.1 DTS_Control 4.2.2 Stream Information Generalized Bass Manager Unsolicited Messages (Read-Only) 4.4.1 Autodetect Operation 4.4.2 Special Considerations Autodetect 4.4.3 Typical Download Configuration APPLICATION CONFIGURATION EXAMPLES decode with Autodetect SPECIAL CONSIDERATIONS CERTIFICATION Contacting Cirrus Logic Support complete listing Direct Sales, Distributor, Sales Representative contacts, visit Cirrus Logic site Dolby Digital, AC-3, Dolby Logic, Dolby Surround, Surround Virtual Dolby Digital trademarks "Dolby Digital Logo", "Dolby" double"D" symbol registered trademarks Dolby Laboratories Licensing Corporation. Digital Surround trademarks "DTS Logo" registered trademarks Digital Theater Systems Corporation. "MPEG Logo" registered trademark Philips Electronics N.V. registered trademark Lucasfilm Ltd. Surround jointly developed technology Dolby Labs, Inc. (Advanced Audio Coding) "MPEG-2-standardbased" digital audio compression algorithm (offering discrete decoded channels this implementation) collaboratively developed AT&T, Fraunhofer Institute, Dolby Laboratories, Sony Corporation. Harman VMAx registered trademark Harman International. Logic trademark Lexicon. Circle Surround trademark Labs, Inc. HDCD logo, HDCD, High Definition Compatible Digital Pacific Microsonics either registered trademarks trademarks Pacific Microsonics, Inc. United States and/or other countries. HDCD technology provided under license from Pacific Microsonics, Inc. This product's software covered more following United States: 5,479,168; 5,638,074; 5,640,161; 5,872,531; 5,808,574; 5,838,274; 5,854,600; 5,864,311; Australia: 669114; with other patents pending.The "Crystal Original Surround Logo" trademark "Crystal Logo" "Crystal Digital Sound Processing Logo" registered trademarks Cirrus Logic, Inc. Preliminary product information describes products which production, which full characterization data available. Advance product information describes products which development subject development changes. Cirrus Logic, Inc. made best efforts ensure that information contained this document accurate reliable. However, information subject change without notice provided without warranty kind (express implied). responsibility assumed Cirrus Logic, Inc. this information, infringements patents other rights third parties. This document property Cirrus Logic, Inc. implies license under patents, copyrights, trademarks, trade secrets. part this publication copied, reproduced, stored retrieval system, transmitted, form means (electronic, mechanical, photographic, otherwise) without prior written consent Cirrus Logic, Inc. Items from Cirrus Logic website disk printed user. However, part printout electronic files copied, reproduced, stored retrieval system, transmitted, form means (electronic, mechanical, photographic, otherwise) without prior written consent Cirrus Logic, Inc.Furthermore, part this publication used basis manufacture sale items without prior written consent Cirrus Logic, Inc. names products Cirrus Logic, Inc. other vendors suppliers appearing this document trademarks service marks their respective owners which registered some jurisdictions. list Cirrus Logic, Inc. trademarks service marks found http://www.cirrus.com. AN122REV3 AN122 LIST FIGURES Figure Code Functional Diagram Figure Filter Topology Figure Bass Manager Processing Unit Figure Subwoofer Summing Module Figure Generic Autodetection Flow Chart Figure Specific Autodetect Flow Chart Figure Typical Download Configuration Figure Pseudocode Example Configure Part Decode with Autodetect LIST TABLES Table Input/Output Configurations Supported DTS. Table Write Message Format. Table Read Command Message Format Table Read Response Message Format Table Unsolicited Read Message Format Table Audio Manager. Table Manager. Table Bass Manager Table Unsolicited Messages Table Enabling Decode with Autodetect AN122REV3 AN122 AN122REV3 AN122 OVERVIEW CS4923/4/5/6/7/8/9 family system chip solutions multi-channel audio decompression digital signal processing. Since part RAM-based, download application software required each time CS4923/4/5/6/7/8/9 powered These parts generally targeted different market segments. broadcast market where audio/video (A/V) synchronization required, outboard decoder markets where audio/video synchronization required. important differentiation format which data will received CS4923/4/5/6/7/8/9. systems where synchronization required from CS4923/4/5/6/7/8/9, incoming data typically encoded. outboard decoder application data typically comes IEC61937 format specified consortium). important point remember that CS4923/4/5/6/7/8/9 will support both environments, different downloads required depending input data type. Broadcast applications include (but limited applications, DVDs digital TVs. Outboard decoder applications include stand-alone decoders audio/video receivers. Often times system hybrid between outboard decoder broadcast system depending functionality. This user's guide covers code that provides decoding IEC61937 compliant bitstreams elementary bitstreams. IEC61937 protocol delivering compressed audio over consumer IEC60958 S/PDIF interface. used support stereo channel effects processing stereo MPEG decoding. CS4924 Dolby Digital Source Product Decoder CS4924 stereo version CS4923 designed source products such DVD, HDTV, boxes. CS4925 International Multi-Channel Audio Decoder CS4925 supports both Dolby Digital MPEG-2 multi-channel formats. both Dolby Digital MPEG-2 multi-channel, post processing includes bass management Dolby Logic decoding. Dolby Digital code MPEG code take separate code downloads. Another code load used support stereo channel effects processing. CS4926 DTS/Dolby Multi-Channel Audio Decoder CS4926 supports both Dolby Digital DTS, Digital Theater Surround. Dolby Digital, post processing includes bass management Dolby Logic. Dolby Digital code code take separate code downloads. Separate downloads also used support stereo channel effects processing stereo MPEG decoding. CS4927 MPEG-2 Multi-Channel Decoder CS4927 supports MPEG-2 multi-channel decoding should used applications where Dolby Digital decoding necessary. MPEG-2 multi-channel decoding, post processing includes bass management Dolby Logic decoding. Another code load used support stereo channel effects processing. CS4928 Multi-Channel Decoder CS4928 supports multi-channel decoding should used applications where Dolby Digital decoding necessary. multichannel decoding, post processing includes bass management. Separate downloads also used support stereo channel effects processing stereo MPEG decoding. Multi-Channel Decoder Family Parts CS4923 Dolby DigitalAudio Decoder CS4923 original member family intended used only Dolby Digital decoding required. Dolby Digital, post processing includes bass management, delays Dolby Logic® decoding. Separate downloads also AN122REV3 AN122 CS4929 2-Channel, (Low Complexity) MPEG-2 Stereo Decoder CS4929 capable decoding both 2-channel MPEG-2 audio. CS4929 supports both elementary formats. Document Strategy Multiple documents needed fully define, understand implement functionality CS4923/4/5/6/7/8/9. They split into basic groups: hardware application code documentation. should noted that hardware application code co-dependent successfully part without understanding both. `ANXXX' notation denotes application note number under which respective user's guide released. please www.cirrus.com search part number. AN120 Dolby Digital User's Guide CS4923/4/5/6 This document covers features available Dolby Digital code including delays, pink noise, bass management, Logic, pass through Dolby Digital processing features. Optional appendices available that document code Virtual Dolby DigitalTM, QSurroundand VMAxTM. AN121 MPEG User's Guide CS4925 This document covers features available MPEG Multi-Channel code including delays, bass management, Logic, MPEG processing features. AN122 User's Guide CS4926, CS4928 This document covers features available code including bass management processing features. AN123 Surround User's Guide CS4923/4/5/6/7/8 This code covers different Stereo surround effects processing code. Optional appendices available that document Crystal Original Surround, Circle Surroundand Logic 7TM. AN140 Broadcast Systems Guide CS4923/4/5/6/7/8/9 This guide describes application code (e.g. Dolby Digital, MPEG, AAC) designed broadcast systems such HDTV set-top receivers. This document also provides discussion broadcast system considerations dependencies. 1.2.1 Hardware Documentation CS4923/4/5/6/7/8/9 Family Data Sheet This document describes electrical characteristics device from timing base functionality. This hardware designers tool learn part's electrical systems requirements. AN115 CS4923/4/5/6/7/8/9 Hardware User's Guide This describes functional aspects device. depth description communication, boot procedure, external memory hardware configuration given this document. This document will valuable both hardware designer system programmer. 1.2.2 CS4923/4/5/6/7/8/9 Application Code User's Guides following application notes describe application codes used with CS4923/4/5/6/7/8/9. Whenever application code user's guide referred should assumed that more below documents being referenced. following list covers currently released application notes. This list will grow with each application released. current list released user's guides Using CS4923/4/5/6/7/8/9 matter what application being used chip, following four steps always followed CS4923/4/5/6/7/8/9 system. Reset and/or Download Code Detailed information found AN115. Hardware Configuration Detailed information found AN115. AN122REV3 AN122 Application configuration Detailed information found appropriate Application Code User's Guide. Kickstart This "Go" command CS492X once system properly configured. Detailed information found appropriate Application Code User's Guide. Digital Surround Description Digital Surround digital audio compression algorithm developed Digital Theater Systems channels audio. This users guide covers software designed CS4926/8 that decodes DTS. This users guide covers code that named with AAAA DTS_, CC==26 CC==28 described previous section. assumed that reader familiar with requirements features specified Specification: Coherent Acoustics Decoder, Technology, Version 1.0, January 1998 Licensee Manual: Master Quality Multichannel Digital Audio Decoding System Consumer Products Licensee Manual, Version 1.0, July 1998 Software Naming Convention keep with different applications, parts, hardware revisions software revisions following naming convention been adopted CS4923/4/5/6/7/8/9 software: AAAACCRV.LD where: AAAA three four letter Application description (e.g. AC3_) Chip suffix hardware (e.g. CS4923 CC=23) specification actual version release particular code Figure functional block diagram application code gives idea interaction between various application modules. this document CS4926/8 been used interchangeably with CS492X. Unless otherwise specified, CS492X should interpreted applying CS4926 CS4928. Autodetect Enable Enable Discrete Channels Downmix Channels Channels Autodetect (DTS) CMPDAT/ Decode Output Mode Control Bass Manager (Sub) Audio Manager Enable Bass Parameter Output Mode Volume/Mute Channel Remap Delay Figure Code Functional Diagram AN122REV3 AN122 HARDWARE CONFIGURATION After download soft reset, before kickstarting application (please Section "Audio Manager", more information kickstarting), host option changing default hardware configuration. Address checking serial communication data type format digital data input output changed through hardware configuration settings. entire hardware configuration only changed immediately after download soft reset. Supported Input/Output Modes CS492X input ports output port. AN115 describes digital audio formats supported ports gives description ports themselves. capabilities each port presented AN115 although configurations supported applications. Each Software Application User's Guide specifies exact input/output modes supported application. Referring AN115, Table shows input/output modes that supported application. Configuration INPUTA INPUTB INPUTC OUTPUTA OUTPUTB OUTPUTC OUTPUTD OUTPUTE Description Input Data Type Input Data Format Input SCLK/Data Edge Output Master/Slave Clock Setup Output Data Format Output MCLK Rate Output SCLK Rate Output SCLK/Data Edge Supported Modes 0,1,2,3 0,1,2,3 0,1,2 Table Input/Output Configurations Supported AN122REV3 AN122 APPLICATION MESSAGING While using CS492X necessary control monitor application take full advantage rich feature employed CS492X software. Application messaging allows user this. Whether configuring part after download, e.g. enabling decode, changing run-time parameters, e.g. controlling digital volume, host will application messaging communicate with CS492X. While communicating with CS492X using indexed modules, strict software protocol must used conjunction with hardware protocol discussed CS4923/4/5/6/7/8/9 Hardware User's Guide. This section will cover both format messages different configuration modules available with CS492X. must stressed that host must strictly adhere hardware software protocols insure successful communication. This section covers communicate with CS492X using indexed modules. software protocol presented following types messages: Write, Solicited Read, Read Response, Unsolicited Read Response. When protocol presented this section used with application modules Section "Application Modules", host will able fully configure application running CS492X. 3.1.1 Write Session write session with CS492X consists byte message from host CS492X. write message consists command word followed associated data word. Table shows format write message. 3.1.2 Solicited Read Message Format solicited read session consists byte Read Request message from host CS492X, followed byte Read Response message from CS492X host. read request message simply consists Read command word whose format shown Table After host sends read command word should wait INTREQ line fall. CS4923/4/5/6/7/8/9 Hardware User's Guide more hardware communication with CS492X. Indexed Module Communication Protocol Each indexed module application thought block software registers variables. index identifies unique variable within module. When opcode module index combined, unique variable read written. Write Command Word: OPCODE[7:0] INDEX[15:0] Write Data Word: DATA[23:0] OPCODE[7:0] byte) field containing opcode targeted application module. This field will choose which module written. INDEX[15:0] byte) field containing index desired variable module chosen OPCODE. This field will choose actual variable altered. DATA[23:0] byte) data word written into variable specified INDEX module specified OPCODE. Table Write Message Format AN122REV3 AN122 After INTREQ falls host should read byte Read Response message which consists byte Read Response Command word followed requested data word. format Read Response message shown Table which defines type unsolicited message described Section "Unsolicited Messages (Read-Only)") byte associated data word that contains more information describing system condition. Every time existence message detected sensing that INTREQ low), host should read byte read unsolicited message. Table shows format unsolicited read message. Unsolicited Read Message Format Unsolicited messages will typically used systems where INTREQ generate interrupts. These messages will come from CS492X indicate change system that must addressed. example when part autodetect mode detects stream. unsolicited read message will sent CS492X indicate stream type. byte unsolicited read messages from CS492X consist byte read command word Read Command Word: APPLICATION MODULES block diagram cover page this document accurately portrays interaction between various application modules code. following should noted about values application modules: OPCODE[7:0] INDEX[15:0] OPCODE[7:0] byte) field containing opcode targeted application module. This field will choose which module read from. INDEX[15:0] byte) field containing index desired variable module chosen OPCODE. This field will choose actual variable read. Table Read Command Message Format Read Response Command Word: OPCODE[7:0] INDEX[15:0] Read Response Data Word: DATA[23:0] OPCODE[7:0] byte) field containing Read Response opcode targeted application module. This field will show which module read. INDEX[15:0] byte) field containing index desired variable module chosen OPCODE. This field will show actual variable that read. DATA[23:0] byte) data word that read from variable specified INDEX module specified OPCODE. Table Read Response Message Format AN122REV3 AN122 Unsolicited Read Command Word: OPCODE[7:0] INDEX[15:0] Unsolicited Read Data Word: DATA[23:0] OPCODE[7:0] byte) field containing opcode Unsolicited Messages module. INDEX[15:0] byte) field containing index variable module designated OPCODE. DATA[23:0] byte) data word that corresponds variable specified INDEX module specified OPCODE. Table Unsolicited Read Message Format Variables marked `Default*' will only initialized after download. These variables will retain their values after soft reset application restart. Variables marked `Default' will reinitialized values shown this application note after download, soft reset application restart. Only those values which presented valid which fall within specified range should written application module variables. value which falls outside stated range written variable, functionality application guaranteed erroneous output could result. bits that defined should considered reserved written with unless specified otherwise. variables such volume scaling factors, real number range 0.0-1.0 written 0x000000-0x7FFFFF. This range linear, i.e. volume, represented 0x1FFFFF equivalent value 0.25. formula converting variable settings from hexadecimal number into follows: (variable setting/max value variable) e.g. (0x1FFFFF/0x7FFFFF) Numbers preceded should interpreted hex, numbers followed should interpreted binary. values sent CS4923/4/5/6/7/8/9 should converted hexadecimal. Likewise values read from part hexadecimal. AN122REV3 AN122 Audio Manager Write Opcode 0x88; Read Opcode 0x09; Read Response Opcode 0x89 Write Message 0x8800HH 0xhhhhhh Read Request Message 0x0900HH; Read Response Message 0x8900HH 0xhhhhhh 0xHH index 0xhhhhhh data value Index 0x00 Variable AUDIO_MGR_CONTROL Dataword Content 0/1= Disable/Enable unsolicited message notification change audio configuration input bitstream (Valid only AC-3 application). "Unsolicited Messages (Read-Only)" page more details 0/1= Disable/Enable bypassing autodetection start-up, i.e. first time after download/reset. (Valid only with Autodetect_Enable==1). Note: enabled, during readback this reserved read Autodetect_Enable 0/1= Disable/Enable autodetect functionality. PLL_Enable Disable/Enable Phase Locked Loop generation clock. mandatory that enabled CS492X. Kickstart_Enable Disable/Enable Kickstart application. Default 0x000000 0x800001-0x7FFFFF (-1.0 1.0). 0x06 0x07 0x08 0x09 0x0a 0x0b 0x0c MASTER_VOLUME L_VOLUME C_VOLUME R_VOLUME LS_VOLUME RS_VOLUME LFE_VOLUME Default* 0x7FFFFF 0x800001-0x7FFFFF (-1.0 1.0). Default* 0x7FFFFF 0x800001-0x7FFFFF (-1.0 1.0). Default* 0x7FFFFF 0x800001-0x7FFFFF (-1.0 1.0). Default* 0x7FFFFF 0x800001-0x7FFFFF (-1.0 1.0). Default* 0x7FFFFF 0x800001-0x7FFFFF (-1.0 1.0). Default* 0x7FFFFF 0x800001-0x7FFFFF (-1.0 1.0). Default* 0x7FFFFF Table Audio Manager AN122REV3 AN122 Index 0x0d 0x0e MUTE DAO0_CHANNEL Variable Default Dataword Content Unmute/mute audio. This soft mute. Channel type Digital Audio Output Each channel must mapped only unique output. Default* 0(L) 0x0f DAO1_CHANNEL Channel type Digital Audio Output Each channel must mapped only unique output. Default* 2(R) 0x10 DAO2_CHANNEL Channel type Digital Audio Output Each channel must mapped only unique output. Default* 3(Ls) 0x11 DAO3_CHANNEL Channel type Digital Audio Output Each channel must mapped only unique output. Default* 4(Rs) 0x12 DAO4_CHANNEL Channel type Digital Audio Output Each channel must mapped only unique output. Default* 1(C) 0x13 DAO5_CHANNEL Channel type Digital Audio Output Each channel must mapped only unique output. 0x16 0x17 0x18 LAST_UNSOLICITED_MESSAGE PLL_REGISTER_1 PLL_REGISTER_2 Default* 5(LFE) Last Unsolicited Message Value (see Section 4.4) READ ONLY Default=0x000000 Register value Phase Locked Loop generation). Default* 0x07f270 (CLKIN=12.288MHz, DSPCLK=60MHz) Register value Phase Locked Loop generation). Default* 0x0001fe (CLKIN=12.288MHz, DSPCLK=60MHz) Table Audio Manager (Continued) Notes: Mapping should setup before kickstart application should always complete one-to-one, i.e. each should mapped only Channel type. Channel type corresponds Channels respectively. 4.1.1 Audio_Control: (Index 0x00) Bit_15: Makes CS492X sensitive changes Audio configuration reported input bitstream. AMODE variables change, CS492X will issue unsolicited message (see Section "Unsolicited Messages (Read-Only)"). Disables Enables AN122REV3 Maintains CS492X autodetect mode, bypasses autodetection (directly enters input data processing) start-up, i.e. first time after download/reset. This should only changed after download, soft reset, Application Restart. state autodetect should modified during run-time. Disables Startup_Autodetect_Bypass Enables Startup_Autodetect_Bypass AN122 unsolicited message generated CS492X processing successful. However, data format subsequently found wrong type, autodetect messaging will generated CS492X usual. above Startup_Autodetect_Bypass mode useful saving autodetect latency when controller already knows that current input data format decodable downloaded application. controller usually aware this autodetection message from previous (most recent) downloaded application. NOTE: this mode enabled, readback value reserved (either received should ignored). Autodetect_Enable Puts CS492X into autodetect mode (see Section "Unsolicited Messages (Read-Only)"). This should only changed after download, soft reset, Application Restart. state autodetect should modified during run-time. Disables Autodetect Enables Autodetect PLL_Enable Enables Phase Locked Loop (PLL) generate internal DSPCLK from desired external CLKIN. Disables Enables register values PLL_Register_1 (0x17) PLL_Register_2 (0x18) define desired clock reference CLKIN used. default values download setup DSPCLK from 12.288 external CLKIN. CLKIN 11.2896 MHz, PLL_Register_1=0x24BC34 PLL_Register_2 0x0001fe should used. These register values should downloaded prior Kickstart with PLL_Enable. Kickstart Enable Puts CS492X into run-time mode. Indicates that hardware software configuration been completed CS492X start application. Application continues waiting kickstart. Application kickstarted AN122REV3 AN122 Manager Write Opcode 0x90; Read Opcode 0x11; Read Response Opcode 0x91 Write Message 0x9000HH 0xhhhhhh Read Request Message 0x1100HH; Read Response Message 0x9100HH 0xhhhhhh 0xHH index 0xhhhhhh data value Index 0x00 Variable DTS_CONTROL Dataword Content LFE_Summer_Enable Disable/Enable summing channels into output. Bits Output_Mode Surround Encoded. Reserved. Reserved. Reserved. DTS_Enable Disable/Enable decoding. Note: Undesired Channel outputs should explicitly muted setting corresponding Ch_Vol (see Audio Manager) 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 FTYPE SHORT NBLKS FSIZE AMODE SFREQ RATE Default* 0x000070 Frame Type Identifier. READ-ONLY 0.31 Deficit Sample Count. READ-ONLY Present Flag. READ-ONLY 5.127 Number Sample Blocks. READ-ONLY 96.8192 Primary Frame Byte Size. READ-ONLY 0.63 Audio Channel Arrangement. READ-ONLY 0.15 Source Sampling Frequency. READ-ONLY 0.31 Transmission Rate. READ-ONLY Table Manager AN122REV3 AN122 Index 0x09 0x0a 0x0b 0x0c 0x0d 0x0e 0x0f 0x10 0x11 0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x19 0x1a.0x1e 0x1f.0x23 0x24.0x28 0x29.0x32 Variable Dataword Content Embedded Down Enabled. READ-ONLY DYNF Embedded Dynamic Range Flag. READ-ONLY TIMEF Embedded Time Stamp Flag. READ-ONLY AUXF Auxiliary Data Flag. READ-ONLY EXT_AUDIO Extended Coding Flag. READ-ONLY ASPF Audio Sync Word Insertion Flag. READ-ONLY Frequency Effects Flag. READ-ONLY HFLAG Predictor History Flag Switch FILTS Multi-rate Interpolator Switch. READ-ONLY PCMR Source coding Resolution. READ-ONLY SUMF Front Difference Flag. READ-ONLY SUMS Surround Difference Flag. READ-ONLY SUBFS 0.15 Number Subframes. READ-ONLY PCHS Number Primary Audio Channels. READ-ONLY Subsubframe Count. READ-ONLY Partial Subsubframe Sample Count. READ-ONLY RANGE Dynamic Range Coefficient. READ-ONLY SUBS[0.4] 0.31 Subband Activity Count. READ-ONLY VQSUB[0.4] 0.31 High Frequency Start Subband. READ-ONLY JOINX[0.4] Joint Intensity Coding Index. READ-ONLY DOWN[0.4][0.1] 0.127 Scale Factors downmixing. READ-ONLY Table Manager (Continued) AN122REV3 AN122 4.2.1 DTS_Control LFE_Summer_Enable This will enable summing channels into output. pass filtering performed output external pass filtering should performed desired. Enable summing channels into output Disable summing channels into output Dolby Surround compatible 4.2.2 Stream Information Table lists READ-ONLY variables that reported host Decoder module. These read using appropriate Read Request, Read Response sessions. example, read AMODE value, host should issue byte Read Request 0x110006 then read byte Read Response 0x910006, 0x00000h, where dataword (latter bytes) indicates reported value amode. Please refer Specification more information these stream variables. Bits 7:4: Output_Mode These bits output speaker downmix configuration. When configuring Output _Mode, first individual volumes each undesired channel should Next, desired output mode should specified. This should done before kickstart application. example, output mode chosen, volume must explicitly Audio Manager module guarantee output those channels. AN122REV3 AN122 Generalized Bass Manager Write Opcode 0x94; Read Opcode 0x15; Read Response Opcode 0x95 Write 0x9400HH 0xhhhhhh Read Request 0x1500HH; Read Response 0x9500HH 0xhhhhhh 0xHH index 0xhhhhhh data value Index 0x00 Variable BASS_MGR_CONTROL Dataword Content LFE_Only_Sub Disable/Enable Only subwoofer. 4th_Order_LPF Disable/Enable order output summer. must addition enable order LPF. Disable/Enable output summer. HPF_L Disable/Enable channel HPF. HPF_C Disable/Enable channel HPF. HPF_R Disable/Enable channel HPF. HPF_Ls Disable/Enable channel HPF. HPF_Rs Disable/Enable channel HPF. Bass_Mgr Disable/Enable Bass Manager post-processing. Default 0x000000 0x000000-0x7FFFFF Level adjustment input channel pass-through. Default* 0x7FFFFF 0x000000-0x7FFFFF Level adjustment input channel input passthrough. Default* 0x7FFFFF 0x000000-0x7FFFFF Level adjustment input channel input passthrough. Default* 0x7FFFFF 0x000000-0x7FFFFF Level adjustment input channel pass-through. Default* 0x7FFFFF 0x000000-0x7FFFFF Level adjustment input channel pass-through. Default* 0x7FFFFF 0x000000-0x7FFFFF Level adjustment input channel passthrough. Default* 0x7FFFFF 0x000000-0x7FFFFF Level adjustment bass summer output contribution channel output. Default* 0x000000 0x000000-0x7FFFFF Level adjustment bass summer output contribution channel output. Default* 0x000000 0x000000-0x7FFFFF Level adjustment bass summer output contribution channel output. Default* 0x000000 Table Bass Manager 0x01 0x02 INPUT_L_LEVEL INPUT_C_LEVEL 0x03 INPUT_R_LEVEL 0x04 0x05 0x06 INPUT_LS_LEVEL INPUT_RS_LEVEL INPUT_LFE_LEVEL 0x07 SUM_OUTPUT_L_LEVEL 0x08 SUM_OUTPUT_C_LEVEL 0x09 SUM_OUTPUT_R_LEVEL AN122REV3 AN122 Index 0x0a Variable Dataword Content 0x0b 0x0c 0x0d 0x0e 0x0f 0x10 0x11 0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x19 SUM_OUTPUT_LS_LEVEL 0x000000-0x7FFFFF Level adjustment bass summer output contribution channel output. Default* 0x000000 SUM_OUTPUT_RS_LEVEL 0x000000-0x7FFFFF Level adjustment bass summer output contribution channel output. Default* 0x000000 LFE_L_LEVEL 0x000000-0x7FFFFF Level adjustment input contribution channel output. Default* 0x000000 LFE_C_LEVEL 0x000000-0x7FFFFF Level adjustment input contribution channel output. Default* 0x000000 LFE_R_LEVEL 0x000000-0x7FFFFF Level adjustment input contribution channel output. Default* 0x000000 LFE_LS_LEVEL 0x000000-0x7FFFFF Level adjustment input contribution channel output. Default* 0x000000 LFE_RS_LEVEL 0x000000-0x7FFFFF Level adjustment input contribution channel output. Default* 0x000000 SUM_INPUT_L_LEVEL 0x000000-0x7FFFFF Level adjustment input channel contribution bass summer input. Default* 0x16C311 (-15 SUM_INPUT_C_LEVEL 0x000000-0x7FFFFF Level adjustment input channel contribution bass summer input. Default* 0x16C311 (-15 SUM_INPUT_R_LEVEL 0x000000-0x7FFFFF Level adjustment input channel contribution bass summer input. Default* 0x16C311 (-15 SUM_INPUT_LS_LEVEL 0x000000-0x7FFFFF Level adjustment input channel contribution bass summer input. Default* 0x16C311 (-15 SUM_INPUT_RS_LEVEL 0x000000-0x7FFFFF Level adjustment input channel contribution bass summer input. Default* 0x16C311 (-15 SUM_INPUT_LFE_LEVEL 0x000000-0x7FFFFF Level adjustment input channel contribution bass summer. Default* 0x47FACD LPF_48_B0 0x000000-0x7FFFFF coefficient Pass Filter, Fs=48 KHz. Default* 0x014D4C LPF_48_B1 0x000000-0x7FFFFF coefficient Pass Filter, Fs=48 KHz. Default* 0x014D4C LPF_48_A1 0x000000-0x7FFFFF coefficient Pass Filter, Fs=48 KHz. Default* 0x7D6567 Table Bass Manager (Continued) AN122REV3 AN122 Index 0x1a 0x1b 0x1c 0x1d 0x1e 0x1f 0x20 0x21 0x22 0x23 0x24 0x25 0x26 0x27 0x28 Variable HPF_48_B0 HPF_48_B1 HPF_48_A1 LPF_44_B0 LPF_44_B1 LPF_44_A1 HPF_44_B0 HPF_44_B1 HPF_44_A1 LPF_32_B0 LPF_32_B1 LPF_32_A1 HPF_32_B0 HPF_32_B1 HPF_32_A1 Dataword Content 0x000000-0x7FFFFF coefficient High Pass Filter, Fs=48 KHz. Default* 0x7F7750 0x000000-0x7FFFFF coefficient High Pass Filter, Fs=48 KHz. Default* 0x8088B0 0x000000-0x7FFFFF coefficient High Pass Filter, Fs=48 KHz. Default* 0x7EEEA0 0x000000-0x7FFFFF coefficient Pass Filter, Fs=44 KHz. Default* 0x016A73 0x000000-0x7FFFFF coefficient Pass Filter, Fs=44 KHz. Default* 0x016A73 0x000000-0x7FFFFF coefficient Pass Filter, Fs=44 KHz. Default* 0x7D2B19 0x000000-0x7FFFFF coefficient High Pass Filter, Fs=44 KHz. Default* 0x7F6B48 0x000000-0x7FFFFF coefficient High Pass Filter, Fs=44 KHz. Default* 0x8094B8 0x000000-0x7FFFFF coefficient High Pass Filter, Fs=44 KHz. Default* 0x7ED68F 0x000000-0x7FFFFF coefficient Pass Filter, Fs=32 KHz. Default* 0x01F171 0x000000-0x7FFFFF coefficient Pass Filter, Fs=32 KHz. Default* 0x01F171 0x000000-0x7FFFFF coefficient Pass Filter, Fs=32 KHz. Default* 0x7C1D1F 0x000000-0x7FFFFF coefficient High Pass Filter, Fs=32 KHz. Default* 0x7F3365 0x000000-0x7FFFFF coefficient High Pass Filter, Fs=32 KHz. Default* 0x80CC9B 0x000000-0x7FFFFF coefficient High Pass Filter, Fs=32 KHz. Default* 0x7E66CA Table Bass Manager (Continued) Notes: "Default" "Default*" definition page AN122REV3 AN122 Bass Manager best described with block diagram. Figure shows topology filter used both pass high pass filters. This filter represents first order filters cascaded implement second order filter. order filters Figure implemented back back. Depending coefficient values, either second order pass second order high pass implemented. default frequency this filter corner frequency changed downloading values coefficients Note that since first order filters cascaded obtain second order filter, corner frequency design first order prototype adjusted obtain desired overall frequency when such first order filters cascaded. effect, first order filter should designed yield desired overall corner frequency. Figure shows processing unit each output channels (except LFE) Figure shows summing module used redirect bass subwoofer channel AN120 examples many typical bass management configurations. Figure Filter Topology Input_X_Level Input Channel Output Channel HPF_X_Enable Sum_Output_X_Level LFE_X_Level Summing Module Summing Module Figure Bass Manager Processing Unit AN122REV3 AN122 Sum_Input_X_Level Subwoofer Input_LFE_Level LFE_Only_Sub_Enable Processing Unit LPF_Enable Figure Subwoofer Summing Module AN122REV3 AN122 Unsolicited Messages (Read-Only) Write Message. Read Request. Unsolicited Read Response 0x8700HH 0xhhhhhh 0xHH index, 0xhhhhhh data value Index 0x00 Variable Dataword Content 0x03 0x10 AUTODETECT_RESPONSE Decodable_Stream_Flag= This stream not/is decodable application need download Bits 22:6 Reserved. Non_IEC61937_Stream_Flag= This stream not/is IEC61937 compressed data. Non_IEC61937_Stream_Flag=1 Bits Non_IEC61937 Stream Descriptor. 0x00 Silent Input Data (Out Application Sync) 0x01 Format-16 elementary stream 0x02 Format-14 elementary stream 0x03 Linear stream 0x04 HDCD stream (only available HDCD application) 0x05-0x1F Reserved Non_IEC61937_Stream_Flag=0 Bits IEC61937 Stream Descriptor Identical bits [4:0] burst datatype descriptor IEC61937 specification. Description data-type field reproduced below from IEC61937 spec.(current 11/97): 0x00 Never Reported. (Null data ignored CS492X) 0x01 AC-3 data 0x02 Reserved. 0x03 Never Reported. (Pause ignored CS492X) 0x04 MPEG-1 Layer data 0x05 MPEG-1 Layer data MPEG-2 without extension. 0x06 MPEG-2 data with extension 0x07 Reserved. 0x08 MPEG-2 Layer sampling frequency 0x09 MPEG-2 Layer sampling frequency 0x0A Reserved 0x0B DTS-1 data (512-sample bursts). 0x0C DTS-2 data (1024-sample bursts). 0x0D DTS-3 data (2048-sample bursts). 0x0E 0x1F Reserved AUDIO_CONFIGURATION_ Bits 23:0 Reserved. will send this message indicate that following changed stream: AMODE, LFF. CHANGED hosts responsibility check exactly what changed. PLL_OUT_OF_LOCK Bits 22:0 Reserved. Table Unsolicited Messages AN122REV3 AN122 4.4.1 Autodetect Operation sequence events involving autodetection described below from host's perspective. This general example CS492X, when using MPEG code code application restart available thus should used. Host downloads CS492X with tentative application code, this example will AC3_****.LD. Host then configures CS492X hardware appropriately sets application parameters desired including enable desired application. this example will code configured AC-3® decode. Host then kickstarts CS492X with Autodetect enabled (see Section "Audio Manager" details). autodetect module application CS492X maximum pause data determines input bitstream. enabled analyzes input non-silent/nonthe content CS492X (along with correct hardware configuration application configuration with autodetect enabled). Subsequently, will detected within successfully played code, after sending corresponding unsolicited message (0x870000 0x800021). Note: This example assumes CS4926 CS4928 being used since only play DTS. case being detected CS4923/4/5/7/9 MPEG detected CS4923/4/6/8/9, host should display appropriate user message front panel stating that detected stream (DTS/MPEG) cannot played this receiver. enabled application play detected input (i.e. AC-3 detected this case), then CS492X issues Unsolicited Message host indicating datatype with Decodable_Bitstream_Flag=1. example AC-3 stream, message would 0x870000 0x800001. CS492X then goes ahead processes according application parameters setup Step above. enabled application cannot play detected input (say Non-IEC61937 detected), then CS492X soft mutes outputs, issues Unsolicited Message host indicating datatype with Decodable_Bitstream_Flag=0. example, message would 0x870000 0x000021. receiving this message, host repeats Steps onwards this time downloads code After above steps while CS492X successfully playing input bitstream (still AC-3 example), host receives external information that input been changed (e.g. user selects source using front panel buttons), then before switching input data CS492X, host should send Application Restart message (see Section "Audio Manager") Soft Reset. application restart used, this effectively puts CS492X Step without changing output hardware configuration (i.e. output clocks interrupted). input configuration would need changed different than default. Soft Reset issued then entire hardware configuration needs resent. host should then repeat Steps 5a/b described above after delivering input stream CS492X. input content detected unchanged (still example), CS492X responds continues processing Step This situation will happen stream selected user also AC-3. input content detected different (non-AC-3 example), CS492X AN122REV3 AN122 responds Step continues monitoring input stream change content. During run-time, while successfully playing input bitstream, CS492X also simultaneously monitors input. Note that CS492X only active input. `input' defined receiving data which application configured (e.g. application configured PCM, receiving data input. application configured compressed data, receiving compressed data input). soon CS492X detects change bitstream longer AC-3, original example), then CS492X automatically reverts Step i.e. analyzes input determine content. This automatic version Step above, intended only cover cases where host aware possible upstream content changes. Whenever possible, host should convey information about possible change input Step input content detected different (non-AC-3 example), CS492X reverts Step compressed data streams code will also report Unsolicited Message 0x870000 0x800020 indicate out-of-sync condition when decoder loses sync with incoming stream silent input data. This informative message action needed host. input content detected unchanged (still AC-3 example), CS492X continues processing like Step without requiring further action from host. This situation could arise pause track change upstream source, like from player. case compressed data being played currently (like AC-3 example), host could out-of-sync Unsolicited Message followed Unsolicited Message indicating AC-3 data. presence out-of-sync messages `special' functions like pause track change completely dependent upon audio source (such player). case application that currently active, silence less than (default 48000 samples, i.e. Second KHz) before transitioning PCM, CS492X continues process input data change occurred. However, during processing, silence more than PCM_Autodetect_ Silence_Threshold, CS492X jumps Silent Input Data state, output muted (transparent silent input anyway). Transition this Silent Input Data state reported Unsolicited Message (0x870000 0x800020). This message informative only, action should taken host. CS492X effectively Step above now, waiting autodetect input once non-silent data appears. Once input data successfully detected, corresponding Unsolicited Message issued host process continues above. Please Figure overview previously described flow. AN122REV3 AN122 Perform Kickstart with Autodetect Perform Kickstart with Autodetect Time (Autodetect Enabled) INTREQ goes User Reads Unsolicited Response Time (Autodetect Enabled) INTREQ goes User Reads Unsolicited Response Last Input Current Input Current Input Silence Host Does Nothing Last Input Current Input Current Input Silence Host Does Nothing Last Input Compressed Bitstream Current Input Different Compressed Bitstream Host Loads Corresponding AC-3, MPEG Code, Configures Hardware Performs Kickstart with Autodetect Bypass Last Input Compressed Bitstream Current Input Different Compressed Bitstream Host Loads Corresponding AC-3 MPEG Code, Configures Hardware Performs Kickstart with Autodetect Bypass Last Input Bitstream Current Input Compressed Bitstream Host Loads Corresponding AC-3, MPEG Code, Configures Hardware Performs Kickstart Note Last Input Bitstream Current Input Host Loads Code, Configures Hardware Performs Kickstart Last Input Compressed Bitstream Current Input Bitstream Host Loads Corresponding Code, Configures Hardware Performs Kickstart Note Last Input Bitstream Current Input Bitstream Host Does Nothing Figure Generic Autodetection Flow Chart Figure Specific Autodetect Flow Chart Notes: Host need load AC-3 code AC-3 already loaded passing-through PCM. Host need only perform Soft Reset, Configure Hardware perform Kickstart perform Application Restart, Configure Inputs, perform Kickstart. Host need reload AC-3 code AC-3 already loaded, will pass-through PCM. Host need only perform Soft Reset, Configure Hardware perform Kickstart perform Application Restart, Configure Inputs, perform Kickstart. AN122REV3 AN122 4.4.2 Special Considerations Autodetect treated like linear CD/DVD player. During FF/REW ("trick" modes), CD/DVD player drops audio samples create effect audible listener. Dropping data, however, causes corruption bitstream which makes data indistinguishable from linear PCM. result, decoder will generate autodetect message indicating detected. normal usage, time required change from linear should trigger autodetect message silence. abrupt transition from should indicate system controller that "trick" mode being used code should loaded, unless system controller special knowledge perfect DTS/PCM splice (e.g. button device front panel). Please Figure overview previously described flow. Figure overview previously described summary. Download code Soft Reset Application Restart) Hardware Configuration (for download Soft Reset) Application Configuration (including enable desired application) Kickstart with autodetection enabled one/all follwing: Notes Download Application Code (AC-3, PCM, DTS, MPEG, etc.) Download Successful 4.4.3 Typical Download Configuration Autodetect should only enabled disabled when sending kickstart command. Changing state Autodetect other time produce unpredictable results function input application that currently enabled. host needs change state Autodetect time some reason, soft reset Application Restart should sent. code, must enabled before autodetect enable sent with kickstart. Autodetect function senses data, then appropriate Unsolicited Message sent decode will start automatically without direction from host. summary, following recommended procedure when using autodetect. Please Configure Hardware Configure Application (Audio Manager, etc.) Perform Kickstart with Autodetect Time (Autodetect Enabled) Figure Typical Download Configuration Notes: Check file version. Contact your most recent version. Check make sure file correct chip being used. AN122REV3 AN122 APPLICATION CONFIGURATION EXAMPLES This section covers various application modes available with CS4926/8. Although many application modes possible, only most common modes have been presented here examples. This should considered limit what modes part system designer configure CS4926/8 needs system. Table following section provides message sent what message doing. Care should taken guarantee that correct value sent directly after associated opcode index word. command kickstart application should always sent last. SPECIAL CONSIDERATIONS CERTIFICATION Systems using autodetection feature Application Code require ability bypass autodetection order obtain certification. autodetection engine does look certain streams that considered atypical real world scenarios. Specifically bitrate streams that employ IEC61937 packing streams question. should noted that decoder does have problem decoding these streams. autodetection mechanism suppress these streams thus will never decode them autodetection enabled. Because some these atypical streams part test suite suggested that systems looking certification employ method enable decoding with autodetection bypassed. button realistic, then other alternatives might include special keystroke menu choice. Once again please understand that this problem with decoders ability 100% compliant with test streams, since CS4926 certified addition please aware that streams question commercially available. autodetection will successfully detect streams that commercially available. Opcode Index 0x900000. 0x880000. decode with Autodetect this mode input should compressed DTS. data will taken from compressed input port designated hardware configuration message. Table gives description decode with Autodetect. input this port Autodetect function will notify host described Section "Unsolicited Messages (Read-Only)". Figure gives example pseudocode configure either part basic decode DTS. This pseudocode used template other configurations swapping message array size. Module DTS. Audio Manager. Index Control. Audio Manager Control. Description Output Mode Enabled Autodetect Enabled Enabled Kickstart Application. Value 0x000071. 0x001011. Table Enabling Decode with Autodetect void DTS_Config() unsigned char DTS_config_message[] {0x90, 0x00, 0x00, 0x00, 0x00, 0x71, 0x88, 0x00, Write_*(DTS_config_message,12); 0x00, 0x10, 0x00, 0x11 Replace with depending protocol Figure Pseudocode Example Configure Part Decode with Autodetect AN122REV3 Notes Other recent searchesSST27VF040 - SST27VF040 SST27VF040 Datasheet SP702 - SP702 SP702 Datasheet FDS7088N3 - FDS7088N3 FDS7088N3 Datasheet FCSP140TR - FCSP140TR FCSP140TR Datasheet DM54LS453A - DM54LS453A DM54LS453A Datasheet DM74LS453A - DM74LS453A DM74LS453A Datasheet CRO2500A-LF - CRO2500A-LF CRO2500A-LF Datasheet 2SC3870 - 2SC3870 2SC3870 Datasheet
Privacy Policy | Disclaimer |