0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
会员中心
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
CS44600-CQZ

CS44600-CQZ

  • 厂商:

    CIRRUS(凌云)

  • 封装:

    LQFP64

  • 描述:

    IC AMP CTLR DGTL 6CH 64LQFP

  • 数据手册
  • 价格&库存
CS44600-CQZ 数据手册
CS44600 6-Channel Digital Amplifier Controller Features > 100 dB Dynamic Range - System Level < 0.03% THD+N @ 1 W - System Level 32 kHz to 192 kHz Sample Rates Internal Oscillator Circuit Supports 24.576 MHz to 54 MHz Crystals Integrated Sample Rate Converter (SRC) – Eliminates Clock Jitter Effects – Input Sample Rate Independent Operation Power Supply Rejection Realtime Feedback Spread Spectrum Modulation - Reduces EMI PWM Popguard® for Single-Ended Mode Eliminates AM Frequency Interference Programmable Load Compensation Filters Support for up to 40 kHz Audio Bandwidth Digital Volume Control with Soft Ramp – +24 to -127 dB in 0.25 dB Steps Per Channel Programmable Peak Detect and Limiter SPI™ and I²C® Host Control Interfaces Separate 2.5 V to 5.0 V Serial Port and Host Control Port Supplies PS_SYNC XTAL XTI XTO SYS_CLK DAI_MCLK DAI_SCLK DAI_LRCK DAI_SDIN1 DAI_SDIN2 DAI_SDIN3 MUTE SCL/CCLK SDA/CDOUT AD1/CDIN AD0/CS RST INT SPI/I2C Host Control Port Auto Fs Detect DAI Serial Port PWM Clock Control Power Supply Rejection Volume / Limiter Volume / Limiter SRC Volume / Limiter Multibit Σ∆ Modulator PWM Conversion Multibit Σ∆ Modulator Multibit Σ∆ Modulator PWM Conversion PWM Conversion PSR_RESET PSR_EN PSR_MCLK PSR_SYNC PSR_DATA PWMOUTA1+ PWMOUTA1PWMOUTB1+ PWMOUTB1PWMOUTA2+ PWMOUTA2PWMOUTB2+ PWMOUTB2PWMOUTA3+ PWMOUTA3PWMOUTB3+ PWMOUTB3- PWM Backend Control/ Status GPIO0 GPIO1 GPIO2 GPIO3 GPIO4 GPIO5 GPIO6 http://www.cirrus.com Copyright © Cirrus Logic, Inc. 2006 (All Rights Reserved) MARCH '06 DS633F1 CS44600 General Description The CS44600 is a multi-channel digital-to-PWM Class D audio system controller including interpolation, sample rate conversion, half- and full-bridge PWM driver outputs, and power supply rejection feedback in a 64-pin LQFP package.The architecture uses a direct-to-digital approach that maintains digital signal integrity to the final output filter, minimizing analog interference effects which negatively affect system performance. The CS44600 integrates on-chip digital volume control, peak detect with limiter, de-emphasis, and 7 GPIO’s, allowing easy interfacing to many commonly available power stages. The PWM amplifier can achieve greater than 90% efficiency. This efficiency provides for smaller device package, less heat sink requirements, and smaller power supplies. The CS44600 is ideal for audio systems requiring wide dynamic range, negligible distortion and low noise, such as A/V receivers, DVD receivers, digital speaker and automotive audio systems. 2 DS633F1 CS44600 TABLE OF CONTENTS 1. CHARACTERISTICS AND SPECIFICATIONS ...................................................................................... 8 SPECIFIED OPERATING CONDITIONS .............................................................................................. 8 ABSOLUTE MAXIMUM RATINGS ........................................................................................................ 8 DC ELECTRICAL CHARACTERISTICS ............................................................................................... 9 DIGITAL INTERFACE CHARACTERISTICS ........................................................................................ 9 PWM OUTPUT PERFORMANCE CHARACTERISTICS .................................................................... 10 PWM FILTER CHARACTERISTICS ................................................................................................... 11 SWITCHING CHARACTERISTICS - XTI ............................................................................................ 11 SWITCHING CHARACTERISTICS - SYS_CLK .................................................................................. 12 SWITCHING CHARACTERISTICS - PWMOUTA1-B3 ....................................................................... 12 SWITCHING CHARACTERISTICS - PS_SYNC ................................................................................. 12 SWITCHING CHARACTERISTICS - DAI INTERFACE ...................................................................... 13 SWITCHING CHARACTERISTICS - CONTROL PORT - I²C FORMAT ............................................. 14 SWITCHING CHARACTERISTICS - CONTROL PORT - SPI FORMAT ............................................ 15 2. PIN DESCRIPTIONS ......................................................................................................................... 16 2.1 I/O Pin Characteristics ................................................................................................................ 19 3. TYPICAL CONNECTION DIAGRAMS ...................................................................................... 20 4. APPLICATIONS ................................................................................................................................... 22 4.1 Overview ....................................................................................................................................... 22 4.2 Feature Set Summary ................................................................................................................... 22 4.3 Clock Generation ........................................................................................................................... 23 4.3.1 FsIn Domain Clocking .......................................................................................................... 24 4.3.2 FsOut Domain Clocking ........................................................................................................ 24 4.4 FsIn Clock Domain Modules ......................................................................................................... 26 4.4.1 Digital Audio Input Port ......................................................................................................... 26 4.4.2 Auto Rate Detect .................................................................................................................. 30 4.4.3 De-Emphasis ........................................................................................................................ 30 4.5 FsOut Clock Domain Modules ....................................................................................................... 31 4.5.1 Sample Rate Converter ........................................................................................................ 31 4.5.2 Load Compensation Filter .................................................................................................... 31 4.5.3 Digital Volume and Mute Control .......................................................................................... 31 4.5.4 Peak Detect / Limiter ............................................................................................................ 32 4.5.5 PWM Engines ....................................................................................................................... 32 4.5.6 Interpolation Filter ................................................................................................................. 33 4.5.7 Quantizer .............................................................................................................................. 33 4.5.8 Modulator ............................................................................................................................. 33 4.5.9 PWM Outputs ....................................................................................................................... 33 4.5.10 Power Supply Rejection (PSR) Real-Time Feedback ........................................................ 34 4.6 Control Port Description and Timing ............................................................................................. 35 4.6.1 SPI Mode .............................................................................................................................. 35 4.6.2 I²C Mode ............................................................................................................................... 36 4.6.3 GPIOs ................................................................................................................................... 37 4.6.4 Host Interrupt ........................................................................................................................ 37 5. POWER SUPPLY, GROUNDING, AND PCB LAYOUT ....................................................................... 38 5.1 Reset and Power-Up ..................................................................................................................... 41 5.1.1 PWM PopGuard® Transient Control .................................................................................... 41 5.1.2 Recommended Power-Up Sequence ................................................................................... 41 5.1.3 Recommended PSR Calibration Sequence ........................................................................ 42 5.1.4 Recommended Power-Down Sequence .............................................................................. 43 6. REGISTER QUICK REFERENCE ........................................................................................................ 44 7. REGISTER DESCRIPTION .................................................................................................................. 48 7.1 Memory Address Pointer (MAP) .................................................................................................... 48 DS633F1 3 CS44600 7.1.1 Increment (INCR) ................................................................................................................. 48 7.1.2 Memory Address Pointer (MAPx) ......................................................................................... 48 7.2 CS44600 I.D. and Revision Register (address 01h) (Read Only) ................................................. 48 7.2.1 Chip I.D. (Chip_IDx) ............................................................................................................. 48 7.2.2 Chip Revision (Rev_IDx) ...................................................................................................... 49 7.3 Clock Configuration and Power Control (address 02h) ................................................................. 50 7.3.1 Enable SYS_CLK Output (EN_SYS_CLK) ........................................................................... 50 7.3.2 SYS_CLK Clock Divider Settings (SYS_CLK_DIV[1:0]) ....................................................... 50 7.3.3 PWM Master Clock Divider Settings (PWM_MCLK_DIV[1:0]) ............................................. 50 7.3.4 Power Down XTAL (PDN_XTAL) ......................................................................................... 50 7.3.5 Power Down Output Mode (PDN_OUTPUT_MODE) ........................................................... 51 7.3.6 Power Down (PDN) .............................................................................................................. 51 7.4 PWM Channel Power Down Control (address 03h) ...................................................................... 51 7.4.1 Power Down PWM Channels (PDN_PWMB3:PDN_PWMA1) ............................................. 51 7.5 Misc. Configuration (address 04h) ................................................................................................ 52 7.5.1 Digital Interface Format (DIFX) ............................................................................................. 52 7.5.2 AM Frequency Hopping (AM_FREQ_HOP) ......................................................................... 52 7.5.3 Freeze Controls (FREEZE) .................................................................................................. 52 7.5.4 De-Emphasis Control (DEM[1:0]) ......................................................................................... 53 7.6 Ramp Configuration (address 05h) ............................................................................................... 53 7.6.1 Ramp-Up/Down Setting (RAMP[1:0]) .................................................................................. 53 7.6.2 Ramp Speed (RAMP_SPD[1:0]) .......................................................................................... 53 7.7 Volume Control Configuration (address 06h) ................................................................................ 54 7.7.1 Single Volume Control (SNGVOL) ....................................................................................... 54 7.7.2 Soft Ramp and Zero Cross Control (SZC[1:0]) ..................................................................... 54 7.7.3 Enable 50% Duty Cycle for Mute Condition (MUTE_50/50) ................................................. 54 7.7.4 Soft Ramp-Down on Interface Error (SRD_ERR) ................................................................ 55 7.7.5 Soft Ramp-Up on Recovered Interface Error (SRU_ERR) ................................................... 55 7.7.6 Auto-Mute (AMUTE) ............................................................................................................. 55 7.8 Master Volume Control - Integer (address 07h) ............................................................................ 56 7.8.1 Master Volume Control - Integer (MSTR_IVOL[7:0]) ............................................................ 56 7.9 Master Volume Control - Fraction (address 08h) .......................................................................... 56 7.9.1 Master Volume Control - Fraction (MSTR_FVOL[1:0]) ......................................................... 56 7.10 Channel XX Volume Control - Integer (addresses 09h - 0Eh) .................................................... 58 7.10.1 Channel Volume Control - Integer (CHXx_IVOL[7:0]) ........................................................ 58 7.11 Channel XX Volume Control1 - Fraction (address 11h) ............................................................ 58 7.12 Channel XX Volume Control2 - Fraction (address 12h) .............................................................. 58 7.12.1 Channel Volume Control - Fraction (CHXX_FVOL[1:0]) .................................................... 58 7.13 Channel Mute (address 13h) ....................................................................................................... 59 7.13.1 Independent Channel Mute (CHXX_MUTE) ....................................................................... 59 7.14 Channel Invert (address 14h) ...................................................................................................... 59 7.14.1 Invert Signal Polarity (CHXX_INV) ..................................................................................... 59 7.15 Peak Limiter Control Register (address 15h) ............................................................................. 60 7.15.1 Peak Signal Limit All Channels (LIMIT_ALL) ...................................................................... 60 7.15.2 Peak Signal Limiter Enable (LIMIT_EN) ............................................................................. 60 7.16 Limiter Attack Rate (address 16h) .............................................................................................. 60 7.16.1 Attack Rate (ARATE[7:0]) .................................................................................................. 60 7.17 Limiter Release Rate (address 17h) ......................................................................................... 61 7.17.1 Release Rate (RRATE[7:0]) ............................................................................................... 61 7.18 Chnl XX Load Compensation Filter - Coarse Adjust (addresses 18h, 1Ah, 1Ch, 1Eh, 20h, 22h) .. 61 7.18.1 Channel Compensation Filter - Coarse Adjust (CHXX_CORS[5:0]) .................................. 61 7.19 Chnl XX Load Compensation Filter - Fine Adjust (addresses 19h, 1Bh, 1Dh, 1Fh, 21h, 23h) .... 62 7.19.1 Channel Compensation Filter - Fine Adjust (CHXX_FINE[5:0]) ......................................... 62 4 DS633F1 CS44600 7.20 Interrupt Mode Control (address 28h) ......................................................................................... 62 7.20.1 Interrupt Pin Control (INT1/INT0) ....................................................................................... 62 7.20.2 Overflow Level/Edge Select (OVFL_L/E) ........................................................................... 63 7.21 Interrupt Mask (address 29h) ...................................................................................................... 63 7.22 Interrupt Status (address 2Ah) (Read Only) ............................................................................... 63 7.22.1 SRC Unlock Interrupt (SRC_UNLOCK) .............................................................................. 63 7.22.2 SRC Lock Interrupt (SRC_LOCK) ...................................................................................... 64 7.22.3 Ramp-Up Complete Interrupt (RMPUP_DONE) ................................................................. 64 7.22.4 Ramp-Down Complete Interrupt (RMPDN_DONE) ............................................................ 64 7.22.5 Mute Complete Interrupt (Mute_DONE) ............................................................................. 64 7.22.6 Channel Over Flow Interrupt (OVFL_INT) .......................................................................... 64 7.22.7 GPIO Interrupt Condition (GPIO_INT) ................................................................................ 64 7.23 Channel Over Flow Status (address 2Bh) (Read Only) .............................................................. 65 7.23.1 ChXX_OVFL ....................................................................................................................... 65 7.24 GPIO Pin In/Out (address 2Ch) ................................................................................................... 65 7.24.1 GPIO In/Out Selection (GPIOX_I/O) .................................................................................. 65 7.25 GPIO Pin Polarity/Type (address 2Dh) ....................................................................................... 65 7.25.1 GPIO Polarity/Type Selection (GPIOX_P/T) ...................................................................... 65 7.26 GPIO Pin Level/Edge Trigger (address 2Eh) .............................................................................. 66 7.26.1 GPIO Level/Edge Input Sensitive (GPIOX_L/E) ................................................................. 66 7.27 GPIO Status Register (address 2Fh) .......................................................................................... 66 7.27.1 GPIO Pin Status (GPIOX_STATUS) .................................................................................. 66 7.28 GPIO Interrupt Mask Register (address 30h) .............................................................................. 67 7.28.1 GPIO Pin Interrupt Mask (M_GPIOX) ................................................................................. 67 7.29 PWM Configuration Register (address 31h) ............................................................................... 67 7.29.1 Over Sample Rate Selection (OSRATE) ............................................................................ 67 7.29.2 Channels A1 and B1 Output Configuration (A1/B1_OUT_CNFG) ..................................... 67 7.29.3 Channels A2 and B2 Output Configuration (A2/B2_OUT_CNFG) ..................................... 67 7.29.4 Channel A3 Output Configuration (A3_OUT_CNFG) ......................................................... 68 7.29.5 Channel B3 Output Configuration (B3_OUT_CNFG) ......................................................... 68 7.30 PWM Minimum Pulse Width Register (address 32h) ................................................................. 68 7.30.1 Disable PWMOUTXX - Signal (DISABLE_PWMOUTXX-) ................................................. 68 7.30.2 Minimum PWM Output Pulse Settings (MIN_PULSE[4:0]) ................................................. 68 7.31 PWMOUT Delay Register (address 33h) ................................................................................... 69 7.31.1 Differential Signal Delay (DIFF_DLY[2:0]) .......................................................................... 69 7.31.2 Channel Delay Settings (CHNL_DLY[4:0]) ........................................................................ 69 7.32 PSR and Power Supply Configuration (address 34h) ................................................................. 70 7.32.1 Power Supply Rejection Enable (PSR_EN) ....................................................................... 70 7.32.2 Power Supply Rejection Reset (PSR_RESET) .................................................................. 70 7.32.3 Power Supply Rejection Feedback Enable (FEEDBACK_EN) ........................................... 71 7.32.4 Power Supply Sync Clock Divider Settings (PS_SYNC_DIV[2:0]) ..................................... 71 7.33 Decimator Shift/Scale (addresses 35h, 36h, 37h) ....................................................................... 71 7.33.1 Decimator Shift (DEC_SHIFT[2:0]) ..................................................................................... 71 7.33.2 Decimator Scale (DEC_SCALE[18:0]) ............................................................................... 71 7.34 Decimator Outd (addresses 3Bh, 3Ch, 3Dh) ............................................................................... 72 7.34.1 Decimator Outd (DEC_OUTD[23:0]) .................................................................................. 72 8. PARAMETER DEFINITIONS ................................................................................................................ 73 9. REFERENCES ...................................................................................................................................... 75 10. PACKAGE DIMENSIONS ......................................................................................................... 76 11. THERMAL CHARACTERISTICS ....................................................................................................... 77 12. ORDERING INFORMATION .............................................................................................................. 77 13. REVISION HISTORY .......................................................................................................................... 77 DS633F1 5 CS44600 LIST OF FIGURES Figure 1.Performance Characteristics Evaluation Active Filter Circuit ...................................................... 10 Figure 2.XTI Timings ................................................................................................................................. 11 Figure 3.SYS_CLK Timings ...................................................................................................................... 12 Figure 4.PWMOUTxx Timings .................................................................................................................. 12 Figure 5.PS_SYNC Timings ...................................................................................................................... 12 Figure 6.Serial Audio Interface Timing ...................................................................................................... 13 Figure 7.Serial Audio Interface Timing - TDM Mode ................................................................................. 13 Figure 8.Control Port Timing - I²C Format ................................................................................................. 14 Figure 9.Control Port Timing - SPI Format ................................................................................................ 15 Figure 10.CS44600 Pinout Diagram ......................................................................................................... 16 Figure 11.Typical Full-Bridge Connection Diagram .................................................................................. 20 Figure 12.Typical Half-Bridge Connection Diagram .................................................................................. 21 Figure 13.CS44600 Data Flow Diagram (Single Channel Shown) ........................................................... 23 Figure 14.Fundamental Mode Crystal Configuration ................................................................................ 24 Figure 15.3rd Overtone Crystal Configuration .......................................................................................... 25 Figure 16.CS44600 Internal Clock Generation ......................................................................................... 25 Figure 17.I²S Serial Audio Formats ........................................................................................................... 27 Figure 18.Left-Justified Serial Audio Formats ........................................................................................... 27 Figure 19.Right-Justified Serial Audio Formats ......................................................................................... 28 Figure 20.One Line Mode #1 Serial Audio Format .................................................................................... 28 Figure 21.One Line Mode #2 Serial Audio Format .................................................................................... 29 Figure 22.TDM Mode Serial Audio Format ............................................................................................... 29 Figure 23.De-Emphasis Curve .................................................................................................................. 30 Figure 24.Control Port Timing in SPI Mode .............................................................................................. 35 Figure 25.Control Port Timing, I²C Slave Mode Write ............................................................................... 36 Figure 26.Control Port Timing, I²C Slave Mode Read ............................................................................... 36 Figure 27.Recommended CS44600 Power Supply Decoupling Layout .................................................... 38 Figure 28.Recommended CS44600 Crystal Circuit Layout ...................................................................... 39 Figure 29.Recommended PSR Circuit Layout .......................................................................................... 40 Figure 30.PSR Calibration Sequence ....................................................................................................... 43 Figure 31.PWM Output Delay ................................................................................................................... 70 Figure 32.64-Pin LQFP Package Drawing ................................................................................................ 76 6 DS633F1 CS44600 LIST OF TABLES Table 1. Common DAI_MCLK Frequencies .............................................................................................. 24 Table 2. DAI Serial Audio Port Channel Allocations ................................................................................. 26 Table 3. Load Compensation Example Settings ....................................................................................... 31 Table 4. Typical PWM Switch Rate Settings ............................................................................................. 33 Table 5. Digital Audio Interface Formats ................................................................................................... 52 Table 6. Master Integer Volume Settings .................................................................................................. 56 Table 7. Master Fractional Volume Settings ............................................................................................. 57 Table 8. Channel Integer Volume Settings ............................................................................................... 58 Table 9. Channel Fractional Volume Settings ........................................................................................... 59 Table 10. Limiter Attack Rate Settings ...................................................................................................... 61 Table 11. Limiter Release Rate Settings ................................................................................................... 61 Table 12. Channel Load Compensation Filter Coarse Adjust ................................................................... 62 Table 13. Channel Load Compensation Filter Fine Adjust ........................................................................ 62 Table 14. PWM Minimum Pulse Width Settings ........................................................................................ 69 Table 15. Differential Signal Delay Settings .............................................................................................. 69 Table 16. Channel Delay Settings ............................................................................................................. 69 Table 17. Power Supply Sync Clock Divider Settings ............................................................................... 71 Table 18. Decimator Shift/Scale Coefficient Calculation Examples .......................................................... 72 DS633F1 7 CS44600 1. CHARACTERISTICS AND SPECIFICATIONS (All Min/Max characteristics and specifications are guaranteed over the Specified Operating Conditions. Typical performance characteristics and specifications are derived from measurements taken at nominal supply voltages and TA = 25°C.) SPECIFIED OPERATING CONDITIONS (GND = 0 V, all voltages with respect to ground) Parameter DC Power Supply Digital XTAL (Note 1) 2.5 V 2.5 V 3.3 V 5.0 V 3.3 V 5.0 V 2.5 V 3.3 V 5.0 V 2.5 V 3.3 V 5.0 V -CQZ -DQZ VD VDX 2.37 2.37 3.14 4.75 3.14 4.75 2.37 3.14 4.75 2.37 3.14 4.75 -10 -40 2.5 2.5 3.3 5.0 3.3 5.0 2.5 3.3 5.0 2.5 3.3 5.0 2.63 2.63 3.47 5.25 3.47 5.25 2.63 3.47 5.25 2.63 3.47 5.25 +70 +85 V V V V V V V V V V V V °C °C Symbol Min Typ Max Units PWM Interface Serial Audio Interface VDP VLS Control Interface VLC Ambient Operating Temperature Commercial Automotive Notes: 1. When using external crystal, VDX = 3.14 V(min). When using clock signal input, VDX = 2.37 V(min). TA ABSOLUTE MAXIMUM RATINGS (GND = 0 V; all voltages with respect to ground.) Parameters DC Power Supply Symbol VD Digital VDX XTAL VDP PWM Interface VLS Serial Audio Interface VLC Control Interface (Note 2) Iin PWM Interface VIND-PWM Serial Audio Interface VIND-S Control Interface VIND-C -CQ TA -DQ Tstg Min -0.3 -0.3 -0.3 -0.3 -0.3 -0.3 -0.3 -0.3 -20 -50 -65 Max 3.5 6.0 6.0 6.0 6.0 ±10 VDP+0.4 VLS+0.4 VLC+0.4 +85 +95 +150 Units V V V V V mA V V V °C °C °C Input Current Digital Input Voltage (Note 3) Ambient Operating Temperature (power applied) Storage Temperature WARNING: Operation at or beyond these limits may result in permanent damage to the device. Normal operation is not guaranteed at these extremes. 2. Any pin except supplies. Transient currents of up to ±100 mA on the input pins will not cause SCR latch-up. 3. The maximum over/under voltage is limited by the input current. 8 DS633F1 CS44600 DC ELECTRICAL CHARACTERISTICS (GND = 0 V, all voltages with respect to ground; DAI_MCLK = 12.288 MHz, XTAL = 24.576 MHz, PWM Switch Rate = 384 kHz unless otherwise specified.) Parameter Normal Operation (Note 4) Power Supply Current (Note 5) VD = 2.5 V VDX = 3.3 V VDP = 3.3 V VLS = 3.3 V VLC = 3.3 V (Note 6) ID IDX IDP ILS ILC 150 2 1.2 150 250 387 15 40 80 500 mA mA mA µA µA mW dB dB µA Symbol Min Typ Max Units Power Dissipation VD=2.5 V, VDX = VDP = VLS = VLC = 3.3 V (1 kHz) PSRR (60 Hz) Ipd Power Supply Rejection Ratio (Note 7) Power-Down Mode (Note 8) Power Supply Current All Supplies except VDX (Note 9) 4. Normal operation is defined as RST = HI with a 997 Hz, 0 dBFS input. 5. Current consumption increases with increasing XTAL clock rates and PWM switch rates. Variance between DAI clock rates is negligible. 6. ILC measured with no external loading on the SDA pin. 7. Valid with PSRR function enabled and the recommended external ADC (CS4461) and filtering. 8. Power down mode is defined as RST pin = LOW with all clock and data lines held static. 9. When RST pin = LOW, the internal oscillator is active to provide a valid clock for the SYS_CLK output. DIGITAL INTERFACE CHARACTERISTICS (GND = 0 V, all voltages with respect to ground) XTAL PWM Interface Serial Audio Interface Control Interface Low-Level Input Voltage XTAL PWM Interface Serial Audio Interface Control Interface High-Level Output Voltage at Io = -2 mA PWM Interface Serial Audio Interface Control Interface Low-Level Output Voltage at Io = 2 mA PWM Interface Serial Audio Interface Control Interface Input Leakage Current Input Capacitance Parameters (Note 10) High-Level Input Voltage Symbol VIH Min 0.7xVDX 0.7xVDP 0.7xVLS 0.7xVLC VDP-1.0 VLS-1.0 VLC-1.0 Typ Max 0.2xVDX 0.2xVDP 0.2xVLS 0.2xVLC 0.45 0.45 0.45 ±10 8 Units V V V V V V V V V V V V V V µA pF VIL VOH VOL Iin 10. Serial Port signals include: SYS_CLK, DAI_MCLK, DAI_SCLK, DAI_LRCK, DAI_SDIN1-3 Control Port signals include: SCL/CCLK, SDA/CDOUT, AD0/CS, AD1/CDIN, INT, RST, MUTE PWM signals include: PWMOUTA1-B3, PSR_MCLK, PSR_SYNC, PSR_DATA, PS_SYNC, GPIO[6:0] DS633F1 9 CS44600 PWM OUTPUT PERFORMANCE CHARACTERISTICS (Logic “0” = GND = 0 V; Logic “1” = VLS = VLC; VD = 2.5 V; DAI_MCLK = 12.288 MHz; XTAL= 24.576 MHz; PWM Switch Rate = 384 kHz; Fs = 32 kHz to 192 kHz; Measurement bandwidth is 10 Hz to 20 kHz unless otherwise specified; Performance measurements taken with a full-scale 997 Hz.) Parameter Dynamic Performance (Note 11) 24-Bits 16-Bits 24-Bits A-Weighted unweighted unweighted 0 dB THD+N -20 dB -60 dB (1 kHz) 102 99 108 105 96 -90 -77 -45 110 100 -85 dB dB dB dB dB dB dB dB Symbol Min Typ Max Unit Total Harmonic Distortion + Noise (Note 11) Idle Channel Noise / Signal-to-Noise Ratio Interchannel Isolation 11. Performance characteristics measured using filter shown in Figure 1. PWMOUTxx+ + + + - Analog Output PWMOUTxx- + Figure 1. Performance Characteristics Evaluation Active Filter Circuit 10 DS633F1 CS44600 PWM FILTER CHARACTERISTICS (Logic “0” = GND = 0 V; Logic “1” = VLS = VLC; VD = 2.5 V; DAI_MCLK = 12.288 MHz; XTAL = 24.576 MHz; PWM Switch Rate = 384 kHz; Fs = 32 kHz to 192 kHz; Measurement bandwidth is 10 Hz to 20 kHz unless otherwise specified.) Parameter Digital Filter Response (Note 12) Passband OSRATE = 0b OSRATE = 1b (Note 13) Min Typ Max Unit OSRATE = 0b OSRATE = 1b (Note 13) Group Delay De-emphasis Error (Relative to 1 kHz) to -0.01 dB corner to -3 dB corner to -0.01 dB corner to -3 dB corner Frequency Response 10 Hz to 20 kHz 10 Hz to 40 kHz Fs = 32 kHz Fs = 44.1 kHz Fs = 48 kHz 0 0 0 0 -0.8 -1.2 - (Note 14) - 1.6 24.0 3.3 44.5 +0.02 +0.02 ±0.23 ±0.14 ±0.09 kHz kHz kHz kHz dB dB ms dB dB dB 12. Filter response is not production tested but is characterized and guaranteed by design. 13. XTAL = 49.152 MHz; PWM Switch Rate = 768 kHz; Fs = 96 kHz to 192 kHz. 14. The equation for the group delay through the sample rate converter with OSRATE = 0b is (8.5 / Fsi) + (10 / Fso) ± (4.5 / Fsi). The equation for the group delay through the sample rate converter with OSRATE = 1b is (8.5 / Fsi) + (20 / Fso) ± (4.5 / Fsi). SWITCHING CHARACTERISTICS - XTI (VD = 2.5 V, VDP = VLC = VLS = 3.3 V, VDX = 2.5 V to 5.0 V; Inputs: Logic 0 = GND, Logic 1 = VDX) Parameter XTI period XTI high time XTI low time XTI Duty Cycle External Crystal operating frequency Symbol tclki tclkih tclkil Min 18.518 8.34 8.34 45 24.576 Typ ------50 --Max 40.69 22.38 22.38 55 54 Unit ns ns ns % MHz XTI tclkih tclki Figure 2. XTI Timings tclkil DS633F1 11 CS44600 SWITCHING CHARACTERISTICS - SYS_CLK (VD = 2.5 V, VDP = VLC = VDX = 3.3 V, VLS = 2.5 V to 5.0 V, Cload = 50 pF) Parameter SYS_CLK Period SYS_CLK Duty Cycle Symbol tsclki Min 18.518 45 Typ --50 Max --55 Unit ns % SYS_CLK tsclki Figure 3. SYS_CLK Timings SWITCHING CHARACTERISTICS - PWMOUTA1-B3 (VD = 2.5 V, VLS = VLC = VDX = 3.3 V, VDP = 3.3 V to 5.0 V unless otherwise specified, Cload = 10 pF) Parameter PWMOUTxx Period Rise Time of PWMOUTxx Fall Time of PWMOUTxx VDP = 5.0 V VDP = 3.3 V VDP = 5.0 V VDP = 3.3 V Symbol tpwm tr tf Min 2.60 Typ 1.6 2.1 1.1 1.4 Max 1.18 Unit µs ns ns ns ns tr PWMOUTxx tf tpwm Figure 4. PWMOUTxx Timings SWITCHING CHARACTERISTICS - PS_SYNC (VD = 2.5 V, VLS = VLC = VDX = 3.3 V, VDP = 3.3 V to 5.0 V, Cload = 20 pF) Parameter PS_SYNC Period PS_SYNC Duty Cycle Symbol tpsclki Min 592.576 45 Typ --50 Max --55 Unit ns % PS_SYNC tpsclki Figure 5. PS_SYNC Timings 12 DS633F1 CS44600 SWITCHING CHARACTERISTICS - DAI INTERFACE (VD = 2.5 V, VDX = VDP = VLC = 3.3 V, VLS = 2.5 V to 5.0 V; Inputs: Logic 0 = GND, Logic 1 = VLS.) Parameters RST pin Low Pulse Width DAI_MCLK Duty Cycle DAI_SCLK Duty Cycle DAI_LRCK Duty Cycle DAI Sample Rate DAI_SDIN Setup Time Before DAI_SCLK Rising Edge DAI_SDIN Hold Time After DAI_SCLK Rising Edge DAI_SCLK High Time DAI_SCLK Low Time DAI_LRCK Setup Time Before DAI_SCLK Rising Edge DAI_SCLK Rising Edge Before DAI_LRCK Edge (Note 17) Fs tds tdh tsckh tsckl tlrcks tlrckd (Note 15) (Note 16) Symbol Min 1 40 45 45 32 10 10 20 20 25 25 Max 60 55 55 192 Units ms % % % kHz ns ns ns ns ns ns 15. After powering up, the CS44600, RST should be held low until after the power supplies and clocks are settled. 16. See Table 1 on page 26 for suggested MCLK frequencies. 17. Max DAI sample rate is 96 kHz for One Line and TDM modes of operation. D A I_ L R C K t lrc k d t lrcks t s ck h tsckl DAI_LRCK (input) t lrcks DAI_SCLK (input) t ds t dh MSB MSB-1 t lrckd t lrcks t sckh t sckl D A I_ S C L K D A I_ S D IN x DAI_SDIN1 t ds t dh Figure 6. Serial Audio Interface Timing Figure 7. Serial Audio Interface Timing - TDM Mode DS633F1 13 CS44600 SWITCHING CHARACTERISTICS - CONTROL PORT - I²C FORMAT (VD = 2.5 V, VDX = VDP = VLS = 3.3 V; VLC = 2.5 V to 5.0 V; Inputs: Logic 0 = GND, Logic 1 = VLC, CL = 30 pF) Parameter SCL Clock Frequency Bus Free Time between Transmissions Start Condition Hold Time (prior to first clock pulse) Clock Low time Clock High Time Setup Time for Repeated Start Condition SDA Hold Time from SCL Falling SDA Setup time to SCL Rising Rise Time of SCL and SDA Fall Time SCL and SDA Setup Time for Stop Condition (Note 18) Symbol fscl tbuf thdst tlow thigh tsust thdd tsud tr tf tsusp Min 4.7 4.0 4.7 4.0 4.7 10 250 4.7 Max 100 1000 300 Unit kHz µs µs µs µs µs ns ns ns ns µs 18. Data must be held for sufficient time to bridge the transition time, tf, of SCL. Stop SDA t buf SCL Start Repeated Start Stop t hdst t high t hdst tf t susp t low t hdd t sud t sust tr Figure 8. Control Port Timing - I²C Format 14 DS633F1 CS44600 SWITCHING CHARACTERISTICS - CONTROL PORT - SPI FORMAT (VD = 2.5 V, VDP = VLS = 3.3 V; VLC = 2.5 V to 5.0 V; Inputs: Logic 0 = GND, Logic 1 = VLC, CL = 30 pF) Parameter CCLK Clock Frequency CS High Time between Transmissions CS Falling to CCLK Edge CCLK Low Time CCLK High Time CDIN to CCLK Rising Setup Time CCLK Rising to DATA Hold Time CCLK Falling to CDOUT Stable Rise Time of CDOUT Fall Time of CDOUT Rise Time of CCLK and CDIN Fall Time of CCLK and CDIN (Note 20) (Note 20) (Note 19) Symbol fsck tcsh tcss tscl tsch tdsu tdh tpd tr1 tf1 tr2 tf2 Min 0 1.0 20 66 66 40 15 - Typ - Max 6.0 50 25 25 100 100 Units MHz µs ns ns ns ns ns ns ns ns ns ns 19. Data must be held for sufficient time to bridge the transition time of CCLK. 20. For fsck 32 Single Speed (4 to 50 kHz) 44.1 48 DAI_MCLK/LRCK Ratio −> 64 Double Speed (50 to 100 kHz) 88.2 96 DAI_MCLK/LRCK Ratio −> 176.4 Quad Speed (100 to 200 kHz) 192 DAI_MCLK (MHz) 256x 8.1920 11.2896 12.2880 128x 8.1920 11.2896 12.2880 64x n/a n/a 384x 12.2880 16.9344 18.4320 192x 12.2880 16.9344 18.4320 96x n/a n/a 512x 16.3840 22.5792 24.5760 256x 16.3840 22.5792 24.5760 128x 22.5792 24.5760 768x 24.5760 33.8688 36.8640 384x 24.5760 33.8688 36.8640 192x 33.8688 36.8640 1024x 32.7680 45.1584 49.1520 512x 32.7680 45.1584 49.1520 256x 45.1584 49.1520 Table 1. Common DAI_MCLK Frequencies 4.3.2 FsOut Domain Clocking To ensure the highest quality conversion of PWM signals, the CS44600 is capable of operating from a fundamental mode or 3rd overtone crystal, or a clock signal attached to XTI, at a frequency of 24.576 MHz to 54 MHz. If XTI is being directly driven by a clock signal, XTO can be left floating or tied to ground through a pull-down resistor and the internal oscillator should be powered down using the PDN_XTAL bit in register 02h. Y1 C1 XTI XTO C2 Figure 14. Fundamental Mode Crystal Configuration 24 DS633F1 CS44600 Y1 C1 XTI XTO L1 C3 C2 Figure 15. 3rd Overtone Crystal Configuration Appropriate clock dividers for each functional block and a programmable divider to support an output for switched-mode power supply synchronization are provided. The clock generation for the CS44600 is shown in the Figure 16. XTO XTI System Clock Divider PWM Master Clock Divider PWM_MCLK PWM Modulator Clock Divider SYS_CLK Power Supply Sync. Divider Sample Rate Converter Clock Divider MOD_MCLK PS_SYNC Figure 16. CS44600 Internal Clock Generation SRC_MCLK DS633F1 25 CS44600 4.4 4.4.1 FsIn Clock Domain Modules Digital Audio Input Port The CS44600 interfaces to an external Digital Audio Processor via the Digital Audio Input serial port, the DAI serial port. The DAI port has 3 stereo data inputs with support for I²S, left-justified and right-justified formats. The DAI port operates in slave operation only, where DAI_LRCK, DAI_SCLK and DAI_MCLK are always inputs. The signal DAI_LRCK must be equal to the sample rate, Fs and must be synchronously derived from the supplied master clock, DAI_MCLK. The serial bit clock, DAI_SCLK, is used to sample the data bits and must be synchronously derived from the master clock. DAI_SDIN1, DAI_SDIN2, and DAI_SDIN3 are the serial data input pins supplying the associated internal PWM channel modulators. The serial data interface format selection (left-justified, right-justified, I²S, one line mode, or TDM) for the DAI serial port data input pins is configured using the appropriate bits in the register “Misc. Configuration (address 04h)” on page 52. The serial audio data is presented in 2's complement binary form with the MSB first in all formats. When operated in One Line Data Mode, 6 channels of PWM data are input on DAI_SDIN1. In TDM mode, all 6 channels are multiplexed onto the DAI_SDIN1 data line. Table 2 outlines the serial port channel allocations. Serial Data Inputs Data mode DAI_SDIN1 Normal (I²S,LJ,RJ) One Line #1 or #2 TDM DAI_SDIN2 Normal (I²S,LJ,RJ) One Line #1 or #2 TDM DAI_SDIN3 Normal (I²S,LJ,RJ) One Line #1 or #2 TDM Channel Assignments PWMOUTA1(left channel)/PWMOUTB1(right channel) PWMOUTA1/A2/A3/B1/B2/B3 PWMOUTA1/A2/A3/B1/B2/B3 PWMOUTA2(left channel)/PWMOUTB2(right channel) not used not used PWMOUTA3(left channel)/PWMOUTB3(right channel) not used not used Table 2. DAI Serial Audio Port Channel Allocations The DAI digital audio serial ports support 6 formats with varying bit depths from 16 to 24 as shown in Figure 17, Figure 18, Figure 19, Figure 20, Figure 21 and Figure 22. These formats are selected using the configuration bits in the “Misc. Configuration (address 04h)” on page 52. 26 DS633F1 CS44600 4.4.1.1 I²S Data Format For I²S, data is received most significant bit first, one DAI_SCLK delay after the transition of DAI_LRCK, and is valid on the rising edge of DAI_SCLK. For the I²S format, the left channel data is presented when DAI_LRCK is low; the right channel data is presented when DAI_LRCK is high. DAI_LRCK Left C hannel R ig ht C ha nnel DAI_SCLK DAI_SDINx MSB -1 -2 -3 -4 -5 +5 +4 +3 +2 +1 LSB MSB -1 -2 -3 -4 +5 +4 +3 +2 +1 LSB I²S Mode, Data Valid on Rising Edge of DAI_SCLK Bits/Sample 16 18 to 24 SCLK Rates 32, 48, 64, 128, 256 Fs 48, 64, 128, 256 Fs Figure 17. I²S Serial Audio Formats 4.4.1.2 Left-Justified Data Format For left-justified format, data is received most significant bit first on the first DAI_SCLK after a DAI_LRCK transition and is valid on the rising edge of DAI_SCLK. For the left-justified format, the left channel data is presented when DAI_LRCK is high and the right channel data is presented when DAI_LRCK is low. DAI_LRCK Left Channel Right Channel DAI_SCLK DAI_SDINx MSB -1 -2 -3 -4 -5 +5 +4 +3 +2 +1 LSB MSB -1 -2 -3 -4 +5 +4 +3 +2 +1 LSB Left-Justified Mode, Data Valid on Rising Edge of DAI_SCLK Bits/Sample 16 18 to 24 SCLK Rate(s) 32, 48, 64, 128, 256 Fs 48, 64, 128, 256 Fs Figure 18. Left-Justified Serial Audio Formats DS633F1 27 CS44600 4.4.1.3 Right-Justified Data Format In the right-justified format, data is received most significant bit first and with the least significant bit presented on the last DAI_SCLK before the DAI_LRCK transition and is valid on the rising edge of DAI_SCLK. For the right-justified format, the left channel data is presented when DAI_LRCK is high and the right channel data is presented when DAI_LRCK is low. Either 16 bits per sample or 24 bits per sample are supported. DAI_LRCK L eft Channel Right Channel DAI_SCLK DAI_SDINx 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Right-Justified Mode, Data Valid on Rising Edge of DAI_SCLK Bits/Sample 16 24 SCLK Rate(s) 32, 48, 64, 128, 256 Fs 48, 64, 128, 256 Fs Figure 19. Right-Justified Serial Audio Formats 4.4.1.4 One Line Mode #1 In One Line mode #1 format, data is received most significant bit first on the first DAI_SCLK after a DAI_LRCK transition and is valid on the rising edge of DAI_SCLK. DAI_SCLK must operate at a 128Fs rate. DAI_LRCK identifies the start of a new frame and is equal to the sample period. DAI_LRCK is sampled as valid on the same clock edge as the most significant bit of the first data sample and must be held high for 64 DAI_SCLK periods. Each time slot is 20 bits wide, with the valid data sample left-justified within the time slot. Valid data lengths are 16, 18, or 20 bits. Valid samples rates for this mode are 32 kHz to 96 kHz. 64 clks DAI_LRCK DAI_SCLK DAI_SDIN1 MSB LSB MSB LSB MSB LSB MSB LSB MSB 64 clks Left Channels Right Channels LSB MSB LSB MSB PWMOUTA1 20 clks PWMOUTA2 20 clks PWMOUTA3 20 clks PWMOUTB1 20 clks PWMOUTB2 20 clks PWMOUTB3 20 clks Figure 20. One Line Mode #1 Serial Audio Format 28 DS633F1 CS44600 4.4.1.5 One Line Mode #2 In One Line mode #2 format, data is received most significant bit first on the first DAI_SCLK after a DAI_LRCK transition and is valid on the rising edge of DAI_SCLK. DAI_SCLK must operate at a 256 Fs rate. DAI_LRCK identifies the start of a new frame and is equal to the sample period. DAI_LRCK is sampled as valid on the same clock edge as the most significant bit of the first data sample and must be held high for 128 DAI_SCLK periods. Each time slot is 24 bits wide, with the valid data sample left-justified within the time slot. Valid data lengths are 16, 18, 20, or 24 bits. Valid samples rates for this mode are 32 kHz to 96 kHz. 128 clks DAI_LRCK DAI_SCLK DAI_SDIN1 MSB LSB MSB LSB MSB LSB MSB LSB MSB 128 clks Left Channels Right Channels LSB MSB LSB MSB PWMOUTA1 24 clks PWMOUTA2 24 clks PWMOUTA3 24 clks PWMOUTB1 24 clks PWMOUTB2 24 clks PWMOUTB3 24 clks Figure 21. One Line Mode #2 Serial Audio Format 4.4.1.6 TDM Mode In TDM mode format, data is received most significant bit first on the first DAI_SCLK after a DAI_LRCK transition and is valid on the rising edge of DAI_SCLK. DAI_SCLK must operate at a 256 Fs rate. DAI_LRCK identifies the start of a new frame and is equal to the sample period. DAI_LRCK is sampled as valid on the proceeding clock edge as the most significant bit of the first data sample and must be held valid for at least 1 DAI_SCLK period. Each time slot is 32 bits wide, with the valid data sample left-justified within the time slot. Valid data lengths are 16, 18, 20, 24 or 32 bits. Valid samples rates for this mode are 32 kHz to 96 kHz. 256 clks DAI_LRCK DAI_SCLK DAI_SDIN1 MSB LSB MSB LSB MSB LSB MSB LSB MSB LSB MSB LSB PWMOUTA1 32 clks PWMOUTA2 32 clks PWMOUTA3 32 clks 32 clks PWMOUTB1 32 clks PWMOUTB2 32 clks PWMOUTB3 32 clks 32 clks Figure 22. TDM Mode Serial Audio Format DS633F1 29 CS44600 4.4.2 Auto Rate Detect The CS44600 will automatically determine the incoming sample rate, DAI_LRCK, to master clock, DAI_MCLK, ratio and configure the appropriate internal clock divider such that the sample rate convertor receives the required clock rate. A minimum DAI_MCLK rate of 128Fs is required for proper operation. The supported DAI_MCLK to DAI_LRCK ratios are shown in Table 1 on page 26. 4.4.3 De-Emphasis The CS44600 includes on-chip digital de-emphasis filters. The de-emphasis feature is included to accommodate older audio recordings that utilize pre-emphasis equalization as a means of noise reduction. Figure 23 shows the de-emphasis curve. The frequency response of the de-emphasis curve will scale proportionally with changes in sample rate, Fs. The required de-emphasis filter for 32 kHz, 44.1 kHz, or 48 kHz is selected via the de-emphasis control bits in “Misc. Configuration (address 04h)” on page 52. Gain dB T1=50 µs 0dB T2 = 15 µs -10dB F1 3.183 kHz F2 Frequency 10.61 kHz Figure 23. De-Emphasis Curve 30 DS633F1 CS44600 4.5 4.5.1 FsOut Clock Domain Modules Sample Rate Converter One of the characteristics of a PWM amplifier is that the frequency content of out-of-band noise generated by the modulator is dependent on the PWM switching frequency. The power stage external LC and snubber filter component values are based on this switching frequency. To accommodate input sample rates ranging from 32 kHz to 192 kHz the CS44600 utilizes a Sample Rate Converter (SRC) and several clocking modes that keep the PWM switching frequency fixed. The SRC supports a range of sample rate conversion to upsample rates from 32 kHz to 192 kHz to a fixed FsOut sample rate. This is typically 384 kHz for most audio applications. The SRC also allows the PWM modulator output to be independent of the input clock jitter since the output of the SRC is clocked from a very stable crystal or oscillator. This results in very low jitter PWM output and higher dynamic range. 4.5.2 Load Compensation Filter To accommodate varying speaker impedances, the CS44600 incorporates a 2-pole load compensation filter to adjust the effective frequency response of the on-card L/C de-modulation filter. The frequency response of the 2-pole inductor/capacitor filter used on the board to filter out the high-frequency PWM switching clock is highly dependant on the resistive load (speaker) attached. If the L/C filter implemented was designed for a low impedance load (4 Ω speaker), but an 8 Ω speaker was attached, the frequency response would have a large peaking near the resonant frequency of the L/C. The peaking usually starts at around 15 kHz, with about a +4 dB of gain at around 20 kHz. This phenomenon will cause the system to not meet the frequency response requirements as specified by Dolby Labs. By using the programmable 2-pole load compensation filter, the overall frequency response of the system can be modified to cut the amount of peaking. The 2 poles of the filter are independently configurable and are concatenated to form the overall filter response. The first filter is defined as a coarse setting. This filter should be programmed to provide most of the attenuation of the peaking. The second filter, defined as the fine adjust, is used to achieve incremental improvements to the overall frequency response. Table 3 shows example register settings based on an output filter that has been designed for a 4 Ω load impedance. See “Channel Compensation Filter - Coarse Adjust (CHXX_CORS[5:0])” on page 62 and “Channel Compensation Filter - Fine Adjust (CHXX_FINE[5:0])” on page 63. Load Impedance 6Ω 8Ω 16 Ω Coarse Filter Setting -1.2 dB -1.8 dB -3.4 dB Table 3. Load Compensation Example Settings Fine Filter Setting 0 dB 0 dB 0 dB 4.5.3 Digital Volume and Mute Control The CS44600 provides two levels of volume control. A Master Volume Control Register is used to set the volume level across all PWM channels. The register value, which selects a volume range of +24 dB to 127 dB in 0.25 dB steps, is used to control the overall volume setting of all the amplifier channels. Volume control changes are programmable to ramp in increments of 0.125 dB at a variable rate controlled by the SZC[1:0] bits in “Volume Control Configuration (address 06h)” on page 55. Each PWM channel’s output level is controlled via a Channel Volume Control register operating over the range of +24 dB to -127 dB attenuation with 0.25 dB resolution. See “Channel XX Volume Control - Inte- DS633F1 31 CS44600 ger (addresses 09h - 10h)” on page 58. Volume control changes are programmable to ramp in increments of 0.125 dB at a variable rate controlled by the SZC[1:0] bits. Each PWM channel output can be independently muted via mute control bits in the register “Channel Mute (address 13h)” on page 60. When enabled, each CHXX_MUTE bit attenuates the corresponding PWM channel to its maximum value (-127 dB). When the CHXX_MUTE bit is disabled, the corresponding PWM channel returns to the attenuation level set in the Volume Control register. The attenuation is ramped up and down at the rate specified by the SZC[1:0] bits. 4.5.4 Peak Detect / Limiter The CS44600 has the ability to limit the maximum signal amplitude to prevent clipping. The “Peak Limiter Control Register (address 15h)” on page 60 is used to configure the peak detect and limiter engines’ operation. Peak Signal Limiting is performed by digital attenuation. The attack rate is determined by the “Limiter Attack Rate (address 16h)” on page 61. The release rate is determined by the “Limiter Release Rate (address 17h)” on page 61. 4.5.5 PWM Engines There are three stereo PWM Engines: PWM_ENG_1, PWM_ENG_2, and PWM_ENG_3. Each PWM can handle one stereo pair and connects to a driver or a pair of drivers, depending on the output configuration. Each PWM Engine receives the master clock, PWM_MCLK, from the Clock Control block, and the associated channel data and audio sample timings from the Sample Rate Converter. The “PWM Configuration Register (address 31h)” on page 68 is used to configure the PWM engines’ operation. This register controls the parameters of the PWM engines and can only be changed while the PWM engines are in the power down state. Features: • • • • Up to 6 channel support 64 Quantization levels PSRR compensation feedback Programmable Over Sampling - interpolate times 2 (2x) or filter by-pass. By-pass is intended for 384 kHz (single-speed) PWM switch rate support. The interpolate 2x filter is used to upsample the data to support a PWM switch rate of 768 kHz (double speed mode). This enables the output frequency response to extend past 20 kHz when the DAI sample rate is 96 kHz or 192 kHz. Programmable registers to move PWM edges for delay adjustment. This lowers the overall noise contribution by allowing each PWM edge to switch at different times. Programmable Modulation Setup – Min/Max PWM pulse width allowed – Programmable Modulation index. The table below shows the available settings for the PWM Engine for a 384 kHz/768 kHz or 421.875 kHz/843.75 kHz PWM Fswitch rate verses the supported Fsin sample rates using the SRC with a maximum PWM_MCLK of 49.152 MHz/54 MHz. • • 32 DS633F1 CS44600 Fsout (kHz ) Quant Level using SRC 384 421.875 64 64 64 64 PWM Required XTAL Switch Rate or SYS_CLK (kHz) (MHz) 384 24.576 768 49.152 421.875 27.000 843.75 54.000 Fsin (kHz) 32, 44.1, 48, 88.2, 96, 176.4, 192 32, 44.1, 48, 88.2, 96, 176.4, 192 OSRATE 1 2 1 2 Table 4. Typical PWM Switch Rate Settings 4.5.6 Interpolation Filter The times 2 (2x) interpolation filter is part of the Quantizer and is used to up sample the data to support a higher PWM switch rate. The interpolator is controlled by the OSRATE bit in the “PWM Configuration Register (address 31h)” on page 68 and employs digital filtering to provide high quality interpolation. 4.5.7 Quantizer The quantizer takes the input audio data at a typical 384 kHz or 768 kHz rate (depending on whether the 2x Interpolator is on or not) from the Interpolator as input. When PSRR is enabled, the quantizer takes the input from PSRR Decimator and uses it to correct for power_supply noise. It also provides protection through min/max pulse limiting hardware to generate outputs that wouldn’t violate minimum pulse widths required at the PWM drivers. Its stereo outputs are running at the PWM switch rate. 4.5.8 Modulator Each output from the Quantizer goes to the Modulator. The Modulator takes the parallel input data at a 384 kHz or 768 kHz, depending on the setting of the OSRATE bit, and changes the parallel data to serial, one-bit outputs. The result is modulated pulses at the selected switch rate with 64 level resolution. The modulator maintains low frequency audio signals, allowing the output to reproduce all low frequency audio content down to 0 Hz. 4.5.9 PWM Outputs The Modulators outputs are followed by the PWM Configuration block. These signals are routed through delay control blocks where they generate two outputs each. These final outputs are modulated pulses running at the PWM switch rate as determined by the settings shown in Table 4. Circuitry in the PWM Configuration block guarantees, that no pulses shorter than the minimum pulse are generated. The minimum pulse width is configured using the MIN_PULSE[4:0] bits in the “PWM Minimum Pulse Width Register (address 32h)” on page 69. The PWM Configuration block also provides the PWM output signal delay mechanism. Adjusting the outputs’ delays allows for managing the switching noise between channels, as well as differential signal noise. The “PWMOUT Delay Register (address 33h)” on page 70 specify the delay amount for each PWM Output. The delay is measured in periods of PWM_MCLK. DS633F1 33 CS44600 4.5.10 Power Supply Rejection (PSR) Real-Time Feedback Inherent to most Class D power amplifier solutions is the requirement for a clean and well-regulated high voltage power supply. Any noise or tones present on the power rail will couple through each channel’s power MOSFET output device. These spurious distortion components on the output signal consist of discrete tones, which can be audible from the speaker, and tones that modulate around the audio signal being played. To remove the requirement for a well-regulated power supply, and therefore reduce overall system costs, the rejection of harmonic distortion from the power supply and tones coupled onto the power rail is accomplished by the patented power supply rejection realtime feedback. By using the CS4461 and associated attenuation circuitry, the scaled AC and DC components of the power supply rail are fed back into the PWM modulator. All delays through the feedback path have been minimized such that the noise cancellation is accomplished in real-time allowing for substantial noise rejection within the output audio signal. See “Typical Connection Diagrams” on page 22 for examples on how to connect the external ADC (CS4461) to the CS44600 for PSR feedback, “Recommended PSR Calibration Sequence” on page 44, and the CS4461 datasheet. 34 DS633F1 CS44600 4.6 Control Port Description and Timing The control port is used to access the registers, allowing the CS44600 to be configured for the desired operational modes and formats. The operation of the control port may be completely asynchronous with respect to the audio sample rates. However, to avoid potential interference problems, the control port pins should remain static if no operation is required. The control port has 2 modes: SPI and I²C, with the CS44600 acting as a slave device. SPI mode is selected if there is a high to low transition on the AD0/CS pin, after the RST pin has been brought high. I²C mode is selected by connecting the AD0/CS pin through a resistor to VLC or GND, thereby permanently selecting the desired AD0 bit address state. 4.6.1 SPI Mode In SPI mode, CS is the CS44600 chip select signal, CCLK is the control port bit clock (input into the CS44600 from the microcontroller), CDIN is the input data line from the microcontroller, CDOUT is the output data line to the microcontroller. Data is clocked in on the rising edge of CCLK and out on the falling edge. Figure 24 shows the operation of the control port in SPI mode. To write to a register, bring CS low. The first seven bits on CDIN form the chip address and must be 1001111. The eighth bit is a read/write indicator (R/W), which should be low to write. The next eight bits form the Memory Address Pointer (MAP), which is set to the address of the register that is to be updated. The next eight bits are the data which will be placed into the register designated by the MAP. During writes, the CDOUT output stays in the Hi-Z state. It may be externally pulled high or low with a 47 kΩ resistor, if desired There is a MAP auto increment capability, enabled by the INCR bit in the MAP register. If INCR is a zero, the MAP will stay constant for successive read or writes. If INCR is set to a 1, the MAP will autoincrement after each byte is written, allowing block writes of successive registers. Autoincrement reads are not supported. To read a register, the MAP has to be set to the correct address by executing a partial write cycle which finishes (CS high) immediately after the MAP byte. The MAP auto increment bit (INCR) may be set or not, as desired. To begin a read, bring CS low, send out the chip address and set the read/write bit (R/W) high. The next falling edge of CCLK will clock out the MSB of the addressed register (CDOUT will leave the high impedance state). CS CC LK C H IP ADDRESS C D IN 1001111 R/W C H IP ADDRESS LSB b y te n MSB LSB MSB LSB MAP MSB DATA 1001111 R/W b y te 1 High Impedance CDOUT MAP = Memory Address Pointer, 8 bits, MSB first Figure 24. Control Port Timing in SPI Mode DS633F1 35 CS44600 4.6.2 I²C Mode In I²C mode, SDA is a bidirectional data line. Data is clocked into and out of the part by the clock, SCL. There is no CS pin. Pins AD0 and AD1 form the two least significant bits of the chip address and should be connected through a resistor to VLC or GND as desired. The state of the pins is sensed while the CS44600 is being reset. The signal timings for a read and write cycle are shown in Figure 25 and Figure 26. A Start condition is defined as a falling transition of SDA while the clock is high. A Stop condition is a rising transition while the clock is high. All other transitions of SDA occur while the clock is low. The first byte sent to the CS44600 after a Start condition consists of a 7 bit chip address field and a R/W bit (high for a read, low for a write). The upper 5 bits of the 7-bit address field are fixed at 10011. To communicate with a CS44600, the chip address field, which is the first byte sent to the CS44600, should match 10011 followed by the settings of the AD1 and AD0. The eighth bit of the address is the R/W bit. If the operation is a write, the next byte is the Memory Address Pointer (MAP) which selects the register to be read or written. If the operation is a read, the contents of the register pointed to by the MAP will be output. Setting the auto increment bit in MAP allows successive writes of consecutive registers. Each byte is separated by an acknowledge bit. The ACK bit is output from the CS44600 after each input byte is read, and is input to the CS44600 from the microcontroller after each transmitted byte. Autoincrement reads are not supported. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 24 25 26 27 28 SCL CHIP ADDRESS (WRITE) MAP BYTE INCR DATA 2 1 0 7 6 1 0 7 DATA +1 6 1 0 7 DATA +n 6 1 0 SDA 1 0 0 1 1 AD1 AD0 0 6 5 4 3 ACK START ACK ACK ACK STOP Figure 25. Control Port Timing, I²C Slave Mode Write 0 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 SCL CHIP ADDRESS (WRITE) MAP BYTE INCR STOP 1 0 1 CHIP ADDRESS (READ) 0 0 1 1 AD1 AD0 1 DATA 7 0 DATA +1 7 0 DATA + n 7 0 SDA 1 0 0 1 1 AD1 AD0 0 6 5 4 3 2 ACK START ACK START ACK ACK NO ACK STOP Figure 26. Control Port Timing, I²C Slave Mode Read Since the read operation can not set the MAP, an aborted write operation is used as a preamble. As shown in Figure 26, the write operation is aborted after the acknowledge for the MAP byte by sending a stop condition. The following pseudocode illustrates an aborted write operation followed by a read operation. Send start condition. Send 10011xx0 (chip address & write operation). Receive acknowledge bit. Send MAP byte, auto increment off. Receive acknowledge bit. Send stop condition, aborting write. Send start condition. Send 10011xx1(chip address & read operation). 36 DS633F1 CS44600 Receive acknowledge bit. Receive byte, contents of selected register. Send acknowledge bit. Send stop condition. Each byte is separated by an acknowledge bit. 4.6.3 GPIOs The CS44600 GPIO pins will have the following features: • • • • Data direction control. Programmable open-drain or push-pull driver when configured as an output pin. Maskable interrupt for GPIO[3:0] pins when set as a general purpose input. Level-sensitive or edge-trigger event selector for all GPIO pins. 4.6.4 Host Interrupt The CS44600 has a comprehensive interrupt capability. The INT output pin is intended to drive the interrupt input pin on the host microcontroller. The INT pin may be set to be active low, active high or active low with an open-drain driver. This last mode is used for active low, wired-OR hook-ups, with multiple peripherals connected to the microcontroller interrupt input pin. Many conditions can cause an interrupt, as listed in the interrupt status register descriptions. See “Interrupt Status (address 2Ah) (read only)” on page 64. Each source may be masked off through mask register bits. In addition, each source may be set to rising edge, falling edge, or level sensitive. Combined with the option of level sensitive or edge sensitive modes within the microcontroller, many different configurations are possible, depending on the needs of the equipment designer. DS633F1 37 CS44600 5. POWER SUPPLY, GROUNDING, AND PCB LAYOUT The CS44600 requires a 2.5 V digital power supply for the core logic. In order to support a number of PWM backend solutions, separate VDP power pins are provided to condition the interface signals to support up to 5.0 V levels. The VDP power pins control the voltage levels for all PWM interface signals, PSR interface signals and GPIO for control and status. Extensive use of power and ground planes, ground plane fill in unused areas and surface mount decoupling capacitors are recommended. It is necessary to decouple the power supply by placing capacitors directly between the power and ground of the CS44600. The recommended procedure is to place the lowest value capacitor as close as physically possible to each power pin. Decoupling capacitors should be as near to the pins of the CS44600 as possible, with the low value ceramic capacitor being the nearest and mounted on the same side of the board as the CS44600 to minimize inductance effects. Figure 27 shows the recommended power supply decoupling layout. U1 is the CS44600. C2, C3, C6, C8, C10, C12, C14, and C16 are 0.01 µF X7R capacitors. These should be placed as close as possible to their respective power supply pins. C1, C4, C5, C7, C9, C11, C13, C15, and C17 are 0.1 µF X7R capacitors. C18 is a 10 µF electrolytic capacitor. Top and bottom ground fill should be used as much as possible around all components shown. Figure 27. Recommended CS44600 Power Supply Decoupling Layout 38 DS633F1 CS44600 Figure 28 shows the recommended crystal circuit layout. U1 is the CS44600. C1 and C2 are the VDX power supply decoupling capacitors. Y1 is the crystal and C3, C4, L1 and C5 are the associated components for the crystal circuit. L1 and C5 are only used for 3rd overtone crystals. C3 and C4 should have a C0G (NPO) dielectric. Care should be taken to minimize the distance between the CS44600 XTI/XTO pins and C3. Top and bottom ground fill should be used as much as possible around and in between all crystal circuit components to minimize noise. Figure 28. Recommended CS44600 Crystal Circuit Layout DS633F1 39 CS44600 Figure 29 shows the recommended PSR circuit layout. See the CS4461 datasheet for further details on the input buffer and other associated external components. U1 is the CS4461 and U2 is the input buffer op-amp. All supply decoupling should be placed as close as possible to their respective power supply pins. C4 should have a C0G (NPO) dielectric and be placed as close as possible to the CS4461 AIN+/- pins. The CS4461 and input buffer should be placed on the board between the CS44600 and the high voltage power supply. The sense point of the high voltage power supply (the point at which the input buffer taps off of the high voltage power supply) should be close to the middle of the amplifier output channels. If the sense point is taken at either end of the amplifier output channels, inaccurate reading could occur due to localized channel disturbances causing noise on the high voltage power supply. Optimally, the high voltage power connector should also be placed in the middle of the amplifier output channels Figure 29. Recommended PSR Circuit Layout 40 DS633F1 CS44600 5.1 Reset and Power-Up Reliable power-up can be accomplished by keeping the device in reset until the power supplies, clocks, and configuration pins are stable. It is also recommended that the RST pin be activated if the voltage supplies drop below the recommended operating condition to prevent power-glitch- related issues. When RST is low, the CS44600 enters a low-power mode and all internal states are reset, including the control port and registers. When RST is high, the control port becomes operational and the desired settings should be loaded into the control registers. Writing a 0 to the PDN bit in the Power Control Register will then cause the part to leave the low-power state and begin operation. 5.1.1 PWM PopGuard® Transient Control The CS44600 uses PopGuard® technology to minimize the effects of output transients during power-up and power-down. This technique reduces the audio transients commonly produced by half-bridge, singlesupply amplifiers when implemented with external DC-blocking capacitors connected in series with the audio outputs. Each PWM channel can individually be controlled for ramp-up and ramp-down cycles. When the device is initially powered-up and configured for ramp-up, the PWMOUTxx outputs are clamped to GND. Following a write of a 0 to the PDN_PWMxx bit in the PWM Channel Power Down Control (address 03h) register, each output begins to increase the PWM duty cycle toward the bias voltage point. By a speed set by the RAMP_SPDx bits, the PWMOUTxx outputs will ramp from 0 V (GND) and reach the bias point (50% PWM duty cycle). This gradual voltage ramping allows time for the external DC-blocking capacitor to charge to the bias voltage, minimizing the power-up transient. To prevent an audible transient at the next power-on, the DC-blocking capacitors must fully discharge before turning off the power. If full discharge does not occur, a transient will occur when the audio outputs are initially clamped to GND. To prevent transients at power-down, the user must first mute the outputs. When this occurs, audio output ceases and the PWM duty cycle is approximately 50% duty cycle, which represents the mute condition. Once the channels are powered down, the PWMOUTxx outputs slowly decrease the DC offset until it reaches GND. The time required to reach GND is determined by the RAMP_SPDx bits. This allows the DC-blocking capacitors to slowly discharge. Once this charge is dissipated, the power to the device may be turned off, and the system is ready for the next power-on. 5.1.2 Recommended Power-Up Sequence 1. Hold RST low until the power supply and clocks are stable. In this state, all control port registers are reset to the default settings. The PWMOUTxx pins are driven low. 2. The SYS_CLK pin will output a divided-down clock of the signal attached to the XTI pin. If the MUTE pin is held low, SYS_CLK is equal to the XTI frequency. If the MUTE pin is held high, then SYS_CLK is equal to the XTI frequency divided by 2. 3. Bring RST high. The device will remain in a low power state and all registers will contain the specified default value. The logic state of the MUTE pin will be latched and used to specify the clock divider for SYS_CLK. The control port will be accessible at this time. 4. With the CS44600 in the power-down state, PDN bit is ‘1’b, set up the required PWM configuration registers and volume control registers. Configure the GPIO pins for normal operation. Do not enable the power stages at this time. 5. Mute all channel outputs by setting the corresponding CHxx_MUTE bits to ‘1’b. DS633F1 41 CS44600 6. When driving a single-ended (half-bridged) power output stage, set the RAMP[1:0] bits to ‘11’b and the required ramp speed, to initiate a ramp cycle when the channel is powered on. Set MIN_PULSE[4:0] to ‘00000’b. 7. Set the PDN bit to ‘0’b to take the CS44600 out of the power-down state. 8. Start all clocks on the DAI interface (DAI_MCLK, DAI_SCLK, DAI_LRCK). This will initiate the SRC to begin the lock sequence. The SRC lock function can be configured to cause an interrupt condition when lock has been completed. This will be indicated by an active INT signal. 9. Wait for the SRC to lock. 10. If using the PSR feedback, jump to “Recommended PSR Calibration Sequence” on page 44. When finished, continue to step 12. If not using PSR feedback, continue to step 12. 11. Set the appropriate GPIO pin, or other control signal, to enable the power output stage. 12. Enable each channel’s PWM modulator by setting the PDN_PWMxx bit to ‘0’b. If full-bridged, go to step 14. If single-ended (half-bridged), this will initiate a sequence which will slowly increase the DC voltage, from 0V to Vpower÷2, across the AC coupling capacitor. This will eliminate the instantaneous charge across the capacitor which would have caused an audible pop from the speaker. 13. Wait for the ramp-up sequence to complete. The ramp-up function can be configured to cause an interrupt condition when the ramp period has completed. This will be indicated by an active INT signal. Once the ramp-up sequence has completed, set the RAMP[1:0] bits to ‘01’b 14. For full-bridged power output stage configurations, the ramp-up sequence is not required. Enabling the power output stage will not cause an audible pop from the speaker. 15. If using the PSR feedback, set the FEEDBACK_EN bit to ‘1’b. 16. Un-mute all active channels. 17. At this point, the CS44600 is ready to accept audio samples and begin playback. 5.1.3 Recommended PSR Calibration Sequence 1. Set the DEC_SHIFT[2:0]/DEC_SCALE[18:0] coefficient (CPSR) to decimal 1.0 (register 35h = 22h, 36h = 00h, 37h = 00h). 2. Set the PSR_RESET bit to ‘1’b. 3. Set the PSR_EN bit to ‘1’b. 4. Set the PSR_EN bit to ‘0’b. 5. Read DEC_OUTD[23:0]. 6. See Figure 30 to adjust the DEC_SHIFT[2:0]/DEC_SCALE[18:0] registers. 7. Continue Recommended Power-Up Sequence. 42 DS633F1 CS44600 Set PSR_RESET = 1b Set PSR_EN = 1b Set PSR_EN = 0b Read DEC_OUTD[23:0] Y 3FEF90h < DEC_OUTD[23:0] < 400FFFh? N Done Y DEC_OUTD[23:0] > 400FFFh? N CPSR =CPSR - 9Bh CPSR =CPSR + 9Bh Figure 30. PSR Calibration Sequence 5.1.4 Recommended Power-Down Sequence 1. Mute all channel outputs by setting the corresponding CHxx_MUTE bits to ‘1’b. 2. When driving a single-ended (half-bridged) power output stage, set the RAMP[1:0] bits to ‘01’b and the required ramp speed, to initiate a ramp cycle when the channel is powered down. 3. Power down each channel’s PWM modulator by setting the PDN_PWMxx bit to ‘1’b. If single-ended, this will initiate a sequence which will slowly decrease the DC voltage, from Vpower÷2 to 0 V, across the AC-coupling capacitor. 4. The ramp-down function can be configured to cause an interrupt condition when the ramp period has completed. This will be indicated by an active INT signal. 5. Once the ramp-down sequence has completed, set the appropriate GPIO pin, or other control signal, to power down the power output stage. 6. For full-bridged power output stage configurations, the ramp-down sequence is not required. Powering down the power output stage will not cause an audible pop from the speaker. 7. Concurrently with the ramp-down sequence, if desired, stop all clocks on the DAI interface (DAI_MCLK, DAI_SCLK, DAI_LRCK). 8. Set the PDN bit to ‘1’b to put the CS44600 in the power down state. DS633F1 43 44 DS633F1 6. REGISTER QUICK REFERENCE Addr 01h Function ID / Rev. page 48 02h default 7 CHIP_ID3 1 EN_SYS_CLK 1 6 CHIP_ID2 1 SYS_CLK_DIV1 0 5 CHIP_ID1 0 SYS_CLK_DIV0 0 PDN_PWMB3 1 DIF0 1 RESERVED 0 SZC0 0 MSTR_IVOL5 0 RESERVED 0 CHA1_IVOL5 0 CHB1_IVOL5 0 CHA2_IVOL5 0 CHB2_IVOL5 0 CHA3_IVOL5 0 CHB3_IVOL5 0 4 CHIP_ID0 0 PWM_MCLK_DIV1 0 PDN_PWMA3 1 RESERVED 0 RAMP1 0 RESERVED 0 MSTR_IVOL4 0 RESERVED 0 CHA1_IVOL4 0 CHB1_IVOL4 0 CHA2_IVOL4 0 CHB2_IVOL4 0 CHA3_IVOL4 0 CHB3_IVOL4 0 3 REV_ID3 0 PWM_MCLK_DIV0 0 PDN_PWMB2 1 AM_FREQ_HOP 0 RAMP0 0 MUTE_50/50 0 MSTR_IVOL3 0 RESERVED 0 CHA1_IVOL3 0 CHB1_IVOL3 0 CHA2_IVOL3 0 CHB2_IVOL3 0 CHA3_IVOL3 0 CHB3_IVOL3 0 2 REV_ID2 0 PDN_XTAL 0 PDN_PWMA2 1 FREEZE 0 RESERVED 0 SRD_ERR 0 MSTR_IVOL2 0 RESERVED 0 CHA1_IVOL2 0 CHB1_IVOL2 0 CHA2_IVOL2 0 CHB2_IVOL2 0 CHA3_IVOL2 0 CHB3_IVOL2 0 1 REV_ID1 0 PDN_OUTPUT_MO DE 0 PDN_PWMB1 1 DEM1 0 RAMP_SPD1 0 SRU_ERR 0 MSTR_IVOL1 0 MSTR_FVOL1 0 CHA1_IVOL1 0 CHB1_IVOL1 0 CHA2_IVOL1 0 CHB2_IVOL1 0 CHA3_IVOL1 0 CHB3_IVOL1 0 0 REV_ID0 1 PDN 1 PDN_PWMA1 1 DEM0 0 RAMP_SPD0 1 AMUTE 1 MSTR_IVOL0 0 MSTR_FVOL0 0 CHA1_IVOL0 0 CHB1_IVOL0 0 CHA2_IVOL0 0 CHB2_IVOL0 0 CHA3_IVOL0 0 CHB3_IVOL0 0 Clock Config / Power Control page 49. default 03h Chnl Power Down page 50. default RESERVED 1 DIF2 RESERVED 1 DIF1 0 RESERVED 0 SZC1 1 MSTR_IVOL6 0 RESERVED 0 CHA1_IVOL6 0 CHB1_IVOL6 0 CHA2_IVOL6 0 CHB2_IVOL6 0 CHA3_IVOL6 0 CHB3_IVOL6 0 04h Misc. Config. page 51 default 0 RESERVED 05h Ramp Config page 52 default 0 SNGVOL 0 MSTR_IVOL7 0 RESERVED 0 CHA1_IVOL7 0 CHB1_IVOL7 0 CHA2_IVOL7 0 CHB2_IVOL7 0 CHA3_IVOL7 0 CHB3_IVOL7 0 06h Vol Control Config page 53 default Control default 07h Master Vol. - Integer page 55 08h Master Vol. Control - Fraction page 55 default 09h Channel A1 Vol. Control - Integer page 57 default 0Ah Channel B1 Vol. Control - Integer page 57 default 0Bh Channel A2 Vol. Control - Integer page 57 default 0Ch Channel B2 Vol. Control - Integer page 57 default 0Dh Channel A3 Vol. Control - Integer page 57 default 0Eh Channel B3 Vol. Control - Integer page 57 default 0Fh Reserved default Reserved default RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 CS44600 10h DS633F1 45 Addr 11h Function Channel Vol. Control 1-Fraction page 57. default 7 CHB2_FVOL1 0 6 CHB2_FVOL0 0 5 CHA2_FVOL1 0 4 CHA2_FVOL0 0 3 CHB1_FVOL1 0 CHB3_FVOL1 0 CHB2_MUTE 0 CHB2_INV 0 RESERVED 0 ARATE3 0 RRATE3 0 CHA1_CORS3 0 CHA1_FINE3 0 CHB1_CORS3 0 CHB1_FINE3 0 CHA2_CORS3 0 CHA2_FINE3 0 CHB2_CORS3 0 CHB2_FINE3 0 CHA3_CORS3 0 2 CHB1_FVOL0 0 CHB3_FVOL0 0 CHA2_MUTE 0 CHA2_INV 0 RESERVED 0 ARATE2 0 RRATE2 0 CHA1_CORS2 0 CHA1_FINE2 0 CHB1_CORS2 0 CHB1_FINE2 0 CHA2_CORS2 0 CHA2_FINE2 0 CHB2_CORS2 0 CHB2_FINE2 0 CHA3_CORS2 0 1 CHA1_FVOL1 0 CHA3_FVOL1 0 CHB1_MUTE 0 CHB1_INV 0 LIMIT_ALL 0 ARATE1 0 RRATE1 0 CHA1_CORS1 0 CHA1_FINE1 0 CHB1_CORS1 0 CHB1_FINE1 0 CHA2_CORS1 0 CHA2_FINE1 0 CHB2_CORS1 0 CHB2_FINE1 0 CHA3_CORS1 0 0 CHA1_FVOL0 0 CHA3_FVOL0 0 CHA1_MUTE 0 CHA1_INV 0 LIMIT_EN 0 ARATE0 0 RRATE0 0 CHA1_CORS0 0 CHA1_FINE0 0 CHB1_CORS0 0 CHB1_FINE0 0 CHA2_CORS0 0 CHA2_FINE0 0 CHB2_CORS0 0 CHB2_FINE0 12h Channel Vol. Control 2-Fraction page 57 default RESERVED 0 RESERVED 0 RESERVED 0 CHB3_MUTE 0 CHB3_INV 0 RESERVED 0 ARATE5 0 RRATE5 1 CHA1_CORS5 0 CHA1_FINE5 0 CHB1_CORS5 0 CHB1_FINE5 0 CHA2_CORS5 0 CHA2_FINE5 0 CHB2_CORS5 0 CHB2_FINE5 0 CHA3_CORS5 0 RESERVED 0 CHA3_MUTE 0 CHA3_INV 0 RESERVED 0 ARATE4 1 RRATE4 0 CHA1_CORS4 0 CHA1_FINE4 0 CHB1_CORS4 0 CHB1_FINE4 0 CHA2_CORS4 0 CHA2_FINE4 0 CHB2_CORS4 0 CHB2_FINE4 0 CHA3_CORS4 0 13h Channel Mute page 58 default RESERVED 0 RESERVED 0 14h Channel Invert page 58 default RESERVED 0 RESERVED default 0 ARATE7 0 RRATE7 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 ARATE6 0 RRATE6 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 15h Peak Limiter Control page 59 16h Limiter Attack Rate page 59 default 17h Limiter Release Rate page 60 default 18h Chnl A1 Comp. Filter - Coarse Adj page 60 default 19h Chnl A1 Comp. Filter - Fine Adj page 61 default 1Ah Chnl B1 Comp. Filter - Coarse Adj page 60 default 1Bh Chnl B1 Comp. Filter - Fine Adj page 61 default 1Ch Chnl A2 Comp. Filter - Coarse Adj page 60 default 1Dh Chnl A2 Comp. Filter - Fine Adj page 61 default 1Eh Chnl B2 Comp. Filter - Coarse Adj page 60 default 1Fh Chnl B2 Comp. Filter - Fine Adj page 61 default CS44600 0 CHA3_CORS0 0 20h Chnl A3 Comp. Filter - Coarse Adj page 60 default 46 DS633F1 Addr 21h Function Chnl A3 Comp. Filter - Fine Adj page 61 default 7 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 6 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 INT0 0 M_SRC_LOCK 0 SRC_LOCK 0 5 CHA3_FINE5 0 CHB3_CORS5 0 CHB3_FINE5 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 M_RMPUP_DONE 0 RMPUP_DONE 0 CHB3_OVFL 0 GPIO5_I/O 0 GPIO5_P/T 1 GPIO5_L/E 0 GPIO5_STATUS X RESERVED 0 RESERVED 0 4 CHA3_FINE4 0 CHB3_CORS4 0 CHB3_FINE4 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 M_RMPDN_DONE 0 RMPDN_DONE 0 CHA3_OVFL 0 GPIO4_I/O 0 GPIO4_P/T 1 GPIO4_L/E 0 GPIO4_STATUS X RESERVED 0 3 CHA3_FINE3 0 CHB3_CORS3 0 CHB3_FINE3 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 M_MUTE_DONE 0 MUTE_DONE 0 CHB2_OVFL 0 GPIO3_I/O 0 GPIO3_P/T 1 GPIO3_L/E 0 GPIO3_STATUS X M_GPIO3 0 2 CHA3_FINE2 0 CHB3_CORS2 0 CHB3_FINE2 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 M_OVFL_INT 0 OVFL_INT 0 CHA2_OVFL 0 GPIO2_I/O 0 GPIO2_P/T 1 GPIO2_L/E 0 GPIO2_STATUS X M_GPIO2 0 A3_OUT_CNFG 0 1 CHA3_FINE1 0 CHB3_CORS1 0 CHB3_FINE1 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 GPIO_INT 0 CHB1_OVFL 0 GPIO1_I/O 0 GPIO1_P/T 1 GPIO1_L/E 0 GPIO1_STATUS X M_GPIO1 0 B3_OUT_CNFG 0 0 CHA3_FINE0 0 CHB3_CORS0 0 CHB3_FINE0 0 RESERVED 0 RESERVED 0 RESERVED 0 RESERVED 0 OVFL_L/E 0 RESERVED 0 RESERVED 0 CHA1_OVFL 0 GPIO0_I/O 0 GPIO0_P/T 1 GPIO0_L/E 0 GPIO0_STATUS X M_GPIO0 0 22h Chnl B3 Comp. Filter - Coarse Adj page 60 default 23h Chnl B3 Comp. Filter - Fine Adj page 61 default 24h 25h 26h 27h Reserved default Reserved default Reserved default Reserved default 0 RESERVED 0 RESERVED 0 RESERVED 0 INT1 28h Interrupt Mode Control page 61 default 0 M_SRC_UNLOCK 29h Interrupt Mask page 62 default 0 SRC_UNLOCK 0 2Ah Interrupt Status page 62 default 2Bh Chnl Over Flow Status page 64 default RESERVED 0 RESERVED RESERVED 0 GPIO6_I/O 0 GPIO6_P/T 1 GPIO6_L/E 0 GPIO6_STATUS X RESERVED 0 RESERVED 0 2Ch GPIO Pin I/O page 64 default Polardefault 0 RESERVED 0 RESERVED 0 RESERVED X RESERVED 0 OSRATE 2Dh GPIO Pin ity/Type ppage 64 2Eh GPIO Pin Level/Edge trigger page 65 default 2Fh GPIO Pin Status page 65 default 30h GPIO Interrupt Mask page 66 default CS44600 31h PWM Config page 66 default A1/B1_OUT_CNFG A2/B2_OUT_CNFG 0 0 RESERVED 0 0 DS633F1 47 Addr 32h Function PWM Minimum Pulse Width page 67 default 7 DISABLE_ PWMOUTxx0 DIFF_DLY2 0 PSR_EN 0 RESERVED 0 DEC_SCALED15 0 DEC_SCALED07 0 RESERVED 6 RESERVED 0 DIFF_DLY1 0 PSR_RESET 0 DEC_SHIFT2 0 DEC_SCALED14 1 DEC_SCALED06 1 RESERVED 0 RESERVED 0 RESERVED 0 DEC_OUTD22 0 DEC_OUTD14 0 DEC_OUTD06 0 5 RESERVED 0 DIFF_DLY0 0 FEEDBACK_ EN 0 DEC_SHIFT1 1 DEC_SCALED13 0 DEC_SCALED05 1 RESERVED 0 RESERVED 0 RESERVED 0 DEC_OUTD21 0 DEC_OUTD13 0 DEC_OUTD05 0 4 MIN_PULSE4 0 CHNL_DLY4 0 RESERVED 0 DEC_SHIFT0 0 DEC_SCALED12 1 DEC_SCALED04 0 RESERVED 0 RESERVED 0 RESERVED 0 DEC_OUTD20 0 DEC_OUTD12 0 DEC_OUTD04 0 3 MIN_PULSE3 0 CHNL_DLY3 0 RESERVED 0 RESERVED 0 DEC_SCALED11 1 DEC_SCALED03 1 RESERVED 0 RESERVED 0 RESERVED 0 DEC_OUTD19 0 DEC_OUTD11 0 DEC_OUTD03 0 2 MIN_PULSE2 0 CHNL_DLY2 0 PS_SYNC_DIV2 0 DEC_SCALED18 0 DEC_SCALED10 0 DEC_SCALED02 0 RESERVED 0 RESERVED 0 RESERVED 0 DEC_OUTD18 0 DEC_OUTD10 0 DEC_OUTD02 0 1 MIN_PULSE1 0 CHNL_DLY1 0 PS_SYNC_DIV1 0 DEC_SCALED17 1 DEC_SCALED09 0 DEC_SCALED01 0 RESERVED 0 RESERVED 0 RESERVED 0 DEC_OUTD17 0 DEC_OUTD09 0 DEC_OUTD01 0 0 MIN_PULSE0 0 CHNL_DLY0 0 PS_SYNC_DIV0 0 DEC_SCALED16 0 DEC_SCALED08 0 DEC_SCALED00 0 RESERVED 0 RESERVED 0 RESERVED 0 DEC_OUTD16 0 DEC_OUTD08 0 DEC_OUTD00 0 33h PWMOUT Delay page 68 default 34h PSR / Power Supply Config page 69 default 35h PSR_Decimator Scaled page 70 default 36h PSR_Decimator Scaled page 70 default 37h PSR_Decimator Scaled page 70 default 38h Reserved default 0 RESERVED 39h Reserved default 0 RESERVED 3Ah Reserved default 0 DEC_OUTD23 0 DEC_OUTD15 0 DEC_OUTD07 0 3Bh PSR_Decimator Outd page 71 default 3Ch PSR_Decimator Outd page 71 default 3Dh PSR_Decimator Outd page 71 default CS44600 CS44600 7. REGISTER DESCRIPTION All registers are read/write except for I.D. and Revision Register, Interrupt Status and Decimator OutD registers which are read only. See the following bit definition tables for bit assignment information. The default state of each bit after a power-up sequence or reset is listed in each bit description. 7.1 Memory Address Pointer (MAP) Not a register 7 INCR 6 MAP6 5 MAP5 4 MAP4 3 MAP3 2 MAP2 1 MAP1 0 MAP0 7.1.1 Increment (INCR) Default = 1 Function: memory address pointer auto increment control – 0 - MAP is not incremented automatically. – 1 - Internal MAP is automatically incremented after each read or write. 7.1.2 Memory Address Pointer (MAPx) Default = 0000001 Function: Memory address pointer (MAP). Sets the register address that will be read or written by the control port. 7.2 CS44600 I.D. and Revision Register (address 01h) (Read Only) 6 CHIP_ID2 5 CHIP_ID1 4 CHIP_ID0 3 REV_ID3 2 REV_ID2 1 REV_ID1 0 REV_ID0 7 CHIP_ID3 7.2.1 Chip I.D. (Chip_IDx) Default = 1101 Function: I.D. code for the CS44600. Permanently set to 1101. 7.2.2 Chip Revision (Rev_IDx) Default = 0001 Function: CS44600 revision level. Revision A is coded as 0001. 48 DS633F1 CS44600 7.3 Clock Configuration and Power Control (address 02h) 4 PWM_MCLK_DIV1 3 2 1 0 PWM_MCLK_DIV0 PDN_XTAL PDN_OUTPUT_MODE PDN 7 6 5 EN_SYS_CLK SYS_CLK_DIV1 SYS_CLK_DIV0 7.3.1 Enable SYS_CLK Output (EN_SYS_CLK) Default = 1 Function: This bit enables the driver for the SYS_CLK signal. If the SYS_CLK output is unused, this bit should be set to ‘0’b to disable the driver. 7.3.2 SYS_CLK Clock Divider Settings (SYS_CLK_DIV[1:0]) Default = 00 Function: These two bits determine the divider for the XTAL clock signal for generating the SYS_CLK signal. During a reset condition, with the RST input pin held low, the logic level on the MUTE input pin will determine the divider used for the SYS_CLK output. If MUTE is pulled low, the SYS_CLK divider will be set to divide the clock frequency on XTI by a factor of 1. If the MUTE pin is pulled high, the SYS_CLK output will be set to perform a divide-by-2 on the XTI clock. The state of the MUTE pin will be latched on the rising edge of the RST. The MUTE pin can then be used as defined. SYS_CLK_DIV[1:0] 00 01 10 11 SYS_CLK Clock Divider Use state of MUTE input pin following RST condition Divide by 2 Divide by 4 Divide by 8 7.3.3 PWM Master Clock Divider Settings (PWM_MCLK_DIV[1:0]) Default = 00 Function: These two bits determine the divider for the XTAL clock signal for generating the PWM_MCLK signal. PWM_MCLK_DIV[1:0] 00 01 10 11 PWM Master Clock Divider Divide by 1 Divide by 2 Divide by 4 Divide by 8 7.3.4 Power Down XTAL (PDN_XTAL) Default = 0 0 - Crystal Oscillator Circuit is running. 1 - Crystal Oscillator Circuit is powered down. Function: This bit is used to power down the crystal oscillator circuitry when not being used. When using a clock signal attached to the XTI input, this bit should be set to ‘1’b. DS633F1 49 CS44600 7.3.5 Power Down Output Mode (PDN_OUTPUT_MODE) Default = 0 0 - PWM Outputs are driven low during power down 1 - PWM Outputs are driven to the inactive state during power down Function: This bit is used to select the power-down state of the PWM output signals. When set to 0, each channel which has been powered down, following the ramp-down cycle if enabled, will drive the output signals, PWMOUTxx+ and PWMOUTxx-, low. When set to 1, each channel which has been powered down, following the ramp-down cycle if enabled, will drive the output signals to the inactive state. PWMOUTxx+ is driven low and PWMOUTxx- is driven high. 7.3.6 Power Down (PDN) Default = 1 0 - Normal Operation 1 - Power down Function: The entire device will enter a low-power state when this function is enabled, and the contents of the control registers are retained in this mode. The power-down bit defaults to ‘enabled’ on power-up and must be disabled before normal operation can occur. 7.4 PWM Channel Power Down Control (address 03h) 6 RESERVED 5 PDN_PWMB3 4 PDN_PWMA3 3 PDN_PWMB2 2 PDN_PWMA2 1 PDN_PWMB1 0 PDN_PWMA1 7 RESERVED 7.4.1 Power Down PWM Channels (PDN_PWMB3:PDN_PWMA1) Default = 11111111 0 - Normal Operation 1 - Power down PWM channel Function: The specific PWM channel is in the power-down state. All processing is halted for the specific channel, but does not alter the setup or delay register values. The PWM output signals are driven to the appropriate logic level as defined by the Power-Down Output Mode bit, PDN_OUTPUT_MODE. When set to normal operation, the specific channel will power up according to the state of the RAMP[1:0] bits and the channel output configuration selected. When transitioning from normal operation to power down, the specific channel will power down according to the state of the RAMP[1:0] bits and the channel output configuration selected. Ramp control is found in “Ramp Configuration (address 05h)” on page 54. 50 DS633F1 CS44600 7.5 Misc. Configuration (address 04h) 7 DIF2 6 DIF1 5 DIF0 4 RESERVED 3 AM_FREQ_HOP 2 FREEZE 1 DEM1 0 DEM0 7.5.1 Digital Interface Format (DIFX) Default = 001 Function: These bits select the digital interface format used for the DAI Serial Port. The required relationship between the Left/Right clock, serial clock, and serial data is defined by the Digital Interface Format and the options are detailed in Figures 17 - 22. DIF2 0 0 0 0 1 1 1 DIF1 0 0 1 1 0 0 1 DIF0 0 1 0 1 0 1 0 Description Left-Justified, up to 24-bit data I²S, up to 24-bit data Right-Justified, 16-bit data Right-Justified, 24-bit data One-Line mode #1, 20-bit data One-Line mode #2, 24-bit data TDM Mode, up to 32-bit data Figure 18 17 19 19 20 21 22 Table 5. Digital Audio Interface Formats 7.5.2 AM Frequency Hopping (AM_FREQ_HOP) Default = 0 Function: Enables the modulator to alter the PWM switch timings to remove interference when the desired frequency from an AM tuner is positioned near the PWM switching rate. The PWM modulator circuitry must first be powered down using the PDN bit in the Clock Configuration and Power Control (address 02h) Register before this feature can be enabled. There will be a delay following the power-up sequence due to the relocking of the SRC. Once this feature is enabled, the output switch rate is divided by 2.25, resulting in a lowered PWM switch rate. Care should be taken to ensure that: PWM_MCLK / 16 > the upper frequency limit of the AM tuner used 7.5.3 Freeze Controls (FREEZE) Default = 0 Function: This function will freeze the previous output of, and allow modifications to be made to the Master Volume Control (address 07h-08h), Channel XX Volume Control (address 09h-12h), and Channel Mute (address 13h) registers without the changes taking effect until the FREEZE bit is disabled. To make multiple changes in these control port registers take effect simultaneously, enable the FREEZE bit, make all register changes, then disable the FREEZE bit. DS633F1 51 CS44600 7.5.4 De-Emphasis Control (DEM[1:0]) Default = 00 00 - no de-emphasis 01 - 32 kHz de-emphasis filter 10 - 44.1 kHz de-emphasis filter 11 - 48 kHz de-emphasis filter Function: Enables the appropriate digital filter to maintain the standard 15 ms/50 ms digital de-emphasis filter response. 7.6 Ramp Configuration (address 05h) 6 RESERVED 5 RESERVED 4 RAMP1 3 RAMP0 2 RESERVED 1 RAMP_SPD1 0 RAMP_SPD0 7 RESERVED 7.6.1 Ramp-Up/Down Setting (RAMP[1:0]) Default = 00 00 - Ramp-up and ramp-down are disabled 01 - Ramp-up is disabled. Ramp-down is enabled. 10 - Reserved 11 - Ramp-up and ramp-down are enabled. Note that after a ramp-up sequence has completed, audio will not play until RAMP[1:0] is set to 01. Function: When ramping is enabled, the duty cycle of the output PWM signal is increased (ramp-up) or decreased (ramp-down) at a rate determined by the Ramp Speed variable (RAMP_SPDx). This function is used in single-ended applications to reduce pops in the output caused by the DC-blocking capacitor. When the ramp-up/down function is disabled in single-ended applications, there will be an abrupt change in the output signal. Refer to Section 5.1.1 . If ramp-up or down is not needed, as in a full-bridge application, these bits should be set to 00. If rampup or down is needed, as in a single-ended half-bridge application, these bits must be used in the proper sequence as outlined in “Recommended Power-Up Sequence” on page 43 and “Recommended PowerDown Sequence” on page 45. 7.6.2 Ramp Speed (RAMP_SPD[1:0]) Default = 01 00 - Ramp speed = approximately 0.1 seconds 01 - Ramp speed = approximately 0.2 seconds 10 - Ramp speed = approximately 0.3 seconds 11 - Ramp speed = approximately 0.65 seconds Function: This feature is used in single-ended applications to reduce pops in the output caused by the DC-blocking capacitor. The Ramp Speed sets the time for the PWM signal to linearly ramp-up and down from the bias point (50% PWM duty cycle). Refer to Section 5.1.1 52 DS633F1 CS44600 7.7 Volume Control Configuration (address 06h) 6 SZC1 5 SZC0 4 RESERVED 3 MUTE_50/50 2 SRD_ERR 1 SRU_ERR 0 AMUTE 7 SNGVOL 7.7.1 Single Volume Control (SNGVOL) Default = 0 Function: The individual channel volume levels are independently controlled by their respective Volume Control registers when this function is disabled. When enabled, the volume on all channels is determined by the A1 Channel Volume Control register. The other Volume Control registers are ignored. 7.7.2 Soft Ramp and Zero Cross Control (SZC[1:0]) Default = 10 00 - Immediate Change 01 - Zero Cross 10 - Soft Ramp 11 - Soft Ramp on Zero Crossings Function: Immediate Change When Immediate Change is selected, all level changes will take effect immediately in one step. Zero Cross Zero Cross Enable dictates that signal level changes, either by attenuation changes or muting, will occur on a signal zero crossing to minimize audible artifacts. The requested level change will occur after a timeout period (approximately 18.7 ms for a PWM switch rate of 384/768 kHz and 17.0 ms for a PWM switch rate of 421.875/843.75 kHz) if the signal does not encounter a zero crossing. The zero cross function is independently monitored and implemented for each channel. Soft Ramp Soft Ramp allows level changes, both muting and attenuation, to be implemented by incrementally ramping, in 1/8 dB steps, from the current level to the new level at a rate of 1 dB per 8 left/right clock periods. Soft Ramp on Zero Crossing Soft Ramp and Zero Cross Enable dictates that signal level changes, either by attenuation changes or muting, will occur in 1/8-dB steps and be implemented on a signal zero crossing. The 1/8-dB level change will occur after a timeout period (approximately 18.7 ms for a PWM switch rate of 384/768 kHz and 17.0 ms for a PWM switch rate of 421.875/843.75 kHz) if the signal does not encounter a zero crossing. The zero cross function is independently monitored and implemented for each channel. 7.7.3 Enable 50% Duty Cycle for Mute Condition (MUTE_50/50) Default = 0 0 - Disabled 1 - Enabled Function: This bit enables the modulator to output an exact 50%-duty-cycle PWM signal (not modulated), which corresponds to digital silence, for all mute conditions. The muting function is affected, similar to volume con- DS633F1 53 CS44600 trol changes, by the Soft and Zero Cross bits (SZC[1:0]). This bit does not cause a mute condition to occur. The MUTE_50/50 bit only defines operation during a normal mute condition. When MUTE_50/50 is set and a mute condition occurs, PSR will not affect the output of the modulator, regardless if PSR is enabled. Output noise may be increased in this case if the noise on the high voltage power supply is greater than the system noise. Therefore, it is recommended that if a noisy power supply is used in a single-ended half-bridge configuration with PSR enabled, MUTE_50/50 should be disabled and a normal, modulated mute should be used. This will allow the modulator to use the PSR feedback to reject power supply noise and improve system performance. 7.7.4 Soft Ramp-Down on Interface Error (SRD_ERR) Default = 0 0 - Disabled 1 - Enabled Function: A mute will be performed upon detection of a timing error on the Digital Audio Interface or if an SRC_LOCK error has occurred. An SRC_LOCK interrupt is an indication that the sample rate converter timings have become unstable, or have changed abruptly. Audio data from the SRC is no longer considered valid and could cause unwanted pops or clicks. When this feature is enabled, this mute is affected, similar to attenuation changes, by the Soft and Zero Cross bits (SZC[1:0]). When disabled, an immediate mute is performed on detection of an error. Note: For best results, it is recommended that this bit be used in conjunction with the SRU_ERR bit. 7.7.5 Soft Ramp-Up on Recovered Interface Error (SRU_ERR) Default = 0 0 - Disabled 1 - Enabled Function: An un-mute will be performed after a MCLK/LRCK ratio change, recovered DAI timing error, or after the SRC has gained lock. When this feature is enabled, this un-mute is affected, similar to attenuation changes, by the Soft and Zero Cross bits (SZC[1:0]). When disabled, an immediate un-mute is performed in these instances. Note: For best results, it is recommended that this bit be used in conjunction with the SRD_ERR bit. 7.7.6 Auto-Mute (AMUTE) Default = 1 0 - Disabled 1 - Enabled Function: The PWM converters of the CS44600 will mute the output following the reception of 8192 consecutive audio samples of static 0 or -1. A single sample of non-static data will release the mute. Detection and muting is done independently for each channel. The muting function is affected, similar to volume control changes, by the Soft and Zero Cross bits (SZC[1:0]). 54 DS633F1 CS44600 7.8 Master Volume Control - Integer (address 07h) 6 MSTR_IVOL6 5 MSTR_IVOL5 4 MSTR_IVOL4 3 MSTR_IVOL3 2 MSTR_IVOL2 1 MSTR_IVOL1 0 MSTR_IVOL0 7 MSTR_IVOL7 7.8.1 Master Volume Control - Integer (MSTR_IVOL[7:0]) Default = 00000000 Function: The Master Volume Control - Integer register allows global control of the signal levels on all channels in 1 dB increments from +24 to -127 dB. Volume settings are decoded as shown in Table 6. The volume changes are implemented as specified by the Soft and Zero Cross bits (SZC[1:0]). All volume settings greater than 00011000b are equivalent to +24 dB. Binary values for integer volume settings less than 0 dB are in two’s complement form. MSTR_IVOL[7:0] 0001 1000 0001 0111 0000 0001 0000 0000 1111 1111 1111 1110 1000 0001 Hex Value 18 17 01 00 FF FE 81 Volume Setting +24 dB +23 dB +1 dB 0 dB -1 dB -2 dB -127 dB Table 6. Master Integer Volume Settings 7.9 Master Volume Control - Fraction (address 08h) 6 RESERVED 5 RESERVED 4 RESERVED 3 RESERVED 2 RESERVED 1 MSTR_FVOL1 0 MSTR_FVOL0 7 RESERVED 7.9.1 Master Volume Control - Fraction (MSTR_FVOL[1:0]) Default = 00 00 - +0.00 dB 01 - +0.25 dB 10 - +0.50 dB 11 - +0.75 dB Function: The Master Volume Control - Fraction register is an additional offset to the value in the Master Volume Control - Integer register and allows global control of the signal levels on all channels in 0.25 dB increments. Volume settings are decoded as shown in Table 7. These volume changes are implemented as specified by the Soft and Zero Cross bits (SZC[1:0]). All volume settings greater than 00011000b are equivalent to +24 dB. Binary values for integer and fractional volume settings less than 0 dB are in two’s complement form. To calculate from a positive decimal integer:fraction value to a binary positive integer:fraction value, do the following: 1. Convert the decimal integer to binary. This is MSTR_IVOL[7:0]. 2. Select the bit representation of the desired 0.25 fractional increment. This is MSTR_FVOL[1:0]. To calculate from a negative decimal integer:fraction value to a binary, 2’s complement integer:fraction value, do the following: DS633F1 55 CS44600 1. Convert the decimal integer to binary. This is MSTR_IVOL[7:0]. 2. Select the bit representation of the desired 0.25 fractional increment. This is MSTR_FVOL[1:0]. 3. Concatenate MSTR_IVOL[7:0]: MSTR_FVOL[1:0] to form a 10-bit binary value. 4. Perform a 2’s complement conversion on all 10 bits. The upper 8 bits are now the new MSTR_FVOL[7:0] and the two lower bits are MSTR_FVOL[1:0]. To convert from a 2’s complement integer:fraction value to a negative decimal, do the following: 1. Concatenate MSTR_IVOL[7:0]: MSTR_FVOL[1:0] to form a 10-bit binary value. 2. Perform a 2’s complement conversion on all 10 bits. 3. Convert the 10-bit binary number to a decimal value. 4. Divide the decimal value by 4. MSTR_IVOL[7:0] 0001 1000 0001 0111 0000 0001 0000 0001 0000 0000 0000 0000 1111 1111 1111 1111 1111 1110 1111 1101 1000 0010 1000 0001 1000 0001 MSTR_FVOL(1:0) 00 10 11 00 01 00 10 00 11 10 00 11 00 Volume Setting +24.00 dB +23.50 dB +1.75 dB +1.00 dB +0.25 dB 0 dB -0.50 dB -1.00 dB -1.25 dB -2.50 dB -126.00 dB -126.25 dB -127.00 dB Table 7. Master Fractional Volume Settings 56 DS633F1 CS44600 7.10 Channel XX Volume Control - Integer (addresses 09h - 0Eh) 6 CHXX_IVOL6 5 CHXX_IVOL5 4 CHXX_IVOL4 3 CHXX_IVOL3 2 CHXX_IVOL2 1 CHXX_IVOL1 0 CHXX_IVOL0 7 CHXX_IVOL7 7.10.1 Channel Volume Control - Integer (CHXx_IVOL[7:0]) Default = 00000000 Function: The Channel X Volume Control - Integer register allows global control of the signal levels on all channels in 1 dB increments from +24 to -127 dB. Volume settings are decoded as shown in Table 6. The volume changes are implemented as specified by the Soft and Zero Cross bits (SZC[1:0]. All volume settings greater than 00011000b are equivalent to +24 dB. Binary values for integer volume settings less than 0 dB are in two’s complement form. CHXX_IVOL[7:0] 0001 1000 0001 0111 0000 0001 0000 0000 1111 1111 1111 1110 1000 0001 Hex Value 18 17 01 00 FF FE 81 Volume Setting +24 dB +23 dB +1 dB 0 dB -1 dB -2 dB -127 dB Table 8. Channel Integer Volume Settings 7.11 Channel XX Volume Control1 - Fraction (address 11h) 6 CHB2_FVOL0 5 CHA2_FVOL1 4 CHA2_FVOL0 3 CHB1_FVOL1 2 CHB1_FVOL0 1 CHA1_FVOL1 0 CHA1_FVOL0 7 CHB2_FVOL1 7.12 Channel XX Volume Control2 - Fraction (address 12h) 6 RESERVED 5 RESERVED 4 RESERVED 3 CHB3_FVOL1 2 CHB3_FVOL0 1 CHA3_FVOL1 0 CHA3_FVOL0 7 RESERVED 7.12.1 Channel Volume Control - Fraction (CHXX_FVOL[1:0]) Default = 00 00 - +0.00 dB 01 - +0.25 dB 10 - +0.50 dB 11 - +0.75 dB Function: The Channel X Volume Control - Fraction register is an additional offset to the value in the Channel Volume Control - Integer register and allows global control of the signal levels on all channels in 0.25 dB increments. Volume settings are decoded as shown in Table 7. These volume changes are implemented as specified by the Soft and Zero Cross bits (SZC[1:0]). All volume settings greater than 00011000b are equivalent to +24 dB. Binary values for integer and fractional volume settings less than 0 dB are in two’s complement form. See “Master Volume Control - Fraction (address 08h)” on page 57 for hints on converting decimal numbers to 2’s complement binary values. DS633F1 57 CS44600 CHXX_IVOL[7:0] 0001 1000 0001 0111 0000 0001 0000 0001 0000 0000 0000 0000 1111 1111 1111 1111 1111 1110 1111 1101 1000 0010 1000 0001 1000 0001 CHXX_FVOL(1:0) 00 10 11 00 01 00 10 00 11 10 00 11 00 Volume Setting +24.00 dB +23.50 dB +1.75 dB +1.00 dB +0.25 dB 0 dB -0.50 dB -1.00 dB -1.25 dB -2.50 dB -126.00 dB -126.25 dB -127.00 dB Table 9. Channel Fractional Volume Settings 7.13 Channel Mute (address 13h) 6 RESERVED 5 CHB3_MUTE 4 CHA3_MUTE 3 CHB2_MUTE 2 CHA2_MUTE 1 CHB1_MUTE 0 CHA1_MUTE 7 RESERVED 7.13.1 Independent Channel Mute (CHXX_MUTE) Default = 0 0 - Disabled 1 - Enabled Function: The PWM outputs of the CS44600 will mute when enabled. The muting function is affected, similar to attenuation changes, by the Soft and Zero Cross bits (SZC[1:0]). 7.14 Channel Invert (address 14h) 6 RESERVED 5 CHB3_INV 4 CHA3_INV 3 CHB2_INV 2 CHA2_INV 1 CHB1_INV 0 CHA1_INV 7 RESERVED 7.14.1 Invert Signal Polarity (CHXX_INV) Default = 0 0 - Disabled 1 - Enabled Function: When enabled, these bits will invert the signal polarity of their respective channels. 58 DS633F1 CS44600 7.15 Peak Limiter Control Register (address 15h) 6 RESERVED 5 RESERVED 4 RESERVED 3 RESERVED 2 RESERVED 1 LIMIT_ALL 0 LIMIT_EN 7 RESERVED 7.15.1 Peak Signal Limit All Channels (LIMIT_ALL) Default = 0 0 - individual channel 1 - all channels Function: When set to 0, the peak signal limiter will limit the maximum signal amplitude to prevent clipping on the specific channel indicating clipping. The other channels will not be affected. When set to 1, the peak signal limiter will limit the maximum signal amplitude to prevent clipping on ALL channels in response to ANY single channel indicating clipping. 7.15.2 Peak Signal Limiter Enable (LIMIT_EN) Default = 0 0 - Disabled 1 - Enabled Function: The CS44600 will limit the maximum signal amplitude to prevent clipping when this function is enabled. Peak Signal Limiting is performed by digital attenuation. The attack rate is determined by the Limiter Attack Rate register. 7.16 Limiter Attack Rate (address 16h) 6 ARATE6 5 ARATE5 4 ARATE4 3 ARATE3 2 ARATE2 1 ARATE1 0 ARATE0 7 ARATE7 7.16.1 Attack Rate (ARATE[7:0]) Default = 00010000 Function: The limiter attack rate is user selectable. The effective rate is a function of the SRC output sampling frequency and the value in the Limiter Attack Rate register. Rates are calculated using the function RATE = (32/{value})/SRC Fs, where {value} is the decimal value in the Limiter Attack Rate register and SRC Fs is the output sample rate of the SRC which is determined by the PWM master clock frequency. SRC Fs equals 384 kHz for 24.576 MHz based clocks and 421.875 kHz for 27.000 MHz based clocks. Note: A value of zero in this register is not recommended, as it will induce erratic behavior of the limiter. Use the LIM_EN bit to disable the limiter function (see Peak Limiter Control Register (address 15h)). DS633F1 59 CS44600 Binary Code 00000001 00010100 00101000 00111100 01011010 Decimal Value 1 20 40 60 90 Attack Rate - 384 kHz (µs per 1/8 dB) 83.33 4.167 2.083 1.389 0.926 Table 10. Limiter Attack Rate Settings Attack Rate - 421.875 kHz (µs per 1/8 dB) 75.852 3.793 1.896 1.264 0.843 7.17 Limiter Release Rate (address 17h) 6 RRATE6 5 RRATE5 4 RRATE4 3 RRATE3 2 RRATE2 1 RRATE1 0 RRATE0 7 RRATE7 7.17.1 Release Rate (RRATE[7:0]) Default = 00100000 Function: The limiter release rate is user selectable. The effective rate is a function of the SRC output sampling frequency and the value in the Release Rate register. Rates are calculated using the function RATE = (512/{value})/SRC Fs, where {value} is the decimal value in the Release Rate register and SRC Fs is the output sample rate of the SRC which is determined by the PWM master clock frequency. SRC Fs equals 384 kHz for 24.576 MHz based clocks and 421.875 kHz for 27.000 MHz based clocks. Note: A value of zero in this register is not recommended, as it will induce erratic behavior of the limiter. Use the LIM_EN bit to disable the limiter function (see Peak Limiter Control Register (address 15h)). Binary Code 00000001 00010100 00101000 00111100 01011010 Decimal Value 1 20 40 60 90 Release Rate - 384 kHz (µs per 1/8 dB) 1333.333 66.667 33.333 22.222 14.815 Release Rate - 421.875 kHz (µs per 1/8 dB) 1213.630 60.681 30.341 20.227 13.485 Table 11. Limiter Release Rate Settings 7.18 Chnl XX Load Compensation Filter - Coarse Adjust (addresses 18h, 1Ah, 1Ch, 1Eh, 20h, 22h) 6 RESERVED 5 CHXX_CORS5 4 CHXX_CORS4 3 CHXX_CORS3 2 CHXX_CORS2 1 CHXX_CORS1 0 CHXX_CORS0 7 RESERVED 7.18.1 Channel Compensation Filter - Coarse Adjust (CHXX_CORS[5:0]) Default = 000000 Function: The Channel Load Compensation Filter Coarse Adjustment settings control the amount of attenuation of this single-pole filter and are used in conjunction with the Fine Adjustment bits to compensate for speaker impedance load variations. Each PWM channel is controlled by an associated register. The coarse adjustment bits will attenuate the audio response curve according to the table below in 0.1 dB increments. Filter setting values less than -4.0 dB will cause the PWM output to mute. 60 DS633F1 CS44600 CHXX_CORS[5:0] 000000 000001 001010 011001 100000 101000 Coarse Filter Setting 0 dB -0.1 dB -1.0 dB -2.5 dB -3.2 dB -4.0 dB Table 12. Channel Load Compensation Filter Coarse Adjust 7.19 Chnl XX Load Compensation Filter - Fine Adjust (addresses 19h, 1Bh, 1Dh, 1Fh, 21h, 23h) 6 RESERVED 5 CHXX_FINE5 4 CHXX_FINE4 3 CHXX_FINE3 2 CHXX_FINE2 1 CHXX_FINE1 0 CHXX_FINE0 7 RESERVED 7.19.1 Channel Compensation Filter - Fine Adjust (CHXX_FINE[5:0]) Default = 000000 Function: The Channel Load Compensation Filter Fine Adjustment settings control the amount of attenuation of this single-pole filter which follows the Coarse Adjustment Compensation Filter. These bits are used in conjunction with the Coarse Adjustment bits to fine tune the total frequency response of the system to compensate for speaker impedance load variations. Each PWM channel is controlled by an associated register. The fine adjustment bits will attenuate the audio response curve according to the table below in 0.1 dB increments. Filter setting values less than -4.0 dB will cause the PWM output to mute. CHXX_FINE[5:0] 000000 000001 001010 011001 100000 101000 Fine Filter Setting 0 dB -0.1 dB -1.0 dB -2.5 dB -3.2 dB -4.0 dB Table 13. Channel Load Compensation Filter Fine Adjust 7.20 Interrupt Mode Control (address 28h) 6 INT0 5 RESERVED 4 RESERVED 3 RESERVED 2 RESERVED 1 RESERVED 0 OVFL_L/E 7 INT1 7.20.1 Interrupt Pin Control (INT1/INT0) Default = 00 00 - Active high, high output indicates interrupt condition has occurred 01 - Active low, low output indicates an interrupt condition has occurred 10 - Open drain, active low. Requires an external pull-up resistor on the INT pin. 11 - Reserved Function: Determines how the interrupt pin (INT) will indicate an interrupt condition. If any of the mask bits in the Interrupt Mask Register are set to a 1b, read the Interrupt Status Register to determine which condition caused the interrupt. DS633F1 61 CS44600 7.20.2 Overflow Level/Edge Select (OVFL_L/E) Default = 0 Function: This bit defines the OVFL interrupt type (0 = level sensitive, 1 = edge trigger). The Over Flow status of all the audio channels when configured as “edge trigger” is cleared by reading the Channel Over Flow Status (address 2Bh) (Read Only), and by reset. After a Reset this bit defaults to 0b, specifying “level sensitive”. 7.21 Interrupt Mask (address 29h) 2 1 0 M_OVFL_INT RESERVED RESERVED 7 6 5 4 3 M_SRC_UNLOCK M_SRC_LOCK M_RMPUP_DONE M_RMPDN_DONE M_MUTE_DONE Default = 00000000 Function: The bits of this register serve as a mask for the interrupt sources found in the Interrupt Status register. If a mask bit is set to 1b, the interrupt is unmasked, meaning that its occurrence will affect the INT pin and the Interrupt Status register. If a mask bit is set to 0b, the condition is masked, meaning that its occurrence will not affect the INT pin. The bit positions align with the corresponding bits in the Interrupt Status register. The mask bits for the GPIO_INT interrupt are located in the GPIO Interrupt Mask Register. 7.22 Interrupt Status (address 2Ah) (Read Only) 6 SRC_LOCK 5 RMPUP_DONE 4 RMPDN_DONE 3 MUTE_DONE 2 OVFL_INT 1 GPIO_INT 0 RESERVED 7 SRC_UNLOCK For all bits in this register, a ‘1’ means the associated interrupt condition has occurred at least once since the register was last read. A ‘0’ means the associated interrupt condition has NOT occurred since the last reading of the register. Reading the register resets the SRC_UNLOCK, SRC_LOCK, RMPUP_DONE, RMPDN_DONE and MUTE_DONE bits to 0. These bits are considered “edge-trigger” interrupts. The OVFL_INT and GPIO_INT bits will not reset to 0 by reading this register. The OVFL_INT bit will be set to 0 by a read to the “Channel Over Flow Status (address 2Bh) (Read Only)” on page 66 only when the interrupt type is set to “edge-trigger”. The GPIO_INT bit will be set to 0 by a read to the “GPIO Status Register (address 2Fh)” on page 67 only when the interrupt type is set to “edge trigger”. If either of these interrupt types are configured as “level sensitive”, then reading the appropriate status register will not clear the corresponding status bit in this register. OVFL_INT or GPIO_INT will remain set as long as the logic active level is present. Once the level is cleared, then a read to the proper status register will clear the status bit. 7.22.1 SRC Unlock Interrupt (SRC_UNLOCK) Default = 0 Function: When high, indicates that the DAI interface has detected an error condition and/or the SRC has lost lock. Conditions which cause the SRC to loose lock, such as loss of DAI_LRCK, DAI_MCLK or a DAI_LRCK/ DAI_MCLK ratio change, will cause an interrupt condition. This interrupt is an edge-triggered event. If this bit is set to a 1b, indicating an unlock condition, and an SRC_LOCK interrupt is detected, then this bit will be reset to 0b before a read of the Interrupt Status Register. Only the last valid state of the SRC will be reported. 62 DS633F1 CS44600 7.22.2 SRC Lock Interrupt (SRC_LOCK) Default = 0 Function: When high, indicates that on all active channels, the sample rate converters have achieved lock. This interrupt is an edge-triggered event. If this bit is set to a 1b, indicating a lock condition, and an SRC_UNLOCK condition is detected, then this bit will be reset to 0b before a read of the Interrupt Status Register. Only the last valid state of the SRC will be reported. 7.22.3 Ramp-Up Complete Interrupt (RMPUP_DONE) Default = 0 Function: When high, indicates that all active channels have completed the configured ramp-up interval. 7.22.4 Ramp-Down Complete Interrupt (RMPDN_DONE) Default = 0 Function: When high, indicates that all active channels have completed the configured ramp-down interval. 7.22.5 Mute Complete Interrupt (Mute_DONE) Default = 0 Function: When high, indicates that all muted channels have completed the mute cycle-down interval as defined by the SZC[1:0] bits in the “Volume Control Configuration (address 06h)” on page 55. 7.22.6 Channel Over Flow Interrupt (OVFL_INT) Default = 0 Function: When high, indicates that the magnitude of an output sample on one of the channels has exceeded full scale and has been clipped to positive or negative full scale as appropriate. This bit is the logical OR of all the bits in the Channel Over Flow Status Register. Read the Channel Over Flow Status Register to determine which channel(s) had the overflow condition. 7.22.7 GPIO Interrupt Condition (GPIO_INT) Default = 0 Function: When high, indicates that a transition as configured on one of the un-masked GPIO pins has occurred. This bit is the logical OR of all the supported un-masked bits in the GPIO Status Register. Read the GPIO Status Register to determine which GPIO input(s) caused the interrupt condition. The GPIO interrupt is not removed by reading this register. The GPIO Status Register must be read to clear this interrupt. If the GPIO input is configured as “edge trigger” the interrupt will clear. If the GPIO input is configured as “level sensitive”, the interrupt condition will remain as long as the GPIO input remains at the active level. DS633F1 63 CS44600 7.23 Channel Over Flow Status (address 2Bh) (Read Only) 6 RESERVED 5 CHB3_OVFL 4 CHA3_OVFL 3 CHB2_OVFL 2 CHA2_OVFL 1 CHB1_OVFL 0 CHA1_OVFL 7 RESERVED For all bits in this register, a ‘1’ means the associated condition has occurred at least once since the register was last read. A ‘0’ means the associated condition has NOT occurred since the last reading of the register. Reading the register resets all bits to 0 if the Overflow Level/Edge interrupt type is set to “edge trigger”. These channel overflow status bits are not effected by the interrupt mask bit, M_OVFL_INT. The overflow condition of each channel can be polled instead of generating an interrupt as required. 7.23.1 ChXX_OVFL Default = 0 Function: When high, indicates that the magnitude of the current output sample on the associated channel has exceeded full scale and has been clipped to positive or negative full scale as appropriate. 7.24 GPIO Pin In/Out (address 2Ch) 6 GPIO6_I/O 5 GPIO5_I/O 4 GPIO4_I/O 3 GPIO3_I/O 2 GPIO2_I/O 1 GPIO1_I/O 0 GPIO0_I/O 7 RESERVED 7.24.1 GPIO In/Out Selection (GPIOX_I/O) Default = 0 0 - General Purpose Input 1 - General Purpose Output Function: General Purpose Input - The pin is configured as an input. General Purpose Output - The pin is configured as a general purpose output. 7.25 GPIO Pin Polarity/Type (address 2Dh) 6 GPIO6_P/T 5 GPIO5_P/T 4 GPIO4_P/T 3 GPIO3_P/T 2 GPIO2_P/T 1 GPIO1_P/T 0 GPIO0_P/T 7 RESERVED 7.25.1 GPIO Polarity/Type Selection (GPIOX_P/T) Default = 1 Function: General Purpose Input - If the pin is configured as an input, this bit defines the input polarity (0 = Active Low, 1 = Active High). General Purpose Output - If the pin is configured as a general purpose output, this bit defines the GPIO output type (0 = CMOS, 1 = OPEN-DRAIN). 64 DS633F1 CS44600 7.26 GPIO Pin Level/Edge Trigger (address 2Eh) 6 GPIO6_L/E 5 GPIO5_L/E 4 GPIO4_L/E 3 GPIO3_L/E 2 GPIO2_L/E 1 GPIO1_L/E 0 GPIO0_L/E 7 RESERVED 7.26.1 GPIO Level/Edge Input Sensitive (GPIOX_L/E) Default = 0 Function: General Purpose Input - This bit defines the GPIO input type (0 = level sensitive, 1 = edge trigger) when a GPIO pin is configured as an input. The GPIO pin status of an input configured as “edge trigger” is cleared by reading the GPIO Status Register when not enabled to generate an interrupt (MASK bit equals 0b) and by reset. After a reset this bit defaults to 0b, specifying “level sensitive”. General Purpose Output - Not Used. 7.27 GPIO Status Register (address 2Fh) 6 5 4 3 2 1 0 GPIO6_STATUS GPIO5_STATUS GPIO4_STATUS GPIO3_STATUS GPIO2_STATUS GPIO1_STATUS GPIO0_STATUS 7 RESERVED 7.27.1 GPIO Pin Status (GPIOX_STATUS) Default = x Function: General Purpose Input - Bits in this register are read only when the corresponding GPIO pin is configured as an input. Each bit indicates the status of the GPIO pin. The corresponding bit of a GPIO input configured as “edge trigger” is cleared by reading the GPIO Status Register. GPIO inputs configured as “level sensitive” will not be automatically cleared, but will reflect the logic state on the GPIO input. The mask bits in the GPIO Interrupt Mask Register have no effect on the operation of these status bits. When a GPIO is un-masked and enabled to generate an interrupt, and is configured as “edge trigger”, a read operation to this register will clear the status bit and remove the interrupt condition. A read operation to the Interrupt Status (address 2Ah) (read only) when a GPIO is configured to generate an interrupt condition will not clear any bits in this register. General Purpose Output - For GPIO pins configured as outputs, these bits are used to control the output signal level. A 1b written to a particular bit will cause the corresponding GPIO pin to be driven to a logic high. A 0b will cause a logic low. DS633F1 65 CS44600 7.28 GPIO Interrupt Mask Register (address 30h) 6 RESERVED 5 RESERVED 4 RESERVED 3 M_GPIO3 2 M_GPIO2 1 M_GPIO1 0 M_GPIO0 7 RESERVED 7.28.1 GPIO Pin Interrupt Mask (M_GPIOX) Default = 0 Function: General Purpose Input - The bits of this register serve as a mask for GPIO[3:0] interrupt sources. If a mask bit is set to 1, the interrupt is unmasked, meaning that its occurrence will affect the INT pin and the Interrupt Status register. If a mask bit is set to 0, the condition is masked, meaning that its occurrence will not affect the INT pin or Interrupt Status Register. The proper pin status will be reported in the GPIO Status Register. The bit positions align with the corresponding bits in the GPIO Status register. General Purpose Output - This register is not used. 7.29 PWM Configuration Register (address 31h) 6 RESERVED 5 4 3 2 1 RESERVED A1/B1_OUT_CNFG A2/B2_OUT_CNFG A3_OUT_CNFG B3_OUT_CNFG 0 RESERVED 7 OSRATE 7.29.1 Over Sample Rate Selection (OSRATE) Default = 0 0 - modulated PWM output pulses run at single-mode switch rate. Typically 384 kHz or 421.875 kHz. 1 - modulated PWM output pulses run at double-mode switch rate. Typically 768 kHz or 843.75 kHz. Function: Enables the interpolation filter in the modulator to over-sample the incoming audio to support a doublespeed PWM switch rate. This parameter can only be changed when all modulators and associated logic are in the power-down state by setting the PDN bit in the register “Clock Configuration and Power Control (address 02h)” on page 51 to a 1b. Attempts to write this register while the PDN is not set will be ignored. 7.29.2 Channels A1 and B1 Output Configuration (A1/B1_OUT_CNFG) Default = 0 0 - pwm outputs for both channels A1 and B1 are configured for half-bridge operation 1 - pwm outputs for both channels A1 and B1 are configured for full-bridge operation Function: Identifies the output configuration. The value selected for this bit is applicable to the outputs for channels A1 and B1. This parameter can only be changed when all modulators and associated logic are in the power-down state by setting the PDN bit in the register “Clock Configuration and Power Control (address 02h)” on page 51 to a 1b. Attempts to write this register while the PDN is not set will be ignored. 7.29.3 Channels A2 and B2 Output Configuration (A2/B2_OUT_CNFG) Default = 0 0 - pwm outputs for both channels A2 and B2 are configured for half-bridge operation 1 - pwm outputs for both channels A2 and B2 are configured for full-bridge operation Function: Identifies the output configuration. The value selected for this bit is applicable to the outputs for channels A2 and B2. This parameter can only be changed when all modulators and associated logic are in the pow- 66 DS633F1 CS44600 er-down state by setting the PDN bit in the register “Clock Configuration and Power Control (address 02h)” on page 51 to a 1b. Attempts to write this register while the PDN is not set will be ignored. 7.29.4 Channel A3 Output Configuration (A3_OUT_CNFG) Default = 0 0 - pwm outputs for channel A3 are configured for half-bridge operation 1 - pwm outputs for channel A3 are configured for full-bridge operation Function: Identifies the output configuration. The value selected for this bit is applicable to the outputs for only channel A3. This parameter can only be changed when all modulators and associated logic are in the power down state by setting the PDN bit in the register “Clock Configuration and Power Control (address 02h)” on page 51 to a ‘1’b. Attempts to write this register while the PDN is not set will be ignored. 7.29.5 Channel B3 Output Configuration (B3_OUT_CNFG) Default = 0 0 - pwm outputs for channel B3 are configured for half-bridge operation 1 - pwm outputs for channel B3 are configured for full-bridge operation Function: Identifies the output configuration. The value selected for this bit is applicable to the outputs for only channel B3. This parameter can only be changed when all modulators and associated logic are in the powerdown state by setting the PDN bit in the register “Clock Configuration and Power Control (address 02h)” on page 51 to a 1b. Attempts to write this register while the PDN is not set will be ignored. 7.30 PWM Minimum Pulse Width Register (address 32h) 5 4 3 RESERVED MIN_PULSE4 MIN_PULSE3 2 MIN_PULSE2 1 MIN_PULSE1 0 MIN_PULSE0 7 6 DISABLE_PWMOUTXX- RESERVED 7.30.1 Disable PWMOUTXX - Signal (DISABLE_PWMOUTXX-) Default = 0 0 - PWM minus (“-”) differential signal is operational when PWM channel is configured for half-bridge. 1 - PWM minus (“-”) differential signal is disabled when PWM channel is configured for half-bridge. Function: Determines if the PWM minus (“-”) differential signal is disabled when the particular PWM channel is configured for half-bridge operation. This bit is ignored for channels configured for full-bridge operation. The value selected for this bit is applicable to the outputs for all channels configured for half-bridge operation. This parameter can only be changed when all modulators and associated logic are in the power-down state by setting the PDN bit in the register “Clock Configuration and Power Control (address 02h)” on page 51 to a 1b. Attempts to write this register while the PDN is not set will be ignored. 7.30.2 Minimum PWM Output Pulse Settings (MIN_PULSE[4:0]) Default = 00000 Function: The PWM Minimum Pulse registers allow settings for the minimum allowable pulse width on each of the PWMOUT differential signal pairs, PWMOUTxx+ and PWMOUTxx-. The value selected in this register is applicable to all PWM channels. The effective minimum pulse is calculated by multiplying the register value by the period of the PWM_MCLK. This parameter can only be changed when all modulators and associated logic are in the power-down state by setting the PDN bit in the register “Clock Configuration and DS633F1 67 CS44600 Power Control (address 02h)” on page 51 to a 1b. Attempts to write this register while the PDN is not set will be ignored. Binary Code MIN_PULSE[4:0] 00000 00110 10100 11111 Minimum Pulse Setting (multiply by PWM_MCLK period) 0 - no minimum 6 20 31 Table 14. PWM Minimum Pulse Width Settings 7.31 PWMOUT Delay Register (address 33h) 6 DIFF_DLY1 5 DIFF_DLY0 4 CHNL_DLY4 3 CHNL_DLY3 2 CHNL_DLY2 1 CHNL_DLY1 0 CHNL_DLY0 7 DIFF_DLY2 7.31.1 Differential Signal Delay (DIFF_DLY[2:0]) Default = 000 Function: The Differential Signal Delay bits allow delay adjustment between each channel’s differential signals, PWMOUTxx+ and PWMOUTxx-. This set of bits control the delay between PWMOUTxx+ and PWMOUTxx- across all active channels. The value of this register determines the amount of delay inserted in the output path. The effective delay is calculated by multiplying the register value by the period of the PWM_MCLK. This parameter can only be changed when all modulators and associated logic are in the power-down state by setting the PDN bit in the register “Clock Configuration and Power Control (address 02h)” on page 51 to a 1b. Attempts to write this register while the PDN is not set will be ignored. Binary Code 000 001 100 111 Delay Setting (multiply by PWM_MCLK period) 0 - no delay 1 4 7 Table 15. Differential Signal Delay Settings 7.31.2 Channel Delay Settings (CHNL_DLY[4:0]) Default = 00000 Function: The Channel Delay bits allow delay adjustment of each of the PWMOUT differential signal pairs, PWMOUTAx+/PWMOUTAx- from the associated PWMOUTBx+/PWMOUTBx-. The value of this register determines the amount of delay inserted in the output path. The effective delay is calculated by multiplying the register value by the period of the PWM_MCLK. This parameter can only be changed when all modulators and associated logic are in the power-down state by setting the PDN bit in the register “Clock Configuration and Power Control (address 02h)” on page 51 to a 1b. Attempts to write this register while the PDN is not set will be ignored. Binary Code 00000 00110 11000 11111 Delay Setting(multiply by PWM_MCLK period) 0 - no delay 6 24 31 Table 16. Channel Delay Settings 68 DS633F1 CS44600 PWMOUTA1+ PWMOUTA1PWMOUTB1+ PWMOUTB1PWMOUTA2+ PWMOUTA2PWMOUTB2+ PWMOUTB2PWMOUTA3+ PWMOUTA3PWMOUTB3+ PWMOUTB3Figure 31. PWM Output Delay tdifdly tchdly tdifdly tdifdly tchdly tdifdly tdifdly tchdly tdifdly 7.32 PSR and Power Supply Configuration (address 34h) 6 PSR_RESET 5 FEEDBACK_EN 4 RESERVED 3 RESERVED 2 PS_SYNC_DIV2 1 0 PS_SYNC_DIV1 PS_SYNC_DIV0 7 PSR_EN 7.32.1 Power Supply Rejection Enable (PSR_EN) Default = 0 0 - disable 1 - enable Function: Enables the on-card and internal power supply rejection circuitry. This bit will cause the PSR_EN output signal to change logic level. A ‘0’b in this bit will cause the PSR_EN to drive a logic low. A ‘1’b will drive a logic high. DS633F1 69 CS44600 7.32.2 Power Supply Rejection Reset (PSR_RESET) Default = 0 0 - force reset condition 1 - remove reset condition Function: This bit is used to assert a reset condition to the on-card PSR components. When set to a ‘0’b, the PSR_RESET signal will be asserted low. The reset condition will continue as long as this bit is set to a ‘0’b. This bit must be set to a ‘1’b for proper PSR operation. 7.32.3 Power Supply Rejection Feedback Enable (FEEDBACK_EN) Default = 0 0 - disable 1 - enable Function: Enables the internal power supply rejection feedback logic. 7.32.4 Power Supply Sync Clock Divider Settings (PS_SYNC_DIV[2:0]) Default = 000 Function: These three bits determine the divider for the XTAL clock signal for generating the PS_SYNC clock signal. PS_SYNC_DIV[2:0] 000 001 010 011 100 101 110 PS_SYNC Clock Divider Output Disabled Divide by 32 Divide by 64 Divide by 128 Divide by 256 Divide by 512 Divide by 1024 Table 17. Power Supply Sync Clock Divider Settings 7.33 Decimator Shift/Scale (addresses 35h, 36h, 37h) 7 6 5 4 3 2 1 0 RESERVED DEC_SHIFT2 DEC_SHIFT1 DEC_SHIFT0 RESERVED DEC_SCALE18 DEC_SCALE17 DEC_SCALE16 7 6 5 4 3 2 1 0 DEC_SCALE15 DEC_SCALE14 DEC_SCALE13 DEC_SCALE12 DEC_SCALE11 DEC_SCALE10 DEC_SCALE09 DEC_SCALE08 7 6 5 4 3 2 1 0 DEC_SCALE07 DEC_SCALE06 DEC_SCALE05 DEC_SCALE04 DEC_SCALE03 DEC_SCALE02 DEC_SCALE01 DEC_SCALE00 7.33.1 Decimator Shift (DEC_SHIFT[2:0]) Default = 010 Function: These bits are used to scale the power supply reading (Decimator Outd (addresses 3Bh, 3Ch, 3Dh)) during the PSR feedback calibration sequence. The combination of shift and scale factors (DEC_SCALE[18:0]*2^(DEC_SHIFT[2:0])) can be viewed as a floating point coefficient. The floating point coefficient will be determined during the PSR feedback calibration sequence. See Decimator Scale (DEC_SCALE[18:0]) register description and “Recommended PSR Calibration Sequence” on page 44. 70 DS633F1 CS44600 7.33.2 Decimator Scale (DEC_SCALE[18:0]) Default = 25868h Function: These bits are used to scale the power supply reading (Decimator Outd (addresses 3Bh, 3Ch, 3Dh)) during the PSR feedback calibration sequence. DEC_SCALE[18:0] has 19-bit precision, formatted as signed 1.18 with decimal values from -1 to 1-2^(-18). The combination of shift and scale factors (DEC_SCALE[18:0]*2^(DEC_SHIFT[2:0])) can be viewed as a floating point coefficient. The floating point coefficient will be determined during the PSR feedback calibration sequence. See Decimator Shift (DEC_SHIFT[2:0]) register description and “Recommended PSR Calibration Sequence” on page 44. DEC_SCALE[18:0] 20000h=0.5 28851h=0.6331 DEC_SHIFT[2:0] 001b=1 010b=2 Calculated Coefficient (CPSR) 0.5*2^(1)=1 0.6331*2^(2)=2.5325 Table 18. Decimator Shift/Scale Coefficient Calculation Examples 7.34 7 Decimator Outd (addresses 3Bh, 3Ch, 3Dh) 6 DEC_OUTD22 6 DEC_OUTD14 6 DEC_OUTD06 5 DEC_OUTD21 5 DEC_OUTD13 5 DEC_OUTD05 4 DEC_OUTD20 4 DEC_OUTD12 4 DEC_OUTD04 3 DEC_OUTD19 3 DEC_OUTD11 3 DEC_OUTD03 2 DEC_OUTD18 2 DEC_OUTD10 2 DEC_OUTD02 1 DEC_OUTD17 1 DEC_OUTD09 1 DEC_OUTD01 0 DEC_OUTD16 0 DEC_OUTD08 0 DEC_OUTD00 DEC_OUTD23 7 DEC_OUTD15 7 DEC_OUTD07 7.34.1 Decimator Outd (DEC_OUTD[23:0]) Default = 000000h (Read Only) Function: These bits reflect the real-time power supply value as measured by the external PSR feedback circuit. DEC_OUTD[23:0] has 24-bit precision, formatted as signed 2.22 with decimal values from -4 to 4-2^(-22). Calibration needs to be done to correlate the value of DEC_OUTD[23:0] with the real power supply value. A quiet DC power supply without any ripple is treated as 1.0 with DEC_OUTD[23:0] calibrated at 400000h. See “Recommended PSR Calibration Sequence” on page 44. DS633F1 71 CS44600 8. PARAMETER DEFINITIONS Dynamic Range (DR) The ratio of the rms value of the signal to the rms sum of all other spectral components over the specified bandwidth, typically 20 Hz to 20 kHz. Dynamic Range is a signal-to-noise ratio measurement over the specified band width made with a -60 dBFS signal. 60 dB is then added to the resulting measurement to refer the measurement to full-scale, with units in dB FS A. This technique ensures that the distortion components are below the noise level and do not effect the measurement. This measurement technique has been accepted by the Audio Engineering Society, AES17-1991, and the Electronic Industries Association of Japan, EIAJ CP-307. Frequency Response (FR) FR is the deviation in signal level verses frequency. The 0 dB reference point is 1 kHz. The amplitude corner, Ac, lists the maximum deviation in amplitude above and below the 1 kHz reference point. The listed minimum and maximum frequencies are guaranteed to be within the Ac from minimum frequency to maximum frequency inclusive. Interchannel Isolation A measure of crosstalk between the left and right channels. Measured for each channel at the converter's output with no signal to the input under test and a full-scale signal applied to the other channel. Units in decibels. Interchannel Gain Mismatch The gain difference between left and right channels. Units in decibels. Gain Error The deviation from the nominal full-scale analog output for a full-scale digital input. Gain Drift The change in gain value with temperature. Units in ppm/°C. Offset Error The deviation of the mid-scale transition (111...111 to 000...000) from the ideal. Units in mV. dB FS A dB FS is defined as dB relative to full-scale. The “A” indicates an A weighting filter was used. Differential Nonlinearity The worst case deviation from the ideal code width. Units in LSB. FFT Fast Fourier Transform. Fs Sampling Frequency. Resolution The number of bits in the output words to the DACs, and in the input words to the ADCs. 72 DS633F1 CS44600 Signal to Noise Ratio (SNR) SNR, similar to DR, is the ratio of an arbitrary sinusoidal input signal to the RMS sum of the noise floor, in the presence of a signal. It is measured over a 20 Hz to 20 kHz bandwidth with units in dB. SRC Sample Rate Converter. Converts data derived at one sample rate to a differing sample rate. The CS44600 operates at a fixed sample frequency. The internal sample rate converter is used to convert digital audio streams playing back at other frequencies to the PWM output rate. Total Harmonic Distortion + Noise (THD+N) The ratio of the rms value of the signal to the rms sum of all other spectral components over the specified band width (typically 10 Hz to 20 kHz), including distortion components. Expressed in decibels. Measured at -1 and -20 dBFS as suggested in AES17-1991 Annex A. 9. REFERENCES 1. Cirrus Logic, “Audio Quality Measurement Specification,” Version 1.0, 1997. http://www.cirrus.com/products/papers/meas/meas.html 2. Cirrus Logic, “AN18: Layout and Design Rules for Data Converters and Other Mixed Signal Devices,” Version 6.0, February 1998. 3. Cirrus Logic, “AN22: Overview of Digital Audio Interface Data Structures, Version 2.0”, February 1998.; A useful tutorial on digital audio specifications. 4. Philips Semiconductor, “The I²C-Bus Specification: Version 2,” Dec. 1998. http://www.semiconductors.philips.com DS633F1 73 CS44600 10.PACKAGE DIMENSIONS 64L LQFP PACKAGE DRAWING E E1 D D1 1 e ∝ B Note: See Legend Below A A1 L Figure 32. 64-Pin LQFP Package Drawing DIM A A1 B D D1 E E1 e* L MIN --0.002 0.007 0.461 0.390 0.461 0.390 0.016 0.018 0.000° INCHES NOM 0.55 0.004 0.008 0.472 BSC 0.393 BSC 0.472 BSC 0.393 BSC 0.020 BSC 0.024 4° MAX 0.063 0.006 0.011 0.484 0.398 0.484 0.398 0.024 0.030 7.000° MIN --0.05 0.17 11.70 9.90 11.70 9.90 0.40 0.45 0.00° MILLIMETERS NOM 1.40 0.10 0.20 12.0 BSC 10.0 BSC 12.0 BSC 10.0 BSC 0.50 BSC 0.60 4° MAX 1.60 0.15 0.27 12.30 10.10 12.30 10.10 0.60 0.75 7.00° ∝ * Nominal pin pitch is 0.50 mmControlling dimension is mm. JEDEC Designation: MS022 74 DS633F1 CS44600 11.THERMAL CHARACTERISTICS Parameter Junction to Ambient Thermal Impedance 2 Layer Board 4 Layer Board Symbol θJA Min Typ 48 38 Max Units °C/Watt 12.ORDERING INFORMATION Product CS44600 CS44600 CS44600 CS44600 CDB44800 CRD44800 CRD44800-ST-FB CRD44600-PH-FB Description 6-Channel Digital Amplifier Controller 6-Channel Digital Amplifier Controller 6-Channel Digital Amplifier Controller 6-Channel Digital Amplifier Controller CS44600/800 Evaluation Board 8x50 W Half-Bridge Reference Design Board 8x60 W Full-Bridge Reference Design Board 2x100 W Full-Bridge Reference Design Board Package Pb-Free Temp Range Container LQFP LQFP LQFP LQFP YES YES YES YES -10° to +70°C -10° to +70°C -40° to +85°C -40° to +85°C Rail Tape and Reel Rail Tape and Reel Order# CS44600-CQZ CS44600-CQZR CS44600-DQZ CS44600-DQZR CDB44800 CRD44800 CRD44800-ST-FB CRD44600-PH-FB 13.REVISION HISTORY Release Date Changes -Updated “Features” on page 1 -Correcte “Power Supply Current” on page 9 -Corrected “High-Level Input Voltage” on page 9 -Corrected “Low-Level Input Voltage” on page 9 -Corrected “High-Level Output Voltage at Io = -2 mA” on page 9 -Corrected “Low-Level Output Voltage at Io = 2 mA” on page 9 -Corrected “Digital Filter Response (Note 12)” on page 11 -Updated “Typical Full-Bridge Connection Diagram” on page 22 -Updated “Typical Half-Bridge Connection Diagram” on page 23 -Corrected Figure 13 on page 23 -Updated Section 7.5.2 "AM Frequency Hopping (AM_FREQ_HOP)" on page 51 -Updated “Ordering Information” on page 75 -Final Datasheet Release PP1 May 2005 F1 March 2006 DS633F1 75 CS44600 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 Cirrus Logic, Inc. and its subsidiaries ("Cirrus") believe that the information contained in this document is accurate and reliable. However, the information is subject to change without notice and is provided "AS IS" without warranty of any kind (express or implied). Customers are advised to obtain the latest version of relevant information to verify, before placing orders, that information being relied on is current and complete. All products are sold subject to the terms and conditions of sale supplied at the time of order acknowledgment, including those pertaining to warranty, indemnification, and limitation of liability. No responsibility is assumed by Cirrus for the use of this information, including use of this information as the basis for manufacture or sale of any items, or for infringement of patents or other rights of third parties. This document is the property of Cirrus and by furnishing this information, Cirrus grants no license, express or implied under any patents, mask work rights, copyrights, trademarks, trade secrets or other intellectual property rights. Cirrus owns the copyrights associated with the information contained herein and gives consent for copies to be made of the information only for use within your organization with respect to Cirrus integrated circuits or other products of Cirrus. This consent does not extend to other copying such as copying for general distribution, advertising or promotional purposes, or for creating any work for resale. CERTAIN APPLICATIONS USING SEMICONDUCTOR PRODUCTS MAY INVOLVE POTENTIAL RISKS OF DEATH, PERSONAL INJURY, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE (“CRITICAL APPLICATIONS”). CIRRUS PRODUCTS ARE NOT DESIGNED, AUTHORIZED OR WARRANTED FOR USE IN AIRCRAFT SYSTEMS, MILITARY APPLICATIONS, PRODUCTS SURGICALLY IMPLANTED INTO THE BODY, AUTOMOTIVE SAFETY OR SECURITY DEVICES, LIFE SUPPORT PRODUCTS OR OTHER CRITICAL APPLICATIONS. INCLUSION OF CIRRUS PRODUCTS IN SUCH APPLICATIONS IS UNDERSTOOD TO BE FULLY AT THE CUSTOMER’S RISK AND CIRRUS DISCLAIMS AND MAKES NO WARRANTY, EXPRESS, STATUTORY OR IMPLIED, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR PARTICULAR PURPOSE, WITH REGARD TO ANY CIRRUS PRODUCT THAT IS USED IN SUCH A MANNER. IF THE CUSTOMER OR CUSTOMER’S CUSTOMER USES OR PERMITS THE USE OF CIRRUS PRODUCTS IN CRITICAL APPLICATIONS, CUSTOMER AGREES, BY SUCH USE, TO FULLY INDEMNIFY CIRRUS, ITS OFFICERS, DIRECTORS, EMPLOYEES, DISTRIBUTORS AND OTHER AGENTS FROM ANY AND ALL LIABILITY, INCLUDING ATTORNEYS’ FEES AND COSTS, THAT MAY RESULT FROM OR ARISE IN CONNECTION WITH THESE USES. Cirrus Logic, Cirrus, the Cirrus Logic logo designs, and Popguard are trademarks of Cirrus Logic, Inc. All other brand and product names in this document may be trademarks or service marks of their respective owners. SPI is a trademark of Motorola, Inc. I²C is a registered trademark of Philips Semiconductor. 76 DS633F1
CS44600-CQZ 价格&库存

很抱歉,暂时无法提供与“CS44600-CQZ”相匹配的价格&库存,您可以联系我们找货

免费人工找货