CK49x Customer Kit CK49x–4953xx/ 4970x4 User ’s Manual Preliminary Product Information This document contains information for a new product. Cirrus Logic reserves the right to modify this product without notice. Copyright 2012 Cirrus Logic, Inc. http://www.cirrus.
CK49x User’s Manual Contacting Cirrus Logic Support For all product questions and inquiries contact a Cirrus Logic Sales Representative. To find the one nearest to you go to www.cirrus.com IMPORTANT NOTICE “Preliminary” product information describes products that are in production, but for which full characterization data is not yet available. Cirrus Logic, Inc. and its subsidiaries (“Cirrus”) believe that the information contained in this document is accurate and reliable.
CK49x User’s Manual Chapter 1. Customer Kit Contents and Requirements ...................................... 1-1 1.1 CK49x Customer Kit Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-1 1.2 Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2 1.2.1 PC Requirements .................................................................................................
CK49x User’s Manual Chapter 2. Introduction to CK49x Evaluation System ....................................... 2-1 2.1 Introducing the CK49x Evaluation System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-1 2.2 Identifying Components on the CK49x Evaluation System . . . . . . . . . . . . . . . . . . . . . . . . . .2-2 2.2.1 CDB49x Main Board Components ..................................................................................2-2 2.2.1.1 CDB49x Main Board Components.
CK49x User’s Manual Chapter 6. CK49x Schematics.............................................................................. 6-1 6.1 Obtaining Schematic Updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-1 6.1.1 CK49x Daughter Card Schematics..................................................................................6-1 6.1.1.1 DC4953xx Daughter Card Modification .........................................................6-1 Chapter 7.
CK49x User’s Manual Figure 1-1. CDB49x Evaluation Base Board (without DC4953x Installed) ....................................................1-2 Figure 1-2. CK49x Evaluation System (CDB49x Evaluation Base Board (with DC4953x Installed) .............1-2 Figure 1-3. CDB49x Main Board Block Diagram ...........................................................................................1-4 Figure 1-4. DC4953x Daughter Card Block Diagram .......................................................................
CK49x User’s Manual Table 1-1. CK49x Customer Kit Contents .....................................................................................................1-1 Table 1-2. ADC Clocking.............................................................................................................................1-11 Table 1-3. S/PDIF Clocking.........................................................................................................................1-12 Table 1-4. HDMI Clocking .................
CK49x Customer Kit Contents CK49x User’s Manual Chapter 1 Customer Kit Contents and Requirements 1.1 CK49x Customer Kit Contents Table 1-1.
Requirements CK49x User’s Manual . Figure 1-1. CDB49x Evaluation Base Board (without DC4953x Installed) DC4953x Daughter Card Figure 1-2. CK49x Evaluation System (CDB49x Evaluation Base Board (with DC4953x Installed) 1.2 Requirements 1.2.1 PC Requirements • Microsoft® Windows XP® Operating System • USB 2.0 Support 1.2.2 Software Requirements • Cirrus Board Software Package (available from your local Cirrus Logic representative) 1.2.
Requirements CK49x User’s Manual 1.2.
CK49x System Description CK49x User’s Manual 1.3 CK49x System Description A block diagram of the CDB49x main board is shown in Figure 1-3 and a block diagram of the DC4953x daughter card in Figure 1-4. The sections that follow provide a detailed description of each block. Figure 1-3. CDB49x Main Board Block Diagram Figure 1-4.
CK49x System Description CK49x User’s Manual 1.3.1 Audio Inputs 1.3.1.1 Analog Line-level Inputs Analog line-level inputs have the following characteristics: • Connector Type: RCA Female • Absolute Maximum Signal Level: +12Vp-p • Full Scale Amplitude: 2VRMS • Reference Designators: J26,J28, or LEFT-IN, RIGHT-IN 1.3.1.2 HDMI Digital Input HDMI digital inputs have the following characteristics: • Connector Type: HDMI Type A Female • Reference Designators: J4, or HDMI RX 1.3.1.
CK49x System Description CK49x User’s Manual 1.3.2 Audio Outputs 1.3.2.1 Main Analog Line-level Outputs Analog line-level outputs have the following characteristics: • Connector Type: RCA Female • Full Scale Amplitude: 2VRMS • Reference Designators: J33-J40, or LEFT, RIGHT, Ls, Rs, CENTER, SUB, SBL, SBR 1.3.2.2 Headphone Output Analog line-level outputs have the following characteristics: • Connector Type: 3.
CK49x System Description CK49x User’s Manual 1.3.2.7 I2S Digital Output (DAO Mux Output) I2S digital output has the following characteristics: • Connector Type: 0.100” Male Header • Maximum Signal Level: +3.3V • Reference Designator: P16 1.3.3 DC Power Input The DC power input has the following characteristics and is switched by S7: • Voltage Range: +9VDC TO +12VDC • Minimum Power: 18W supply (2A @ 9V) • Connector Type: 2mm Female, positive center pin • Reference Designator: J25 1.3.
CK49x System Description CK49x User’s Manual The output buffer currently enabled is indicated by the LEDs D18 - D23. 1.3.
CK49x System Description CK49x User’s Manual The CS4953xx/CS4970x4 has many applications stored in internal ROM, but a host is still required to configure the application for a particular system. The CK49x allows the PC to act as a host to boot and configure the DSP through the GUI software. The DSP is booted primarily from external serial Flash (U13 on CDB49x) using the DSP Condenser system for simplified MCU control. 1.3.
CK49x System Description CK49x User’s Manual 1.3.17 HDMI Recevier (RX) The Silicon Image™ Si9135 HDMI Rx (U16) is used for the HDMI input on the CK49x. It can provide up to 4 lines of I2S data which can support PCM, legacy compressed audio (DD, DTS), and new HD audio streams. Because the Si9135 responds to all I2C addresses, a bus isolator (U14) has been used to prevent the HDMI Rx from responding to serial communication intended for other devices on the CK49x. 1.3.
CK49x System Description CK49x User’s Manual 1.3.20.1 Clock and Data Flow for ADC Input CODEC_DOUT CODEC_LRCLK CODEC_SCLK XTAL_OUT CS2000 SDOUT MUXED_BUF_MCLK DAI OUT_DAO1_SCLK DAO OUT_DAO1_LRCLK OUT_DA01_D[3:0] SDIN S/PDIF RX CS4953x DSP-1 XMTA S/PDIF OUT CS42528 Figure 1-5. CS495xxx/CS497xxx ADC Clocking The ADC clocking architecture is used when the ADCs are used as the only audio input (i.e.
CK49x System Description CK49x User’s Manual Note: MUXED_MCLK is the clock signal that is driven by the CS42528’s RMCK pin. The CS42528 provides the recovered clock from the S/PDIF input unless it loses signal lock, in which case the CS42528 passes the DSP clock (XTAL_OUT) that it receives on the OMCK pin via the CS2000. 1.3.20.
CK49x System Description CK49x User’s Manual provides the recovered clock from the S/PDIF input unless it loses signal lock, in which case the CS42528 passes the DSP clock (XTAL_OUT) that it receives on the OMCK pin. 1.3.20.3 Clock and Data Flow for HDMI or ASIO Input Data Delivery HDMI RX / ASIO Input XTAL_OUT DAI1_LRCLK DAI1_SCLK MUXED_DAI[4:0] CS2000 MUXED_BUF_MCLK DAI OUT_DAO1_SCLK DAO SDIN S/PDIF RX DSP_DA0[3:0] CS42528 XMTA S/PDIF OUT CS4953x4 OUT_DAO1_LRCLK Figure 1-7.
DS898CK4Other Useful Information CK49x User’s Manual 1.4 DS898CK4Other Useful Information 1.4.1 Web Sites • Cirrus Logic main web site: www.cirrus.com 1.4.2 DSP Information The following information can be obtained from your Cirrus Logic representative. • CS495xxx/CS497xxx Data Sheet • CS495xxx/CS497xxx System Designer’s Guide • AN288, CS495xxx/CS497xxx Firmware User’s Manual 1.4.3 Board Information • The following information can be obtained from your local Cirrus Logic representative.
Introducing the CK49x Evaluation System CK49x User’s Manual Chapter 2 Introduction to CK49x Evaluation System 2.1 Introducing the CK49x Evaluation System HDMI S/PDIF The CK49x Evaluation System is composed of the CDB49x base board and the DC4953x daughter card where the C24953x4 DSP is installed. The CK49x Evaluation System provides a practical platform for emulating a typical multi-channel audio system application.
Identifying Components on the CK49x Evaluation System CK49x User’s Manual This document will concentrate on the features and basic operation of the CK49x board. Detailed information regarding the operation and programming of the CS4953x4 DSP is covered by the CS4953xx Data Sheet, the CS4970x4/CS4953x4 System Designer’s Guide and the application note AN288. See Section 1.4 “DS898CK4Other Useful Information” on page 1-14 for more details. The CK49x is a convenient and easy-to-operate evaluation platform.
6 DS898CK7 2 15 37 16 35 18 19 32 23 2-3 Figure 2-3.
Identifying Components on the CK49x Evaluation System CK49x User’s Manual 2.2.1.1 CDB49x Main Board Components The circled numbers found in Figure 2-3 refer to the CDB49x Main Board components in the following list: 1. LCD 2. HDMI Receiver (Rx) 3. Extended Display Identification Data (EDID) Programming Header 4. HDMI Input Connector 5. Hot Plug Indicator 6. HDMI Transmitter (Tx) 7. HDMI Output Connector 8. S/PDIF Optical Tx 9. S/PDIF Coax Rx 10. S/PDIF Optical Rx 11. +5V Header 12. +1.8V Header 13.
Identifying Components on the CK49x Evaluation System CK49x User’s Manual 34. IR Receiver 35. System Reset 36. Rotary Encoder Knob 37. MCU Buttons (4) (Menu, Left, Right, Exit) 38. MCU LEDs (4) 2.2.2 DC4953x Daughter Card Figure 2-4 shows the top side of the DC4953x Daughter Card. The accompanying legend identifies the main components of the board. Section 2.2.2.1 contains the legend for the reference points called out in red in Figure 2-4. 1 5 2 4 3 Figure 2-4.
Identifying Components on the CK49x Evaluation System CK49x User’s Manual 2.2.2.1 DC4953x Daughter Card Components The circled numbers found in Figure 2-4 refer to the DC4953x Daughter Card components in the following list: 1. Cirrus Logic CS4953x DSP (U1) 2. 24.576 MHz Crystal (Y1) 3. Debug Header (P5) 4. ESMT 16-Mbit SDRAM (U2) 5. Power LEDs (2) 2.2.2.2 DC4970x4 Daughter Card Components The circled numbers found in Figure 2-4 refer to the DC4970x4 Daughter Card components in the following list: 1.
Installation, Setup, and Running First Application CK49x User’s Manual Chapter 3 Installation, Setup, and Running Application 3.1 Installation, Setup, and Running First Application It is important to install the Board Software BEFORE connecting the USB cable. Failure to install the board software before the initial connection can result in an inability to communicate with the CDB49x. 3.1.
Installation, Setup, and Running First Application CK49x User’s Manual • Connect the other end of the optical cable to the optical output on the back of a DVD player or other digital audio source. 7. Connect powered speaker to the CK49x Evaluation System: • DS898CK7 Use the RCA audio cables to connect the line-level analog outputs to powered speakers as shown in Figure 3-1.
DS898CK7 For Video DVD Player +9V Power Supply USB Cable “B” MCU Rotary Knob MCU Push Buttons MCU LEDs (4) Copyright 2012 Cirrus Logic, Inc HDMI In Power Cable S/PDIF Optical Tx “A” USB 2.0 Port S/PDIF Optical Rx Cable Dual Zone Outputs SBR SBL RCA Cables to Powered Speakers R L Analog Outputs Sub Center Rs Ls RCA Cables to Powered Speakers Figure 3-1.
Installation, Setup, and Running First Application CK49x User’s Manual 3.1.3 Connecting to a PC Note: There is a possibility that the CK49x Evaluation Board may disconnect from the PC during operation. It is recommended to short across pads of R97 and C203 by the USB connector on the board to avoid any USB connectivity issues. Follow these steps, to connect the PC 1. Connect the “B” end of the USB cable to P1 on the CK49x Evaluation System. 2. Connect the “A” end of the USB Cable to a USB 2.
Installation, Setup, and Running First Application CK49x User’s Manual Figure 3-4. Opening a Console Window from Cirrus Device Manager 3. Figure 3-5 shows the CDM Console window, which is now available for the user to enter commands. Figure 3-5.
Installation, Setup, and Running First Application CK49x User’s Manual 3.1.5 Running a Stereo PCM Application on CK49x Figure 3-6 shows the DSP Composer™ main window for a PCM pass-through application on the CK49x. The blocks shown in the main window of DSP Composer™ can be selected from the folders in the lefthand window pane, and then connected together by “wires” to indicate the processing path as shown The “Audio In” and “Audio Out” blocks represent the hardware ports that need to be configured.
Installation, Setup, and Running First Application CK49x User’s Manual 3.1.6 Downloading Other Applications Separate project files (.cpa) are provided for other applications such as Dolby Digital. In order to evaluate these, please contact your local FAE to ensure that the necessary licensing agreements have been completed. 3.1.7 Running a Multichannel PCM Application via HDMI The CK49x Evaluation System includes an HDMI 1.
Programming the DSP on the CK49x Evaluation Board CK49x User’s Manual Chapter 4 Programming the DSP on the CK49x Evaluation Board 4.1 Introduction With the exception of the power selection jumpers, the CK49x is configured exclusively through software. The DSP Composer™ software is a graphical user interface (GUI) that is used to program the CK49x DSP, and to configure the CK49x. This chapter provides basic instruction for using the GUI to control the CK49x.
Programming the DSP on the CK49x Evaluation Board CK49x User’s Manual Figure 4-2. System Properties Showing CS495314 as the Chip ID 4.2.2 Channel Remap of the DSP The audio output channels of the DSP can be mapped by double-clicking on the System block in DSP Composer In DSP Composer, select the DAO remap tab as illustrated in Figure 4-3 and click on the DAO1 Combo Box to select the internal channel to route to DA01 channel. Figure 4-3.
Programming the DSP on the CK49x Evaluation Board CK49x User’s Manual 4.3 Changing Audio Input Source The active audio input to the CK49x is selected through the “Audio In” block in DSP Composer, this is done by right-clicking on the “Audio In” block and selecting Device Properties, as illustrated in Figure 4-4. Figure 4-4. CK49x Audio In Properties This dialog allows the user to set the following parameters for the CK49x: • Input Source - S/PDIF, Analog, or USB • Audio Data Format - I2S, LJ, etc. 4.
Programming the DSP on the CK49x Evaluation Board CK49x User’s Manual 4.3.2 Analog Audio Input To deliver data to the DSP via 6ch ADC, select “Analog” as the Input Source following the same steps used in selecting SPDIF as described in the previous section. Double click the “Audio In” block to see the signal flow. Right-clicking the “ADC” block and selecting Device Properties will display the CODEC Properties dialog as illustrated in Figure 4-6.
Programming the DSP on the CK49x Evaluation Board CK49x User’s Manual 4.3.3 HDMI Audio Input Right-click on the HDMI element to access the HDMI properties dialog and to select from the following HDMI configuration options: • InputFS field has the following options: - 1 fs - 2 fs - 4 fs. (default) Note: The sampling rate selected in the InputFS field is the sample rate of the data as it’s streamed from the HDMI port to the DSP.
Programming the DSP on the CK49x Evaluation Board CK49x User’s Manual 4.3.4 DAI Input Each available audio source for the board is shown as a block connected to the DAI port of the CK49x as illustrated in Figure 4-8. Right-clicking any of the sources and selecting Device Properties, produces the DAI Properties dialog. Figure 4-8.
Programming the DSP on the CK49x Evaluation Board CK49x User’s Manual 4.4 Changing Audio Output Source The audio output section of the CK49x is configured through the “Audio Out” block in DSP Composer, this is done by right-clicking on the “Audio Out” block and selecting Device Properties, as illustrated in Figure 4-9. Figure 4-9. CK49x Audio Out Properties This resulting dialog allows the user to set the following parameters for the CS42448 DACs: • Audio Data Format - I2S, LJ, etc.
Programming the DSP on the CK49x Evaluation Board CK49x User’s Manual This dialog allows the user to set the following parameters for the CK49x Audio Output: • LRCLK polarity - Select the phase of LRCLK when the left-sample will be shifted out. • SCLK polarity - Select which edge of SCLK for which the output data will be valid. • DAO1/DAO2 - Select independent or unified clock domains for the DAO1 and DAO2 audio output ports. • MCLK/SCLK Ratios - Select the ratio of LRCLK to MCLK, and LRCLK to SCLK.
Programming the DSP on the CK49x Evaluation Board CK49x User’s Manual 4.5 Programming the On-board Serial Flash The CK49x is populated with 4 Mbits of serial Flash that can be used to store custom DSP firmware or run-time firmware configuration options. In order to emulate a system that boots the DSP from Flash, the serial Flash can be programmed in system with the desired DSP firmware. The host (the PC in this case) can be used to perform a master boot to boot the CK49x. A special .
Running the CK49x Board in Standalone Mode CK49x User’s Manual Chapter 5 Running the CK49x Board in Standalone Mode 5.1 Introduction The CK49x Evaluation System supports two methods of communicating with the CS4953x4 DSP on the daughter card attached to the main board. • Connect a PC to CK49x Evaluation System via USB cable – The USB connection supports communication between DSP Composer on the user’s PC and the CK49x Evaluation System.
Running the CK49x Board in Standalone Mode CK49x User’s Manual 5.2 System Boot-up If the USB cable is connected to the CK49x Evaluation System, the system will boot up in USB mode upon power up or system reset. The LCD displays “Wait for USB enumeration…” message first and then shows the board name,” CK49x”, “USB” which signifies that a USB connection is active, and the MCU firmware revision number that is currently active.
Running the CK49x Board in Standalone Mode CK49x User’s Manual Button/Rotary Knob (S5) In Setup mode, turning the Rotary Knob clockwise/counterclockwise displays next/previous option(s) on the menu respectively. Pressing this knob selects or activates the current option. In Status Display mode, turning the Rotary Knob causes the system to enter Volume Adjustment mode. In this mode, turning the Rotary Knob clockwise/counterclockwise adjusts audio gain up/down.
Running the CK49x Board in Standalone Mode CK49x User’s Manual Table 5-1.
Running the CK49x Board in Standalone Mode CK49x User’s Manual Table 5-1. Options for when S5 Button/Rotary Knob is Turned (Continued) Level 1 Menu Option Level 2 Submenu Options Bass Management> (Continued from Previous Page) BM Mode:LSSSSS13 Level 3 Submenu Options EXIT 1.
Running the CK49x Board in Standalone Mode CK49x User’s Manual 5.4.2 Adjusting Audio Volume Follow these steps to adjust audio volume See Figure 5-3 to view the Volume Adjustment (Master Gain) mode on display on the system LCD.: 1. In the Status Display mode, turn the Rotary Knob either clockwise or counterclockwise to activate the Volume Adjustment (Master Gain) mode 2. Turn the Rotary Knob clockwise to increment the volume, while turning the knob counterclockwise decrements the volume. 3.
Running the CK49x Board in Standalone Mode CK49x User’s Manual 3. Press the RIGHT button or the Rotary Knob to activate the Surround Sound submenu option of your choice. Once the option is chosen, an asterisk (*) will appear next to the option indicating that the option is now the new default. 4. Press the MENU or EXIT button to exit the Set-up mode. Figure 5-5. Setting Surround Mode 5.4.5 Selecting the Virtualizer Mode Follow these steps to select the Virtualizer Mode.
Running the CK49x Board in Standalone Mode CK49x User’s Manual Figure 5-7.
CK49x Schematics CK49x User’s Manual Chapter 6 CK49x Schematics 6.1 Obtaining Schematic Updates Updates to the schematics for the CK49x Development Board can be found in the Schematics menu accessed via Start > All Programs > Cirrus Logic DSP > Schematics after installing the Cirrus DSP eval kit or the Cirrus DSP SDK. The schematics are provided in Adobe’s PDF and PADS™ format. The latest schematics are included in Cirrus DSP full eval kit and Cirrus DSP SDK.
Troubleshooting Guide CK49x User’s Manual Chapter 7 Troubleshooting 7.1 Troubleshooting Guide This section provides solutions to problems that users might experience when using the CK49x. 7.1.1 Power LEDs Problem: Power LEDs are not illuminated. • Possible cause: DC power supply is not connected to CK49x. Solution: Ensure the DC wall supply is connected to the DC power input jack (J25), and the supply is plugged into a wall outlet and the power switch is set to the On position. 7.1.
Troubleshooting Guide CK49x User’s Manual 7.1.4 Only Stereo Audio is Heard Problem: Only Stereo Audio is heard even when delivering a multi-channel compressed audio stream (e.g. Dolby Digital, DTS). Possible cause: DVD Player is not configured properly. Solution: DSP is auto detecting a PCM stream and playing the 2-channel PCM. Navigate to the audio setup for the DVD player and set to “Bitstream Out” instead of “PCM Out.
Modification for the Serial Flash Chip Select Signal on DC4953x3 CK49x User’s Manual Appendix A Modification for the Serial Flash Chip Select Signal on DC4953x3 This modification should be present on daughter cards populated with CS495303 and CS495313 to enable Host Controlled Master Boot from the serial flash connected to SCP2 port of the DSP. 1. Refer to Figure A-1. 2. Remove R93 3. Connect wire from pin 38 of U1 (DSP) to pad 1 of R93. U1 R93 \SPI_FLASH_CS 14 DSP 38 Figure A-1.
Modification for the Serial Flash Chip Select Signal on DC4953x3 CK49x User’s Manual Appendix B DAI I2S Play Back Header B.1 DAI I2S Play Back Header See Figure B-1 for DC1: DAI Record and Asio Play Block Diagram. See Figure B-2 for DC1: DAI Record and Asio Play. B-1 Copyright 2012 Cirrus Logic, Inc.
DS898CK7 DAI1 ASIO DAI REC HDMI_MCLK DAI2 I2S-IN Connector DAO3_MCLK DAI – ASIO PLAY SELECT B-2 Figure B-1.
DS898CK7 B-3 Modification for the Serial Flash Chip Select Signal on DC4953x3 CK49x User’s Manual Copyright 2012 Cirrus Logic, Inc Figure B-2. Figure A-2.
Modifications to Improve the Signal Integrity of I2C Communications CK49x User’s Manual Appendix C CDB49x Rev. A Rework for I2C Buffer on SCP_CLK C.1 Modifications to Improve the Signal Integrity of I2C Communications The rework instructions in this appendix apply only to Rev. A of the CDB49x, and it is only necessary if the user wants to communicate with the DSP using I2C rather than SPI. The board is configured to use SPI by default, as SPI is a much faster protocol than I2C.
DS898CK7 C-2 Figure C-2 shows the logical representation of the Appendix D Modifications Modifications to Improve the Signal Integrity of I2C Communications CK49x User’s Manual Copyright 2012 Cirrus Logic, Inc Figure C-1.
Modifications to Improve the Signal Integrity of I2C Communications CK49x User’s Manual Figure C-2. Logical Representation of the Modifications Described in this Appendix C-3 Copyright 2012 Cirrus Logic, Inc.
Modifications to Improve the Signal Integrity of Debugger Communications CK49x User’s Manual Appendix D CDB49x Rev. A Rework for I2C Buffer on DBCK Signal D.1 Modifications to Improve the Signal Integrity of Debugger Communications The rework instructions in this appendix apply only to Rev. A of the CDB49x, and it is only necessary for use of the proprietary debug port connected to the DSP. Normal demonstration features are not affected by this modification.
Modifications to Improve the Signal Integrity of Debugger Communications CK49x User’s Manual Revision History Revision Date CK1 February, 2010 CK2 March, 2010 CK3 June, 2010 CK4 CK5 February, 2011 December, 2011 CK6 August, 2012 CK7 December, 2012 DS898CK7 Changes Initial release. Updates related to DC4953x3 and DC4970x4 Updated Chapter 4 with updated screen captures Added the following note at the end of Section 3.1.5, Section 3.1.7, and Section 3.1.