ASAHI KASEI [AK4122] AK4122 24-Bit 96kHz SRC with DIR GENERAL DESCRIPTION The AK4122 is a digital sample rate converter (SRC) with the digital audio receiver (DIR). The input sample rate ranges from 8kHz to 96kHz. The output sample rate is 32kHz, 44.1kHz, 48kHz or 96kHz. By using the AK4122, the system can take very simple configuration because the AK4122 has an internal PLL and does not need any master clock at slave mode. Then the AK4122 is suitable for the application interfacing to different sample rates like Car Audio, DVD recorder, etc. FEATURES 1. SRC * Asynchronous Sample Rate Converter * Input Sample Rate Range (fsi) : 8kHz 96kHz * Output Sample Rate (fso) : 32kHz, 44.1kHz, 48kHz, 96kHz * Input to Output Sample Rate Ratio : 0.33 to 6 * THD+N : -113dB * I/F format : MSB justified, LSB justified (16/24bit) and I2S compatible * Clock for Master mode : 256/384/512/768fs * SRC Bypass mode * Soft Mute Function 2. DIR * 4-Channel Inputs Selector & 1-Channel Through Output * AES3, IEC60958, S/PDIF, EIAJ CP1201 Compatible * Low Jitter Analog PLL * PLL Lock Range : 32kHz 96kHz * Auto detection - Non-PCM Bit Stream - DTS-CD Bit Stream - Validity Flag - Sampling Frequency (32kHz, 44.1kHz, 48kHz, 88.2kHz, 96kHz) - Unlock & Parity Error - DAT Start ID * 40-bit Channel Status Buffer * Burst Preamble bit Pc, Pd Buffer for Non-PCM bit streams * Q-subcode Buffer for CD bit streams 3. 4-wire Serial P Interface 4. Power Supply * AVDD: 3.0 3.6V (typ. 3.3V) * DVDD: 3.0 3.6V (typ. 3.3V) 5. Ta = -10 70C 6. Package : 48pin LQFP MS0267-E-03 2004/08 -1- ASAHI KASEI [AK4122] Block Diagram INT0 INT1 INT2 R FILT RX1 RX1 RX2 RX3 RX4 RX2 OPS1-0 TX RX3 TX RX4 PDN IPS1-0 DIR SMUTE PORT3 PORT1 BICK1 LRCK1 SDTI BICK1 BICK2 LRCK2 SDTIO BICK2 LRCK1 SDTI Serial Audio I/F ISEL1-0 LRCK2 SRC BYPS Serial Audio I/F LRCK BICK SDTO LRCK BICK SDTO OMCLK PLL PORT2 SDTIO OSEL De-em Filter Serial Audio I/F M/S2 M/S3 Control Register MCLK2 AVDD AVSS DVDD DVSS CDTO CDTI CCLK CSN Block diagram MS0267-E-03 2004/08 -2- ASAHI KASEI [AK4122] Ordering Guide AK4122VQ AKD4122 -10 +70C 48pin LQFP (0.5mm pitch) Evaluation Board for AK4122 INT0 INT1 TX SDTO BICK LRCK OMCLK DVSS DVDD BVSS CSN CCLK Pin Layout 48 47 46 45 44 43 42 41 40 39 38 37 CDTI 1 36 SDTIO CDTO 2 35 BICK2 TST1 3 34 LRCK2 INT2 4 33 MCLK2 TST2 5 8 29 BICK1 SMUTE 9 28 LRCK1 TST4 10 27 PDN TST5 11 26 AVSS FILT 12 25 13 14 15 16 17 18 19 20 21 22 23 24 R TST11 AVSS MS0267-E-03 TST10 M/S3 RX4 SDTI TST9 30 RX3 7 TST8 M/S2 RX2 DVSS TST7 31 Top View RX1 6 TST3 TST6 DVDD AVDD 32 AK4122VQ 2004/08 -3- ASAHI KASEI [AK4122] PIN/FUNCTION No. Pin Name I/O 1 2 3 4 5 CDTI CDTO TST1 INT2 TST2 I O O O O 6 TST3 I 7 M/S2 I 8 M/S3 I 9 SMUTE I 10 TST4 I 11 TST5 I 12 FILT O 13 14 AVSS AVDD - 15 TST6 I 16 RX1 I 17 TST7 I 18 RX2 I 19 TST8 I 20 RX3 I 21 TST9 I 22 RX4 I 23 TST10 I 24 TST11 O Function Control Data Input Pin Control Data Output Pin Test 1 Pin Interrupt 2 Pin Test 2 Pin Test 3 Pin This pin should be connected to DVSS. Master / Slave Mode Pin for PORT2 "H" : Master mode, "L" : Slave Mode Master / Slave Mode Pin for PORT3 "H" : Master mode, "L" : Slave Mode Soft Mute Pin "H" : Soft Mute, "L" : Normal Operation Test 4 Pin This pin should be connected to AVSS. Test 5 Pin This pin should be connected to AVSS. PLL Loop Filter Pin 4705% resistor and 2.2F50% ceramic capacitor in parallel with a 2.2nF50% ceramic capacitor should be connected to AVSS externally. Analog Ground Pin Analog Power Supply Pin, 3.0 3.6V Test 6 Pin This pin should be connected to AVSS. Receiver Input 1 Pin with Amp for 0.2Vpp (Internal Biased Pin) Test 7 Pin This pin should be connected to AVSS. Receiver Input 2 Pin with Amp for 0.2Vpp (Internal Biased Pin) Test 8 Pin This pin should be connected to AVSS. Receiver Input 3 Pin with Amp for 0.2Vpp (Internal Biased Pin) Test 9 Pin This pin should be connected to AVSS. Receiver Input 4 Pin with Amp for 0.2Vpp (Internal Biased Pin) Test 10 Pin This pin should be connected to AVSS. Test 11 Pin Note: All input pins except internal biased pins should not be left floating. MS0267-E-03 2004/08 -4- ASAHI KASEI [AK4122] 25 R - 26 AVSS - 27 PDN I 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 LRCK1 BICK1 SDTI DVSS DVDD MCLK2 LRCK2 BICK2 SDTIO INT0 INT1 TX SDTO BICK LRCK OMCLK DVSS DVDD 46 BVSS - 47 48 CSN CCLK I I I I I I I/O I/O I/O O O O O I/O I/O I - External Resistor Pin 12k5% resistor should be connected to AVSS externally. Analog Ground Pin Power-Down Mode Pin "H": Power up, "L": Power down reset and initializes the control register. Input Channel Clock Pin Audio Serial Data Clock Pin Audio Serial Data Input Pin Digital Ground Pin Digital Power Supply Pin, 3.0 3.6V Master Clock Input Pin Input / Output Channel Clock Pin Audio Serial Data Clock Pin Audio Serial Data Input / Output Pin Interrupt 0 Pin Interrupt 1 Pin Transmitter Output Pin Audio Serial Data Output Pin Audio Serial Data Clock Pin Output Channel Clock Pin Master Clock Input Pin Digital Ground Pin Digital Power Supply Pin, 3.0 3.6V Substrate Ground Pin This pin should be connected to AVSS. Chip Select Pin Control Data Clock Pin Note: All input pins except internal biased pins should not be left floating. MS0267-E-03 2004/08 -5- ASAHI KASEI [AK4122] Handling of Unused pins The unused digital I/O pins should be processed appropriately as below. Classification PORT1 PORT2 Pin Name BICK1, LRCK1, SDTI MCLK2 BICK2, LRCK2 SDTIO M/S2 OMCLK PORT3 DIR Control PORT Other TEST BICK, LRCK SDTO M/S3 RX1, RX2, RX3, RX4 INT0, INT1, INT2, TX CSN, CCLK, CDTI CDTO SMUTE TST1, TST2, TST11 TST3 TST4, TST5, TST6, TST7, TST8, TST9, TST10 Setting These pins should be connected to DVSS. This pin should be connected to DVSS. These pins should be connected to DVSS in slave mode or open in master mode. This pin should be connected to DVSS. This pin should be connected to DVDD or DVSS. This pin should be connected to DVSS. These pins should be connected to DVSS in slave mode or open in master mode. This pin should be open. This pin should be connected to DVDD or DVSS. These pins should be open. These pins should be open. These pins should be connected to DVSS. This pin should be open. This pin should be connected to DVSS. These pins should be open. This pin should be connected to DVSS. These pins should be connected to AVSS. MS0267-E-03 2004/08 -6- ASAHI KASEI [AK4122] ABSOLUTE MAXIMUM RATINGS (AVSS, BVSS, DVSS=0V; Note 1) Parameter Symbol min max Units Power Supplies: AVDD DVDD GND IIN VIND1 VIND2 Ta Tstg -0.3 -0.3 -0.3 -0.3 -10 -65 4.6 4.6 0.3 10 DVDD+0.3 AVDD+0.3 70 150 V V V mA V V C C Analog Digital |BVSS - DVSS| (Note 2) Input Current, Any Pin Except Supplies Digital Input Voltage 1 (Except RX1-4 pins) Digital Input Voltage 2 (RX1-4 pins) Ambient Temperature (Power applied) Storage Temperature Note 1. All voltages with respect to ground. Note 2. AVSS, BVSS and DVSS must be connected to the same ground. WARNING: Operation at or beyond these limits may result in permanent damage to the device. Normal operation is not guaranteed at these extremes. RECOMMENDED OPERATING CONDITIONS (AVSS, BVSS, DVSS=0V; Note 1) Parameter Symbol min typ Power Supplies Analog AVDD 3.0 3.3 (Note 3) Digital DVDD 3.0 3.3 max 3.6 AVDD Units V V Note 1. All voltages with respect to ground. Note 3. The power up sequence between AVDD and DVDD is not critical. WARNING: AKM assumes no responsibility for the usage beyond the conditions in this datasheet. MS0267-E-03 2004/08 -7- ASAHI KASEI [AK4122] SRC CHARACTERISTICS (Ta=25C; AVDD=DVDD=3.3V; AVSS=BVSS=DVSS=0V; data = 24bit; measurement bandwidth = 20Hz ~ FSO/2; unless otherwise specified.) Parameter Symbol min typ max Units SRC Characteristics: Resolution (Note 4) 24 Bits Input Sample Rate FSI 8 96 kHz Output Sample Rate FSO 32 96 kHz THD+N (Input = 1kHz, 0dBFS, Note 5) FSO/FSI = 44.1kHz/48kHz -113 dB FSO/FSI = 48kHz/44.1kHz -113 dB FSO/FSI = 32kHz/48kHz -114 dB FSO/FSI = 96kHz/32kHz -111 dB Worst Case (FSO/FSI = 48kHz/8kHz) -103 dB Dynamic Range (Input = 1kHz, -60dBFS, Note 5) FSO/FSI = 44.1kHz/48kHz 114 dB FSO/FSI = 48kHz/44.1kHz 115 dB FSO/FSI = 32kHz/48kHz 115 dB FSO/FSI = 96kHz/32kHz 116 dB Worst Case (FSO/FSI = 32kHz/44.1kHz) 112 dB Dynamic Range (Input = 1kHz, -60dBFS, A-weighted, Note 5) FSO/FSI = 44.1kHz/48kHz 117 dB Ratio between Input and Output Sample Rate (Note 6) FSO/FSI 0.33 6 Note 4. Input data for SRC corresponds to 24bit data. When LSB 4bit data is input, the AK4122 calculates as "0" data because SRC is 20bit calculation. Therefore, SRC outputs "0" data. Note 5. Measured by ROHDE & SCHWARZ UPD04, Rejection Filter = wide, 8192point FFT. Note 6. The "0.33" is the ratio of FSO/FSI when FSI is 96kHz and FSO is 32kHz. The "6" is the ratio of FSO/FSI when FSI is 8kHz and FSO is 48kHz. S/PDIF RECEIVER CHARACTERISTICS (Ta=25C; AVDD, DVDD=3.0 3.6V) Parameter Symbol min typ Input Resistance Zin 10 Input Voltage VTH 200 Input Sample Frequency fs 32 - MS0267-E-03 max 96 Units k mVpp kHz 2004/08 -8- ASAHI KASEI [AK4122] FILTER CHARACTERISTICS (Ta=25C; AVDD, DVDD=3.0 3.6V; DEM=OFF) Parameter Symbol min Digital Filter Passband -0.001dB 0.985 FSO/FSI 6.000 PB 0 0.905 FSO/FSI < 0.985 PB 0 0.714 FSO/FSI < 0.905 PB 0 0.656 FSO/FSI < 0.714 PB 0 0.536 FSO/FSI < 0.656 PB 0 0.492 FSO/FSI < 0.536 PB 0 0.452 FSO/FSI < 0.492 PB 0 0.333 FSO/FSI < 0.452 PB 0 Stopband 0.985 FSO/FSI 6.000 SB 0.5417FSI 0.905 FSO/FSI < 0.985 SB 0.5021FSI 0.714 FSO/FSI < 0.905 SB 0.3965FSI 0.656 FSO/FSI < 0.714 SB 0.3643FSI 0.536 FSO/FSI < 0.656 SB 0.2974FSI 0.492 FSO/FSI < 0.536 SB 0.2732FSI 0.452 FSO/FSI < 0.492 SB 0.2510FSI 0.333 FSO/FSI < 0.452 SB 0.1822FSI Passband Ripple PR Stopband Attenuation SA 96 Group Delay (Note 7) GD - typ max Units 0.4583FSI 0.4167FSI 0.3195FSI 0.2852FSI 0.2245FSI 0.2003FSI 0.1781FSI 0.1092FSI kHz kHz kHz kHz kHz kHz kHz kHz kHz kHz kHz kHz kHz kHz kHz kHz dB dB 1/fs 0.01 58.5 - Note 7. This value is the time from the rising edge of LRCK after data is input to rising edge of LRCK after data is output, when LRCK for Output data corresponds with LRCK for Input. DC CHARACTERISTICS (Ta=25C; AVDD, DVDD=3.0 3.6V) Parameter Symbol min High-Level Input Voltage VIH 70%DVDD Low-Level Input Voltage VIL High-Level Output Voltage (Iout=-400A) VOH DVDD-0.4 Low-Level Output Voltage (Iout=400A) VOL Input Leakage Current Iin Parameter Power Supply Current Normal operation (PDN pin = "H") (Note 8) FSI=FSO=48kHz at Slave Mode: AVDD=DVDD=3.3V FSI=FSO=96kHz at Master Mode: AVDD=DVDD=3.3V FSI=FSO=96kHz at Master Mode: AVDD=DVDD=3.6V Power down (PDN pin = "L") (Note 9) AVDD+DVDD min typ - max 30%DVDD 0.4 10 Units V V V V A typ max Units 15 29 - 45 mA mA mA 10 100 A Note 8. Typ and max values are the value of AVDD+DVDD in each power supply voltage. Power supply current of each path@Slave Mode, AVDD=DVDD=3.3V, FSI=FSO=48kHz 1. PORT1 SRC PORT3: AVDD=5mA(typ), DVDD=10mA(typ) 2. PORT2 SRC PORT3: AVDD=5mA(typ), DVDD=10mA(typ) 3. DIR SRC PORT3: AVDD=6mA(typ), DVDD=9mA(typ) Note 9. All digital input pins are held DVSS. MS0267-E-03 2004/08 -9- ASAHI KASEI [AK4122] SWITCHING CHARACTERISTICS (Ta=25C; AVDD, DVDD=3.0 3.6V; CL=20pF) Parameter Symbol min Master Clock Timing Frequency fCLK 8.192 Pulse Width Low tCLKL 0.4/fCLK Pulse Width High tCLKH 0.4/fCLK LRCK for Input data (LRCK1, LRCK2) Frequency fs 8 Duty Cycle Duty 48 LRCK for Output data (LRCK, LRCK2) Frequency (Note 10) fs 32 Duty Cycle Slave Mode Duty 48 Master Mode Duty S/PDIF Clock Recover Frequency Audio Interface Timing Input for PORT1 BICK1 Period BICK1 Pulse Width Low Pulse Width High LRCK1 Edge to BICK1 "" (Note 11) BICK1 "" to LRCK1 Edge (Note 11) SDTI Hold Time from BICK1 "" SDTI Setup Time to BICK1 "" Input for PORT2 (Slave mode) BICK2 Period BICK2 Pulse Width Low Pulse Width High LRCK2 Edge to BICK2 "" (Note 11) BICK2 "" to LRCK2 Edge (Note 11) SDTIO Hold Time from BICK2 "" SDTIO Setup Time to BICK2 "" Output for PORT2 (Slave mode) BICK2 Period BICK2 Pulse Width Low Pulse Width High LRCK2 Edge to BICK2 "" (Note 11) BICK2 "" to LRCK2 Edge (Note 11) LRCK2 to SDTIO (MSB) (Except I2S mode) BICK2 "" to SDTIO typ 50 50 50 max Units 36.864 MHz ns ns 96 52 kHz % 96 52 kHz % % 96 kHz fPLL 32 tBCK tBCKL tBCKH tLRB tBLR tSDH tSDS 1/64fs 65 65 30 30 30 30 ns ns ns ns ns ns ns tBCK tBCKL tBCKH tLRB tBLR tSDH tSDS 1/64fs 65 65 30 30 30 30 ns ns ns ns ns ns ns tBCK tBCKL tBCKH tLRB tBLR tLRS tBSD 1/64fs 65 65 30 30 ns ns ns ns ns ns ns 30 30 Note 10. Min value is 8kHz at BYPASS mode. Note 11. BICK1 rising edge must not occur at the same time as LRCK1 edge. BICK2 rising edge must not occur at the same time as LRCK2 edge. MS0267-E-03 2004/08 - 10 - ASAHI KASEI [AK4122] Parameter Output for PORT3 (Slave mode) BICK Period BICK Pulse Width Low Pulse Width High LRCK Edge to BICK "" (Note 11) BICK "" to LRCK Edge (Note 11) LRCK to SDTO (MSB) (Except I2S mode) BICK "" to SDTO Output for PORT2 (Master mode) BICK2 Frequency BICK2 Duty BICK2 "" to LRCK2 BICK2 "" to SDTIO Output for PORT3 (Master mode) BICK Frequency BICK Duty BICK "" to LRCK BICK "" to SDTO Control Interface Timing CCLK Period CCLK Pulse Width Low Pulse Width High CDTI Setup Time CDTI Hold Time CSN "H" Time CSN "" to CCLK "" CCLK "" to CSN "" CDTO Delay CSN "" to CDTO Hi-Z Reset Timing PDN Pulse Width (Note 12) (Note 13) Symbol min tBCK tBCKL tBCKH tLRB tBLR tLRS tBSD 1/64fs 65 65 30 30 max Units 30 30 ns ns ns ns ns ns ns 20 30 Hz % ns ns -20 -20 20 30 Hz % ns ns tCCK tCCKL tCCKH tCDS tCDH tCSW tCSS tCSH tDCD tCCZ 200 80 80 40 40 150 50 50 1000 tPD 150 fBCK dBCK tMBLR tBSD fBCK dBCK tMBLR tBSD typ 64fs 50 -20 -20 64fs 50 45 70 ns ns ns ns ns ns ns ns ns ns ns Note 11. BICK rising edge must not occur at the same time as LRCK edge. Note 12. In case of using INT2. When INT2 is not used, the max value is not limited. Note 13. The AK4122 can be reset by bringing the PDN pin = "L". MS0267-E-03 2004/08 - 11 - ASAHI KASEI [AK4122] Timing Diagram 1/fCLK VIH MCLK VIL tCLKH tCLKL 1/fs VIH LRCK VIL tBCK VIH BICK VIL tBCKH tBCKL Clock Timing VIH LRCK VIL tBLR tLRB VIH BICK VIL tBSD tLRS SDTO 50%DVDD tSDS tSDH VIH SDTI VIL Audio Interface Timing (Slave mode) Note : BICK shows BICK1 of PORT1, BICK2 of PORT2 and BICK of PORT3. LRCK shows LRCK1 of PORT1, LRCK2 of PORT2 and LRCK of PORT3. SDTI shows SDTI of PORT1 or SDTIO of PORT2 that is used as input port. SDTO shows SDTO of PORT3 or SDTIO of PORT2 that is used as output port. MS0267-E-03 2004/08 - 12 - ASAHI KASEI [AK4122] 50%DVDD LRCK tMBLR dBCK BICK 50%DVDD tBSD SDTO 50%DVDD tSDS tSDH VIH SDTI VIL Audio Interface Timing (Master mode) Note : BICK shows BICK1 of PORT1, BICK2 of PORT2 and BICK of PORT3. LRCK shows LRCK1 of PORT1, LRCK2 of PORT2 and LRCK of PORT3. SDTI shows SDTI of PORT1 or SDTIO of PORT2 that is used as input port. SDTO shows SDTO of PORT3 or SDTIO of PORT2 that is used as output port. VIH CSN VIL tCSS tCCKL tCCKH VIH CCLK VIL tCDS tCDH VIH CDTI C1 C0 R/W VIL CDTO Hi-Z WRITE/READ Command Input Timing MS0267-E-03 2004/08 - 13 - ASAHI KASEI [AK4122] tCSW VIH CSN VIL tCSH VIH CCLK VIL VIH CDTI D2 D1 D0 VIL Hi-Z CDTO WRITE Data Input Timing VIH CSN VIL VIH CCLK VIL VIH CDTI A1 A0 VIL tDCD CDTO Hi-Z D7 D6 50%DVDD READ Data Output Timing 1 MS0267-E-03 2004/08 - 14 - ASAHI KASEI [AK4122] tCSW VIH CSN VIL tCSH VIH CCLK VIL VIH CDTI VIL tCCZ CDTO D2 D1 D0 Hi-Z 50%DVDD READ Data Output Timing 2 tPD PDN VIL Power Down & Reset Timing MS0267-E-03 2004/08 - 15 - ASAHI KASEI [AK4122] OPERATION OVERVIEW Internal Signal Path The input source of the SRC can be switched between the outputs of the DIR, PORT1 or PORT2. The input source of the PORT2 and PORT3 can be switched between the outputs of the SRC or BYPASS. When PORT2 is used as input port, PORT2 cannot use as output port. The signal path should be controlled during PWN bit = "0". The Switch Names (ISEL1-0 bits etc) in Figure 1 correspond to the register bits that control the switch function. Refer to Table 1. DIR PORT3 PORT1 Serial Audio I/F ISEL1-0 PORT2 De-em Filter OSEL SRC BYPS Serial Audio I/F PLL Serial Audio I/F Figure 1. Connection Input Source & Output Source Mode 0 1 2 3 4 5 6 7 8 9 Input PORT ISEL1-0 bit 00 : PORT1 01 : PORT2 10 : DIR 00 : PORT1 01 : PORT2 10 : DIR 00 : PORT1 10 : DIR 00 : PORT1 10 : DIR SRC / Bypass BYPS bit Output PORT OSEL bit 0 : SRC 0 : PORT3 (Note 1) 1 : Bypass 0 : SRC 1 : Bypass 1 : PORT2 (Note 2) Path PORT1 SRC PORT3 PORT2 SRC PORT3 DIR SRC PORT3 PORT1 PORT3 PORT2 PORT3 DIR PORT3 PORT1 SRC PORT2 DIR SRC PORT2 PORT1 PORT2 DIR PORT2 Table 1. Path Select Default is Mode 0. (Path : PORT1 SRC PORT3) After PDN pin = "L" "H", SDTIO pin of PORT2 is the input pin. The DIF1-0 bits of the PORT1 should be set a value except "10" (I2S Compatible) when the DIR is selected as an input port. Refer to Table 6 and 7 for Master/Slave mode setting. MS0267-E-03 2004/08 - 16 - ASAHI KASEI [AK4122] Note 1. In this case, PORT2 is input port. If PORT2 is unused, the digital I/O pins should be processed appropriately by Table 2. M/S2 pin Mode L Slave H Master Unused pin Pin I/O Setting MCLK2 I This pin should be connected to DVSS. BICK2 I This pin should be connected to DVSS. LRCK2 I This pin should be connected to DVSS. SDTIO I This pin should be connected to DVSS. MCLK2 I This pin should be connected to DVSS. BICK2 O This pin should be open. LRCK2 O This pin should be open. SDTIO I This pin should be connected to DVSS. Table 2. Pin Setting for PORT2 Note 2. In this case, PORT3 is output port. If PORT3 is unused, the digital I/O pins should be processed appropriately by Table 3. M/S3 pin Mode L Slave H Master Unused pin Pin I/O Setting OMCLK I This pin should be connected to DVSS. BICK I This pin should be connected to DVSS. LRCK I This pin should be connected to DVSS. SDTO O This pin should be open. OMCLK I This pin should be connected to DVSS. BICK O This pin should be open. LRCK O This pin should be open. SDTO O This pin should be open. Table 3. Pin Setting for PORT3 System Clock PORT1 can be operated in slave mode only. PORT2 and PORT3 work in master mode and slave mode. Internal system clock is created by internal PLL using LRCK1, LRCK2 or LRCK of DIR. The MCLK is not needed when PORT2 and PORT3 are in slave mode and then please set MCLK2 pin and OMCLK pin to DVSS. However, when PORT2 and PORT3 are used in master mode, MCLK2 pin and OMCLK pin should be supplied to MCLK. The M/S2 pin and M/S3 pin select between master and slave mode. Table 4 and 5 show setting of MCLK frequency that PORT2 and PORT3 are master mode. In case of detecting the sampling frequency by MCLK when DIR is used, MCLK (MCLK2 or OMCLK) of selected output port (PORT2 or PORT3) should be input. ICKS1 0 0 1 1 OCKS1 0 0 1 1 MCLK2 32kHz fs 48kHz 48kHz < fs 96kHz 0 256fs 256fs 1 384fs 384fs 0 512fs N/A 1 768fs N/A Table 4. MCLK2 frequency select for Master mode ICKS0 OMCLK 32kHz fs 48kHz 48kHz < fs 96kHz 0 256fs 256fs 1 384fs 384fs 0 512fs N/A 1 768fs N/A Table 5. OMCLK frequency select for Master mode Default OCKS0 MS0267-E-03 Default 2004/08 - 17 - ASAHI KASEI [AK4122] Master Mode and Slave Mode When PORT2 and PORT3 are used as output port, the M/S2 pin and M/S3 pin select either master or slave mode. "H" is master mode, "L" is slave mode. In master mode, MCLK should be input and the AK4122 outputs BICK and LRCK. In slave mode, BICK and LRCK are input externally and MCLK is not needed. If PORT2 is used as input port, M/S2 pin should be set "H" or "L". M/S2 pin L BYPS bit 0 Data I/O Mode BICK, LRCK I/O Slave, SRC Input Input Available 1 Output Not Available 0 I/O Master, SRC Output 1 I/O Master, Bypass Table 6. Master mode/Slave mode for PORT2 L H H M/S3 pin L L H H BYPS bit Data I/O Mode BICK, LRCK 0 Output Slave, SRC Input 1 Output Not Available 0 Output Master, SRC Output 1 Output Master, Bypass Table 7. Master mode/Slave mode for PORT3 Audio Interface Format The audio interface should be controlled during PWN bit = "0". When in BYPASS mode, BICK1, BICK2 and BICK are fixed to 64fs. (1) PORT1 Four kinds of data formats can be chosen with the DIF1-0 bits (Table 8). In all modes, the serial data is in MSB first, 2's compliment format. The SDTI is latched on the rising edge of BICK1. PORT1 corresponds to slave mode only. Mode 0 1 2 3 DIF1 0 0 1 1 DIF0 Input Format LRCK 0 16bit, LSB justified H/L 1 24bit, MSB justified H/L 0 24bit, I2S Compatible L/H 1 24bit, LSB justified H/L Table 8. Audio Interface Format for PORT1 BICK 32fs 48fs 48fs 48fs Default Note: The DIF1-0 bits of the PORT1 should be set a value except "10" (I2S Compatible) when the DIR is selected as an input port. LRCK 0 1 2 3 9 10 11 12 13 14 15 0 1 2 3 9 10 11 12 13 14 15 0 1 BICK(32fs) SDTI(i) 15 14 13 0 1 2 3 7 6 5 4 3 2 1 0 15 14 13 17 18 19 20 31 0 1 2 3 7 6 5 4 3 2 1 0 15 17 18 19 20 31 0 1 BICK(64fs) SDTI(i) Don't Care 15 14 13 12 1 0 Don't Care 15 14 13 12 2 1 0 SDTI-15:MSB, 0:LSB Lch Data Rch Data Figure 2. Mode 0 Timing MS0267-E-03 2004/08 - 18 - ASAHI KASEI [AK4122] LRCK 0 1 2 20 21 22 23 24 31 0 1 2 20 21 22 23 24 31 0 1 BICK(64fs) 23 22 SDTI(i) 4 3 2 1 0 Don't Care 23 22 4 3 2 1 0 Don't Care 23 23:MSB, 0:LSB Lch Data Rch Data Figure 3. Mode 1 Timing LRCK 0 1 2 3 21 22 23 24 25 0 1 2 21 22 23 24 25 0 1 BICK(64fs) 23 22 SDTI(i) 4 3 2 1 0 Don't Care 23 22 4 3 2 1 0 Don't Care 23:MSB, 0:LSB Lch Data Rch Data Figure 4. Mode 2 Timing LRCK 0 1 2 8 9 24 31 0 1 2 8 9 24 31 0 1 BICK(64fs) Don't Care SDTI(i) 23 8 1 0 Don't Care 23 8 1 0 23:MSB, 0:LSB Lch Data Rch Data Figure 5. Mode 3 Timing (2) PORT2 Four kinds of data formats can be chosen with the IDIF1-0 bits (Table 9). In all modes, the serial data is in MSB first, 2's compliment format. If PORT2 is selected the output port, the SDTIO is clocked out on the falling edge of BICK2, and if PORT2 is selected the input port, the SDTIO is latched on the rising edge of BICK2. The audio interface supports both master and slave modes. In master mode, BICK2 and LRCK2 are output with the BICK2 frequency fixed to 64fs and the LRCK2 frequency fixed to 1fs. Mode 0 1 2 3 IDIF1 0 0 1 1 IDIF0 0 1 0 1 Output Format Input Format 24bit, MSB justified 16bit, LSB justified 24bit, MSB justified 24bit, MSB justified 24bit, I2S Compatible 24bit, I2S Compatible 24bit, MSB justified 24bit, LSB justified Table 9. Audio Interface Format for PORT2 MS0267-E-03 LRCK H/L H/L L/H H/L BICK 32fs 48fs 48fs 48fs Default 2004/08 - 19 - ASAHI KASEI [AK4122] LRCK 9 10 11 12 13 14 15 0 1 2 3 0 1 2 3 9 10 11 12 13 14 15 0 1 BICK(32fs) SDTIO(o) 23 22 21 15 14 13 12 11 10 9 8 23 22 21 15 14 13 12 11 10 9 8 23 SDTIO(i) 15 14 13 7 6 5 4 3 2 1 0 15 14 13 7 6 5 4 3 2 1 0 15 0 1 2 3 17 18 19 20 31 0 1 2 3 23 22 21 7 6 5 4 3 17 18 19 20 31 0 1 BICK(64fs) SDTIO(o) SDTIO(i) 23 22 21 15 14 13 12 Don't Care 1 0 23 7 6 5 4 3 Don't Care 15 14 13 12 2 1 0 SDTIO-23:MSB, 0:LSB SDTIO-15:MSB, 0:LSB Lch Data Rch Data Figure 6. Mode 0 Timing LRCK 0 1 2 20 21 22 23 24 31 0 1 2 20 21 22 23 24 31 0 1 BICK(64fs) SDTIO(o) 23 22 4 3 2 1 0 23 22 4 3 2 1 0 23 SDTIO(i) 23 22 4 3 2 1 0 Don't Care 23 22 4 3 2 1 0 Don't Care 23 23:MSB, 0:LSB Lch Data Rch Data Figure 7. Mode 1 Timing LRCK 0 1 2 3 21 22 23 24 25 21 22 23 24 25 0 1 2 0 1 BICK(64fs) SDTIO(o) 23 22 4 3 2 1 0 23 22 4 3 2 1 0 SDTIO(i) 23 22 4 3 2 1 0 Don't Care 23 22 4 3 2 1 0 Don't Care 23:MSB, 0:LSB Lch Data Rch Data Figure 8. Mode 2 Timing LRCK 0 1 2 8 9 24 31 0 1 2 8 9 24 31 0 1 BICK(64fs) SDTIO(o) SDTIO(i) 23 22 16 15 Don't Care 0 23 8 23 22 1 0 16 15 Don't Care 23 0 8 23 1 0 23:MSB, 0:LSB Lch Data Rch Data Figure 9. Mode 3 Timing MS0267-E-03 2004/08 - 20 - ASAHI KASEI [AK4122] (3) PORT3 Two kinds of data formats can be chosen with the ODIF bit (Table 10). In both modes, the serial data is in MSB first, 2's compliment format. The SDTO is clocked out on the falling edge of BICK. The audio interface supports both master and slave modes. In master mode, BICK and LRCK are output with the BICK frequency fixed to 64fs and the LRCK frequency fixed to 1fs. Mode 0 1 ODIF Output Format LRCK BICK 0 24bit, MSB justified H/L 48fs 1 24bit, I2S Compatible L/H 48fs Table 10. Audio Interface Format for PORT3 Default LRCK 0 1 2 3 17 18 19 20 23 22 21 7 6 5 4 3 31 0 1 2 3 17 18 19 20 31 0 1 BICK(64fs) SDTO(o) 23 22 21 7 6 5 4 3 23 SDTO-23:MSB, 0:LSB Lch Data Rch Data Figure 10. Mode 0 Timing LRCK 0 1 2 3 21 22 23 24 25 0 1 2 21 22 23 24 25 0 1 BICK(64fs) SDTO(o) 23 22 4 3 2 1 0 23 22 4 3 2 1 0 23:MSB, 0:LSB Lch Data Rch Data Figure 11. Mode 1 Timing MS0267-E-03 2004/08 - 21 - ASAHI KASEI [AK4122] Soft Mute Operation Soft mute operation is performed in the digital domain of the SRC output. Soft mute can be controlled by SMUTE bit or SMUTE pin. The SMUTE bit and SMUTE pin are ORed between pin and register. When SMUTE bit goes "1" or SMUTE pin goes "H", the SRC output data is attenuated by - within 1024 LRCK cycles. When the SMUTE bit returned "0" and SMUTE pin goes "L" the mute is cancelled and the output attenuation gradually changes to 0dB during 1024 LRCK cycles. If the soft mute is cancelled before mute state after starting of the operation, the attenuation is discontinued and returned to 0dB by the same cycles. The soft mute is effective for changing the signal source. SM U T E D AT T Level (1) (3) Attenuation - GD (2) GD SD T IO / SD T O Figure 12. Soft Mute Function (1) The output data is attenuated by - during 1024 LRCK cycles (1024/fs). (2) Digital output delay from the digital input is called the group delay (GD). (3) If the soft mute is cancelled before attenuating to - after starting the operation, the attenuation is discontinued and returned to 0dB by the same number of clock cycles. MS0267-E-03 2004/08 - 22 - ASAHI KASEI [AK4122] De-emphasis Filter Control The AK4122 includes the digital de-emphasis filter (tc=50/15s) by IIR filter corresponding to three sampling frequencies (32kHz, 44.1kHz and 48kHz). (1) When input port is DIR When the input port is DIR and DEAU bit = "1", the de-emphasis filter is enabled automatically by sampling frequency (FS3-0 bit) and pre-emphasis information in the channel status. DEM1-0 bits can control the de-emphasis filter when DEAU bit = "0". When the de-emphasis filter is OFF, the internal de-emphasis filter is bypassed. When PEM bit = "0", the internal de-emphasis filter is always bypassed. PEM 1 1 1 1 0 FS3 0 0 0 x PEM 1 1 1 1 FS2 0 0 0 FS1 0 1 1 FS0 0 0 1 (Others) x x x Table 11. De-emphasis Auto Control (DEAU bit = "1") Mode 44.1kHz 48kHz 32kHz OFF OFF DEM1 DEM0 Mode 0 0 44.1kHz 0 1 OFF Default 1 0 48kHz 1 1 32kHz Table 12. De-emphasis Manual Control (DEAU bit = "0") (2) When input port is PORT1 or PORT2 When PORT1 or PORT2 is selected as input port, DEM1-0 bits can control the de-emphasis filter even if DEAU bit = "0" or DEAU bit = "1". In this case, the de-emphasis filter cannot enable automatically. When the de-emphasis filter is OFF, the internal de-emphasis filter is bypassed. DEM1 DEM0 Mode 0 0 44.1kHz 0 1 OFF Default 1 0 48kHz 1 1 32kHz Table 13. De-emphasis Manual Control System Reset and Power-Down The AK4122 has a full power-down mode for all circuits that is activated by the PDN pin, and a partial power-down mode activated by the PWN bit. The AK4122 should be reset once at power-up by bringing PDN pin = "L". PDN pin: All analog and digital circuits are placed in power-down and reset modes by bringing PDN pin = "L". All the registers are initialized and clocks are stopped. Read/Write operations to the registers are disabled. PWN bit (Address 00H; D0): Unlike the PDN pin operation described above, internal registers and mode settings are not initialized. Read/Write operations to the registers are enabled. MS0267-E-03 2004/08 - 23 - ASAHI KASEI [AK4122] System Reset Bringing the PDN pin = "L" sets the AK4122 power-down mode and initializes the digital filter. When PDN pin = "L", the SDTO output is "L". The AK4122 should be reset once by bringing PDN pin = "L" upon power-up. The SDTO is valid from less than 100ms after the rising of PDN after clocks are supplied, and until then, outputs "L". After the rising of PDN pin, the SDTIO pin is input pin. External clocks (input / output port) (stable) don't care don't care PDN < 100msec Power-down (internal state) PLL locktime & fs detection SDTO normal operation normal data "0" data Power-down "0" data Figure 13. System Reset Sequence of changing clocks The recommended sequence of changing clocks is shown as Figure 14. The internal reset is executed when the input or the output clocks are changed. The SDTO is placed "0" during reset. Within 100ms, the SDTO outputs normal data. When the frequency transition occurs gradually without the phase change, the output data may have large distortion for several seconds. Then, to output normal data within 100ms, a reset by PDN pin = "L" or PWN bit = "0" is recommended when clocks are changed. External clocks state 1 (44.1kHz) (unknown) (input port or output port) PDN pin or PWN bit (internal state) < 100msec normal operation Power down PLL locktime & fs detection SDTIO / SDTO SMUTE (Note2, recommended) Att.Level state 2 (48kHz) Note1 normal data normal operation normal data 1024/fso 1024/fso 0dB -dB Figure 14. Sequence of changing clocks Note 1. The data on SDTO may cause click noise. If SDTI or SDTIO is "0" from GD before PDN pin goes "L", the data on SDTO keeps "0" then no unknown data is output. Note 2. SMUTE can remove the unknown data. MS0267-E-03 2004/08 - 24 - ASAHI KASEI [AK4122] 96kHz Clock Recovery The on-chip, low jitter PLL of DIR has a wide lock range of 32kHz to 96kHz and a lock time of less than 20ms. The AK4122 has a sampling frequency detect function (32kHz, 44.1kHz, 48kHz, 88.2kHz, 96kHz) that uses either clock comparison against the MCLK2 or OMCLK frequency or the channel status information. The PLL loses lock when the received sync interval is incorrect. Biphase Input Four receiver inputs (RX1-4) of DIR are available. Each input includes an amplifier for unbalance loads that can accept 200mVpp or greater signal. The IPS1-0 bits select the receiver channel (Table 14). IPS1 0 0 1 1 IPS0 Input Data 0 RX1 1 RX2 0 RX3 1 RX4 Table 14. Recovery Data Select Default Biphase Output The AK4122 can output the through data from the digital receiver inputs (RX1-4) to the TX pin. The OPS1-0 bits can select the source of the output from the TX pin. TX output can be stopped by TXE bit. AK4122 does not have the TX output buffer (Line Driver), the TX pin cannot drive the 75 coaxial cable directly. OPS1 0 0 1 1 OPS0 Output Data 0 RX1 1 RX2 0 RX3 1 RX4 Table 15. Output Data Select for TX MS0267-E-03 Default 2004/08 - 25 - ASAHI KASEI [AK4122] Biphase signal input circuit 0.1uF RX 75 Coax 75 AK4122 Figure 15. Consumer Input Circuit (Coaxial Input) Note 1: Coax input only : if a coupling level to this input from the next RX input line pattern exceeds 50mV, an incorrect operation may occur. In this case, it is possible to lower the coupling level by adding this decoupling capacitor. Note 2: Ground of the RCA connector and terminator should be connected to AVSS of the AK4122 with low impedance on PC board. 3.3V Optical Fiber 470 O/E RX Optical Receiver AK4122 Figure 16. Consumer Input Circuit (Optical Input, Using 3.3V Optical Receiver) When using coaxial input, the input level of the RX line is small. Care must be taken to reduce, crosstalk among RX input lines by inserting a shield pattern between them. MS0267-E-03 2004/08 - 26 - ASAHI KASEI [AK4122] Sampling Frequency and Pre-emphasis Detection The AK4122 has two methods for detecting the sampling frequency. The sampling frequency is detected by comparing the recovered clock to the MCLK2 or OMCLK frequency, and the detected frequency is reported on FS3-0 bits. XTL1-0 bits, ICKS1-0 bits and OCKS1-0 bits can select reference MCLK2 and OMCLK (Table 16). When XTL1-0 bits = "11", the sampling frequency is detected by the channel status sampling frequency information. The detected frequency is reported on FS3-0 bits. The default values of FS3-0 bits are "0001". In case of detecting the sampling frequency by MCLK when DIR is used, MCLK (MCLK2 or OMCLK) of selected output port (PORT2 or PORT3) should be input. XTL1 XTL0 0 0 0 1 1 0 1 1 MCLK2 or OMCLK MCLK Frequency ICKS1 / OCKS1 ICKS0 / OCKS0 0 0 11.2896MHz 0 1 22.5792MHz 1 0 16.9344MHz 1 1 33.8688MHz 0 0 12.288MHz 0 1 24.576MHz 1 0 18.432MHz 1 1 36.864MHz 0 0 24.576MHz 0 1 N/A 1 0 36.864MHz 1 1 N/A Use channel status Table 16. Reference MCLK Frequency Except XTL1-0 bit = "11" Register Output fs FS3 FS2 FS1 FS0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 1 1 0 1 0 1 0 1 0 0 Clock comparison (Note 1) 44.1kHz Reserved 48kHz 32kHz 88.2kHz 96kHz 3% 3% 3% 3% 3% Table 17. fs Information Default XTL1-0 bit = "11" Consumer Mode Professional Mode (Note 2) Byte3 Byte0 Byte4 Bit3,2,1,0 Bit7,6 Bit6,5,4,3 0000 01 0000 0001 (others) 0000 0010 10 0000 0011 11 0000 (1000) 00 1010 (1010) 00 0010 Note 1. At least 3% range is identified as the value in the Table 17. In case of an intermediate frequency of these two, FS3-0 bits indicate the nearer value. When the frequency is much larger than 96kHz or much smaller than 32kHz, FS3-0 bits may indicate "1100", "1110" or "0001". Note 2. In consumer mode, Byte3 Bit3-0 are copied to FS3-0. The pre-emphasis information is detected and reported on the PEM bit. This information is extracted from channel 1 by default (CS12 bit = "0"). It can be switched to channel 2 by changing the CS12 bit in the control register. PEM bit 0 1 Consumer mode Professional mode Byte0 Byte0 Bit3,4,5 Bit2,3,4 OFF 0X100 100 ON 0X100 100 Table 18. PEM Information Pre-emphasis MS0267-E-03 2004/08 - 27 - ASAHI KASEI [AK4122] Interrupt Handling for DIR There are nine events that cause the INT2-0 pins to go "H". 1. UNLCK: PLL unlock state detection "1" when the PLL loses lock. The AK4122 loses lock when the distance between two preambles is not correct or when those preambles are not correct. 2. PAR: Parity error or biphase coding error detection "1" when parity error or biphase coding error is detected, updated every sub-frame cycle. 3. AUTO: Non-PCM or DTS-CD Bit Stream detection The OR function of NPCM and DTSCD bits is output to the AUTO bit. 4. V: Validity flag detection "1" when validity flag is detected. Updated every sub-frame cycle. 5. AUDN: Non-audio detection "1" when the "AUDN" bit in recovered channel status indicates "1". Updated every block cycle. 6. STC: Sampling frequency or pre-emphasis information change detection "1" when FS3-0 or PEM bit changes. Reading 07H register resets it. 7. QINT: U bit (Q-subcode) sync flag "1" when the Q-subcode differs from old one, and stays "1" until this register is read. Updated every sync code cycle for Q-subcode. Reading 07H register resets it. 8. CINT: Channel status sync flag "1" when received C bits differ from old ones, and stays "1" until this register is read. Updated every block cycle. Reading 07H register resets it. 9. DAT: DAT Start ID detection When the category code shows DAT, "1" when the Start ID of DAT is detected. Reading 08H register resets it. INT1-0 pins output an OR'ed signal based on the above nine interrupt events. When masked, the interrupt event does not affect the operation of the INT1-0 pins (the masks do not affect the registers (UNLCK, PAR, etc.) themselves). Once INT0 pin goes to "H", it maintains "H" for 1024 cycles (this value can be changed by the EFH1-0 bits) after all events not masked by mask bits are cleared. INT1 pin immediately goes to "L" when those events are cleared. INT2 pin output a state change on the above 1 5 and an OR'ed signal based on the above 6 9. It stays "H" until 07H and 08H registers are read. Mask bits are shared with INT0. UNLCK, AUTO, V and AUDN bits indicate the interrupt status events above in real time. Once PAR, STC, QINT or CINT and DAT bit goes to "1", it stays "1" until the register is read. When the AK4122 loses lock, the channel status bits are initialized. In this initial state, INT0 and INT2 outputs the OR'ed signal between UNLCK and PAR bits. INT1 outputs the OR'ed signal to AUTO, V and AUDN. INT2-0 pins are "L" when the DIR is not selected. When DIR is used as input port and the PLL loses lock (unlock state), the output data is muted automatically. When AMUTE bit = "1", SDTIO and SDTO are muted automatically when the AK4122 detects unlock, Non-Audio or Non-PCM/DTS-CD. After the interrupt events are cleared, mute is cancelled automatically. When AMUTE bit = "0", SDTIO and SDTO outputs "L" when the PLL loses lock (unlock state), and outputs data when other errors (PAR, AUTO etc.). MS0267-E-03 2004/08 - 28 - ASAHI KASEI [AK4122] (1) UNLCK, PAR, AUTO, V and AUDN bits Interrupt (UNLCK, PAR, AUTO, V, AUDN) INT0 pin Hold Time (max:4096/fs) INT1 pin Hold Time = 0 INT2 pin Register 07H "0" Hold "1" "0" Read 07H BICK, LRCK (UNLCK) Free Run fs : around 20kHz BICK, LRCK (except UNLCK) SDTIO / SDTO (AMUTE = "1") (UNLCK, AUTO, V, AUDN) Mute SDTIO / SDTO (AMUTE = "0") (UNLCK) "L" Output SDTIO / SDTO (AMUTE = "0") (AUTO, V, AUDN) SDTIO / SDTO (PAR error) Previous Data : Normal Operation Figure 17. INT2-0 Timing (UNLCK, PAR, AUTO, V, AUDN bits) MS0267-E-03 2004/08 - 29 - ASAHI KASEI [AK4122] (2) STC, CINT and QINT bits Interrupt (FS3-0, PEM, C-bit, Q-sub) Interrupt (STC, CINT, QINT) INT0 pin (1) (1) (2) INT1 pin (2) INT2 pin Register 07H "0" Hold "1" "0" Hold "1" "0" Read 07H BICK, LRCK SDTIO / SDTO : Normal Operation Figure 18. INT2-0 Timing (STC, CINT, QINT bits) (1) Hold Time : max. 4096/fs (2) Hold Time = 0 MS0267-E-03 2004/08 - 30 - ASAHI KASEI [AK4122] (3) DAT bit Interrupt (DAT) INT0 pin (1) (1) (2) INT1 pin (2) INT2 pin Register 08H "0" "0" Hold "1" Hold "1" "0" Read 08H BICK, LRCK SDTIO / SDTO : Normal Operation Figure 19. INT2-0 Timing (DAT bit) (1) Hold Time : max. 4096/fs (2) Hold Time = 0 MS0267-E-03 2004/08 - 31 - ASAHI KASEI [AK4122] PD pin ="L" to "H" Initialize Read 07H, 08H INT0/1 pin ="H" No Yes Release Muting Mute SDTIO / SDTO Read 07H, 08H (Each Error Handling) Read 07H, 08H (Resets registers) No INT0/1 pin ="H" Yes Figure 20. Interrupt Handling Sequence Example 1 MS0267-E-03 2004/08 - 32 - ASAHI KASEI [AK4122] PD pin ="L" to "H" Initialize Read 07H No INT1 pin ="H" Yes Read 07H and Detect QSUB= "1" (Read Q-buffer) QCRC = "0" No New data is invalid Yes INT1 pin ="L" No Yes New data is valid Figure 21. Interrupt Handling Sequence Example 2 MS0267-E-03 2004/08 - 33 - ASAHI KASEI [AK4122] Q-subcode buffers The DIR of the AK4122 has a Q-subcode buffer for CD application. The AK4122 takes Q-subcode into registers under the following conditions: 1) 2) 3) 4) The sync word (S0, S1) consists of at least 16 "0"s. The start bit is "1". Those 7-bits Q-W follows to the start bit. The distance between two start bits is 8-16 bits. The QINT bit in the control register goes "1" when the new Q-subcode differs from old one, and goes "0" when QINT bit is read. S0 S1 S2 S3 : S97 S0 S1 S2 S3 : Q2 Q3 Q4 CTRL Q5 Q6 Q7 Q8 ADRS 1 0 0 1 1 : 1 0 0 1 1 : 2 3 4 5 6 7 8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Q2 R2 S2 T2 U2 V2 W2 Q3 R3 S3 T3 U3 V3 W3 : : : : : : : Q97 R97 S97 T97 U97 V97 W97 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Q2 R2 S2 T2 U2 V2 W2 Q3 R3 S3 T3 U3 V3 W3 : : : : : : : (*) number of "0" : min=0; max=8. Q Figure 22. Configuration of U-bit(CD) Q9 * 0... 0... 0... 0... : 0... 0... 0... 0... 0... : Q10 Q11 Q12 Q13 Q14 Q15 Q16 Q17 Q18 Q19 Q20 Q21 Q22 Q23 Q24 Q25 TRACK NUMBER INDEX Q26 Q27 Q28 Q29 Q30 Q31 Q32 Q33 Q34 Q35 Q36 Q37 Q38 Q39 Q40 Q41 Q42 Q43 Q44 Q45 Q46 Q47 Q48 Q49 MINUTE SECOND FRAME Q50 Q51 Q52 Q53 Q54 Q55 Q56 Q57 Q58 Q59 Q60 Q61 Q62 Q63 Q64 Q65 Q66 Q67 Q68 Q69 Q70 Q71 Q72 Q73 ZERO ABSOLUTE MINUTE ABSOLUTE SECOND Q74 Q75 Q76 Q77 Q78 Q79 Q80 Q81 Q82 Q83 Q84 Q85 Q86 Q87 Q88 Q89 Q90 Q91 Q92 Q93 Q94 Q95 Q96 Q97 ABSOLUTE FRAME CRC G(x)=x16+x12+x5+1 Figure 23. Q-subcode Addr Register Name 13H Q-subcode Address / Control 14H Q-subcode Track 15H Q-subcode Index 16H Q-subcode Minute 17H Q-subcode Second 18H Q-subcode Frame 19H Q-subcode Zero 1AH Q-subcode ABS Minute 1BH Q-subcode ABS Second 1CH Q-subcode ABS Frame D7 D6 D5 D4 Q9 Q8 *** *** Q17 Q16 *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Q81 Q80 *** *** Figure 24. Q-subcode register map MS0267-E-03 D3 *** *** *** *** *** *** *** *** *** *** D2 *** *** *** *** *** *** *** *** *** *** D1 Q3 Q11 *** *** *** *** *** *** *** Q75 D0 Q2 Q10 *** *** *** *** *** *** *** Q74 2004/08 - 34 - ASAHI KASEI [AK4122] Non-PCM (AC-3, MPEG, etc.) and DTS-CD Bitstream Detection The DIR of the AK4122 has a Non-PCM steam auto-detection function. When the 32-bit mode Non-PCM preamble based on Dolby "AC-3 Data Stream in IEC60958 Interface" is detected, the NPCM bit goes to "1". The 96-bit sync code consists of 0x0000, 0x0000, 0x0000, 0x0000, 0xF872 and 0x4E1F. Detection of this pattern will set the NPCM to "1". Once the NPCM is set to "1", it will remain "1" until 4096 frames pass through the chip without an additional sync pattern being detected (Timing diagram: Figure 27 and Figure 28). When those preambles are detected, the burst preambles Pc and Pd (Pc: burst information, Pd: length code; Refer to Table 22, 23) that follow those sync codes are stored to registers. The AK4122 also has a DTS-CD bitstream auto-detection function. When AK4122 detects DTS-CD bitstream, the DTSCD bit goes to "1". If the next sync code does not occur within 4096 frames, the DTSCD bit goes to "0" until either the AK4122 detects the stream again. OR'ed value of the NPCM and DTSCD bits are output to the AUTO bit. The AK4122 detects 14bit sync word and 16bit sync word of a DTS-CD bitstream, the detection function can be set ON/OFF by DTS14 and DTS16 bit. Serial Control Interface The internal registers may be either written or read by the 4-wire P interface pins: CSN, CCLK, CDTI & CDTO. The data on this interface consists of Chip address (2bits, C1/0 are fixed to "00"), Read/Write (1bit), Register address (MSB first, 5bits) and Control data (MSB first, 8bits). Address and data is clocked in on the rising edge of CCLK and data is clocked out on the falling edge. For write operations, data is latched after the 16th rising edge of CCLK, after a high-to-low transition of CSN. For read operations, the CDTO output goes to high impedance after a low-to-high transition of CSN. The maximum speed of CCLK is 5MHz. The chip address is fixed to "00". The access to the chip address except for "00" is invalid. PDN pin = "L" resets the registers to their default values. Read/Write can be access without MCLK, BICK and , LRCK. CSN 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 C1 C0 R/W A4 A3 A2 A1 A0 D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0 CCLK CDTI Write Hi-Z CDTO CDTI C1 C0 R/W A4 A3 A2 A1 A0 Read CDTO Hi-Z Hi-Z C1 - C0 : Chip Address (Fixed to "00") R/W : READ / WRITE ("1" : WRITE, "0" : READ) A4 - A0 : Register Address D7 - D0 : Control Data Figure 25. Control I/F Timing MS0267-E-03 2004/08 - 35 - ASAHI KASEI [AK4122] Register Map Addr 00H 01H 02H 03H 04H 05H 06H 07H 08H 09H 0AH 0BH 0CH 0DH 0EH 0FH 10H 11H 12H 13H 14H 15H 16H 17H 18H 19H 1AH 1BH 1CH Register Name PDN & Mode Control Selector & Clock Control Audio Interface Format DIR Control INT0 Mask INT1 Mask DAT Mask & DTS Detect Receiver Status 0 Receiver Status 1 Receiver Status 2 RX Channel Status Byte 0 RX Channel Status Byte 1 RX Channel Status Byte 2 RX Channel Status Byte 3 RX Channel Status Byte 4 Burst Preamble Pc Byte 0 Burst Preamble Pc Byte 1 Burst Preamble Pd Byte 0 Burst Preamble Pd Byte 1 Q-subcode Address / Control Q-subcode Track Q-subcode Index Q-subcode Minute Q-subcode Second Q-subcode Frame Q-subcode Zero Q-subcode ABS Minute Q-subcode ABS Second Q-subcode ABS Frame D7 XTL1 BYPS 0 CS12 MULK0 MULK1 0 UNLCK DAT 0 CR7 CR15 CR23 CR31 CR39 PC7 PC15 PD7 PD15 Q9 Q17 Q25 Q33 Q41 Q49 Q57 Q65 Q73 Q81 D6 XTL0 OSEL 0 AMUTE MPAR0 MPAR1 0 PAR DTSCD 0 CR6 CR14 CR22 CR30 CR38 PC6 PC14 PD6 PD14 Q8 Q16 Q24 Q32 Q40 Q48 Q56 Q64 Q72 Q80 D5 TXE ISEL1 0 EFH1 MAUT0 MAUT1 0 AUTO NPCM 0 CR5 CR13 CR21 CR29 CR37 PC5 PC13 PD5 PD13 Q7 Q15 Q23 Q31 Q39 Q47 Q55 Q63 Q71 Q79 D4 SMUTE ISEL0 ODIF EFH0 MV0 MV1 0 V PEM 0 CR4 CR12 CR20 CR28 CR36 PC4 PC12 PD4 PD12 Q6 Q14 Q22 Q30 Q38 Q46 Q54 Q62 Q70 Q78 D3 DEAU ICKS1 IDIF1 IPS1 MAUD0 MAUD1 DTS16 AUDN FS3 0 CR3 CR11 CR19 CR27 CR35 PC3 PC11 PD3 PD11 Q5 Q13 Q21 Q29 Q37 Q45 Q53 Q61 Q69 Q77 D2 DEM1 ICKS0 IDIF0 IPS0 MSTC0 MSTC1 DTS14 STC FS2 0 CR2 CR10 CR18 CR26 CR34 PC2 PC10 PD2 PD10 Q4 Q12 Q20 Q28 Q36 Q44 Q52 Q60 Q68 Q76 D1 DEM0 OCKS1 DIF1 OPS1 MCIT0 MCIT1 MDAT1 CINT FS1 CCRC CR1 CR9 CR17 CR25 CR33 PC1 PC9 PD1 PD9 Q3 Q11 Q19 Q27 Q35 Q43 Q51 Q59 Q67 Q75 D0 PWN OCKS0 DIF0 OPS0 MQIT0 MQIT1 MDAT0 QINT FS0 QCRC CR0 CR8 CR16 CR24 CR32 PC0 PC8 PD0 PD8 Q2 Q10 Q18 Q26 Q34 Q42 Q50 Q58 Q66 Q74 PDN pin = "L" resets the registers to their default values. When PORT1 or PORT2 are selected as input port, the status registers (07H 1CH) are initialized. Note. Unused bits must contain a "0" value. Note. For addresses from 1DH 1FH, data must not be written. MS0267-E-03 2004/08 - 36 - ASAHI KASEI [AK4122] Register Definitions Addr Register Name 00H PDN & Mode Control R/W Default D7 XTL1 R/W 1 D6 XTL0 R/W 1 D5 TXE R/W 1 D4 SMUTE R/W 0 D3 DEAU R/W 0 D2 DEM1 R/W 0 D1 DEM0 R/W 1 D0 PWN R/W 1 PWN: Power Down Control 0 : Power down 1 : Normal operation (Default) "0" powers down all sections. The contents of all register are not initialized and enabled to write to the registers. The internal registers (00H 06H) are not initialized, however, the status registers (07H 1CH) are initialized. Read/Write operations to the registers are enabled. DEM1-0: De-emphasis Control (Table 12, 13) Initial values are "01". DEAU: De-emphasis Auto Control 0 : Disable (Default) 1 : Enable When DEAU bit = "1", the de-emphasis filter is enabled automatically by sampling frequency and pre-emphasis information in the channel status. SMUTE: Soft Mute Control 0 : Normal operation (Default) 1 : SDTIO and SDTO soft mute When SMUTE bit = "1", SDTO and SDTIO outputs "L". TXE: TX Output enable 0 : Disable, TX outputs "L". 1 : Enable (Default) XTL1-0: Reference MCLK Frequency Select (Table 16) Initial values are "11". MS0267-E-03 2004/08 - 37 - ASAHI KASEI Addr Register Name 01H Selector & Clock Control R/W Default [AK4122] D7 BYPS R/W 0 D6 OSEL R/W 0 D5 ISEL1 R/W 0 D4 ISEL0 R/W 0 D3 ICKS1 R/W 1 D2 ICKS0 R/W 0 D1 OCKS1 R/W 1 D0 OCKS0 R/W 0 OCKS1-0: OMCLK Frequency Select for Master mode (Table 5) Initial values are "10". ICKS1-0: MCLK2 Frequency Select for Master mode (Table 4) Initial values are "10". ISEL1-0: Input Port Select Initial values are "00". ISEL1 0 0 1 1 ISEL0 Input PORT Default 0 PORT1 1 PORT2 0 DIR 1 N/A Table 19. Input PORT Select OSEL: Output Port Select Initial values are "0". OSEL Output PORT Default 0 PORT3 1 PORT2 Table 20. Output PORT Select BYPS: Select Bypass mode 0 : SRC mode (Default) 1 : Bypass mode When BYPS bit = "1", the AK4122 outputs the clocks (BICK, LRCK) and data that is input by input port without SRC. MS0267-E-03 2004/08 - 38 - ASAHI KASEI Addr Register Name 02H Audio Interface Format R/W Default DIF1-0: [AK4122] D7 0 RD 0 D6 0 RD 0 D5 0 RD 0 D4 ODIF R/W 0 D3 IDIF1 R/W 0 D2 IDIF0 R/W 1 D1 DIF1 R/W 0 D0 DIF0 R/W 1 D5 EFH1 R/W 0 D4 EFH0 R/W 1 D3 IPS1 R/W 0 D2 IPS0 R/W 0 D1 OPS1 R/W 0 D0 OPS0 R/W 0 Audio Interface Format for PORT1 (Table 8) Initial values are "01". IDIF1-0: Audio Interface Format for PORT2 (Table 9) Initial values are "01". ODIF: Audio Interface Format for PORT3 (Table 10) Initial values are "0". Addr Register Name 03H DIR Control R/W Default D7 CS12 R/W 0 D6 AMUTE R/W 1 OPS1-0: Output Through Data Select for TX (Table 15) Initial values are "00". IPS1-0: Input Recovery Data Select (Table 14) Initial values are "00". EFH1-0: Interrupt 0 pin Hold Count Select Initial values are "01". LRCK of Table 21 is DIR's LRCK, the hold time scales with 1/fs. EFH1 0 0 1 1 EFH0 Hold Count 0 512LRCK 1 1024LRCK 0 2048LRCK 1 4096LRCK Table 21. Hold count select Default AMUTE: Auto Mute Control 0 : Normal operation 1 : Auto Mute (Default) When AMUTE bit = "1", SDTIO and SDTO are muted automatically when the AK4122 detects unlock, Non-Audio or Non-PCM/DTS-CD. CS12: Channel Status select 0 : Channel 1 (Default) 1 : Channel 2 This bit selects that channel status is used to derive C-bit buffers, AUDN, PEM, FS3-0, Pc, Pd and CRC. MS0267-E-03 2004/08 - 39 - ASAHI KASEI Addr Register Name 04H INT0 Mask R/W Default [AK4122] D7 MULK0 R/W 0 MQIT0: Mask enable for QINT bit 0 : Mask disable 1 : Mask enable MCIT0: Mask enable for CINT bit 0 : Mask disable 1 : Mask enable MSTC0: Mask enable for STC bit 0 : Mask disable 1 : Mask enable D6 MPAR0 R/W 0 D5 MAUT0 R/W 1 D4 MV0 R/W 1 D3 MAUD0 R/W 1 D2 MSTC0 R/W 1 D1 MCIT0 R/W 1 D0 MQIT0 R/W 1 MAUD0: Mask enable for AUDN bit 0 : Mask disable 1 : Mask enable MV0: Mask enable for V bit 0 : Mask disable 1 : Mask enable MAUT0: Mask enable for AUTO bit 0 : Mask disable 1 : Mask enable MPAR0: Mask enable for PAR bit 0 : Mask disable 1 : Mask enable MULK0: Mask enable for UNLCK bit 0 : Mask disable 1 : Mask enable The factor which mask bit is set to "0" affects INT0 and INT2 pins operation. MS0267-E-03 2004/08 - 40 - ASAHI KASEI Addr Register Name 05H INT1 Mask R/W Default [AK4122] D7 MULK1 R/W 1 MQIT1: Mask enable for QINT bit 0 : Mask disable 1 : Mask enable MCIT1: Mask enable for CINT bit 0 : Mask disable 1 : Mask enable MSTC1: Mask enable for STC bit 0 : Mask disable 1 : Mask enable D6 MPAR1 R/W 1 D5 MAUT1 R/W 0 D4 MV1 R/W 0 D3 MAUD1 R/W 0 D2 MSTC1 R/W 1 D1 MCIT1 R/W 1 D0 MQIT1 R/W 1 MAUD1: Mask enable for AUDN bit 0 : Mask disable 1 : Mask enable MV1: Mask enable for V bit 0 : Mask disable 1 : Mask enable MAUT1: Mask enable for AUTO bit 0 : Mask disable 1 : Mask enable MPAR1: Mask enable for PAR bit 0 : Mask disable 1 : Mask enable MULK1: Mask enable for UNLCK bit 0 : Mask disable 1 : Mask enable The factor which mask bit is set to "0" affects INT1 pin operation. MS0267-E-03 2004/08 - 41 - ASAHI KASEI Addr Register Name 06H DAT Mask & DTS Detect R/W Default [AK4122] D7 0 RD 0 D6 0 RD 0 D5 0 RD 0 D4 0 RD 0 D3 DTS16 R/W 1 D2 DTS14 R/W 1 D1 MDAT1 R/W 1 D0 MDAT0 R/W 1 MDAT0: Mask enable for DAT bit 0 : Mask disable 1 : Mask enable The factor which mask bit is set to "0" affects INT0 and INT2 pins operation. MDAT1: Mask enable for DAT bit 0 : Mask disable 1 : Mask enable The factor which mask bit is set to "0" affects INT1 pin operation. DTS14: DTS-CD 14bit Sync Word Detect 0 : No detect 1 : Detect (Default) DTS16: DST-CD 16bit Sync Word Detect 0 : No detect 1 : Detect (Default) MS0267-E-03 2004/08 - 42 - ASAHI KASEI Addr Register Name 07H Receiver Status 0 R/W Default [AK4122] D7 UNLCK RD 0 D6 PAR RD 0 D5 AUTO RD 0 D4 V RD 0 D3 AUDN RD 0 D2 STC RD 0 D1 CINT RD 0 D0 QINT RD 0 QINT: Q-subcode Buffer Interrupt 0 : No change 1 : Changed This bit goes to "1" when Q-subcode stored in register addresses 13H to 1CH is updated. CINT: Channel Status Buffer Interrupt 0 : No change 1 : Changed This bit goes to "1" when C-bit stored in register addresses 0AH to 0EH changes. STC: Sampling Frequency or Pre-emphasis Information Change Detection 0 : No detect 1 : Detect This bit goes to "1" when either the FS3-0 or PEM bit changes. AUDN: V: Validity Bit 0 : Valid 1 : Invalid AUTO: PAR: Audio Bit Output 0 : Audio 1 : Non audio This bit is made by encoding channel status bits. Non-PCM or DTS-CD Bit Steam Auto Detection 0 : No detect 1 : Detect This bit outputs the OR'ed value of NPCM and DTSCD bits. Parity Error or Bi-phase Error Status 0 : No error 1 : Error This bit goes to "1" if a parity error or biphase error is detected in the sub-frame. UNLCK: PLL Lock Status 0 : Lock 1 : Unlock QINT, CINT and STC bits are initialized when 07H is read. MS0267-E-03 2004/08 - 43 - ASAHI KASEI Addr Register Name 08H Receiver Status 1 R/W Default [AK4122] D7 DAT RD 0 D6 DTSCD RD 0 D5 NPCM RD 0 D4 PEM RD 0 D3 FS3 RD 0 D2 FS2 RD 0 D1 FS1 RD 0 D0 FS0 RD 1 FS3-0: Sampling Frequency Detection (Table 17) PEM: NPCM: Pre-emphasis Detect (Table 18) 0 : OFF 1 : ON This bit is made by encoding the channel status bits. Non-PCM Bit Stream Auto Detection 0 : No detect 1 : Detect DTSCD: DTS-CD Bit Stream Auto Detect 0 : No detect 1 : Detect DAT: DAT Start ID Detect 0 : No detect 1 : Detect When the category code shows DAT, "1" when the Start ID of DAT is detected. Reading 08H register resets it. DAT bit is initialized when 08H is read. Addr Register Name 09H Receiver Status 2 R/W Default D7 0 RD 0 D6 0 RD 0 D5 0 RD 0 D4 0 RD 0 D3 0 RD 0 D2 0 RD 0 D1 CCRC RD 0 D0 QCRC RD 0 QCRC: Cyclic Redundancy Check for Q-subcode 0 : No error 1 : Error CCRC: Cyclic Redundancy Check for Channel Status 0 : No error 1 : Error This bit is enabled only in professional mode and only for the channel selected by the CS12 bit. MS0267-E-03 2004/08 - 44 - ASAHI KASEI Addr 0AH 0BH 0CH 0DH 0EH Register Name RX Channel Status Byte 0 RX Channel Status Byte 1 RX Channel Status Byte 2 RX Channel Status Byte 3 RX Channel Status Byte 4 R/W Default CR39-0: Addr 0FH 10H 11H 12H PD15-0: Addr 13H 14H 15H 16H 17H 18H 19H 1AH 1BH 1CH D7 CR7 CR15 CR23 CR31 CR39 D6 CR6 CR14 CR22 CR30 CR38 D5 CR5 CR13 CR21 CR29 CR37 D4 CR4 CR12 CR20 CR28 CR36 D3 CR3 CR11 CR19 CR27 CR35 D2 CR2 CR10 CR18 CR26 CR34 D1 CR1 CR9 CR17 CR25 CR33 D0 CR0 CR8 CR16 CR24 CR32 D2 PC2 PC10 PD2 PD10 D1 PC1 PC9 PD1 PD9 D0 PC0 PC8 PD0 PD8 D2 Q4 Q12 Q20 Q28 Q36 Q44 Q52 Q60 Q68 Q76 D1 Q3 Q11 Q19 Q27 Q35 Q43 Q51 Q59 Q67 Q75 D0 Q2 Q10 Q18 Q26 Q34 Q42 Q50 Q58 Q66 Q74 RD Not initialized Receiver Channel Status Byte 4-0 All 40 bits are updated at the same time every block (192 frames) cycle. Register Name Burst Preamble Pc Byte 0 Burst Preamble Pc Byte 1 Burst Preamble Pd Byte 0 Burst Preamble Pd Byte 1 R/W Default PC15-0: [AK4122] D7 PC7 PC15 PD7 PD15 D6 PC6 PC14 PD6 PD14 D5 PC5 PC13 PD5 PD13 D4 PC4 PC12 PD4 PD12 D3 PC3 PC11 PD3 PD11 RD Not initialized Burst Preamble Pc Byte 0 and 1 Burst Preamble Pd Byte 0 and 1 Register Name Q-subcode Address / Control Q-subcode Track Q-subcode Index Q-subcode Minute Q-subcode Second Q-subcode Frame Q-subcode Zero Q-subcode ABS Minute Q-subcode ABS Second Q-subcode ABS Frame R/W Default D7 Q9 Q17 Q25 Q33 Q41 Q49 Q57 Q65 Q73 Q81 D6 Q8 Q16 Q24 Q32 Q40 Q48 Q56 Q64 Q72 Q80 D5 Q7 Q15 Q23 Q31 Q39 Q47 Q55 Q63 Q71 Q79 D4 Q6 Q14 Q22 Q30 Q38 Q46 Q54 Q62 Q70 Q78 D3 Q5 Q13 Q21 Q29 Q37 Q45 Q53 Q61 Q69 Q77 RD Not initialized Q81-2: Q-subcode All 80 bits are updated at the same time every sync code cycle for Q-subcode. MS0267-E-03 2004/08 - 45 - ASAHI KASEI [AK4122] Burst Preambles in Non-PCM Bitstreams sub-frame of IEC60958 0 3 4 preamble 7 8 Aux. 11 12 27 28 29 30 31 LSB MSB V U C P 16 bits of bitstream 0 Pa Pb Pc Pd 15 Burst_payload stuffing repetition time of the burst Figure 26. Data Structure of IEC60958 Preamble word Pa Pb Pc Pd Length of field Contents 16 bits sync word 1 16 bits sync word 2 16 bits Burst info 16 bits Length code Table 22. Burst Preamble Word MS0267-E-03 Value 0xF872 0x4E1F see Table 23 numbers of bits 2004/08 - 46 - ASAHI KASEI [AK4122] Repetition time of burst in IEC60958 frames Bits of Pc Value Contents 0-4 data type NULL data Dolby AC-3 data reserved PAUSE MPEG-1 Layer1 data MPEG-1 Layer2 or 3 data or MPEG-2 without extension MPEG-2 data with extension MPEG-2 AAC ADTS MPEG-2, Layer1 Low sample rate MPEG-2, Layer2 or 3 Low sample rate reserved DTS type I DTS type II DTS type III ATRAC ATRAC2/3 reserved reserved, shall be set to "0" error-flag indicating a valid burst_payload error-flag indicating that the burst_payload may contain errors data type dependent info bit stream number, shall be set to "0" Table 23. Field of Burst Information Pc 7 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16-31 0 0 1 8-12 13-15 0 5, 6 MS0267-E-03 4096 1536 384 1152 1152 1024 384 1152 512 1024 2048 512 1024 2004/08 - 47 - ASAHI KASEI [AK4122] Non-PCM Bitstream Timing (1) When Non-PCM preamble does not arrive within 4096 frames PDN pin Bit stream Pa Pb Pc1 Pd1 Pa Pb Pc2 Pd2 Repetition time Pa Pb Pc3 Pd3 >4096 frames AUTO bit Pc Register "0" Pd Register "0" Pc1 Pc3 Pc2 Pd1 Pd3 Pd2 Figure 27. Timing example 1 (2) When Non-PCM bitstream stops (when MULK0=0) INT0 hold time INT0 pin <20mS (Lock time) Bit stream Pa Pb Pc1 Pd1 Stop Pa Pb Pcn Pdn 2~3 Syncs (B,M or W)