Ak4113 (Spdif In)
Ak4113 (Spdif In)
AK4113
192kHz 24bit DIR with 6:1 Selector
GENERAL DESCRIPTION
The AK4113 is a 24-bit stereo digital audio receiver that supports sampling rates up to 216kHz. The
channel status bits decoder supports both consumer and professional modes. The AK4113 automatically
detects non-PCM bit streams such as Dolby Digital, MPEG etc. When combined with the multi channel
codec (AK4626 or AK4628), the two chips provide a system solution for Dolby Digital applications.
Control of AK4113 is achieved though a µP or pin strapping (parallel mode). It is packaged in a
space-saving 30-pin VSOP.
FEATURES
AES/EBU, IEC60958, S/PDIF, EIAJ CP1201 Compatible
Low Jitter Analog PLL
PLL Lock Range: 8k ∼ 216kHz
Clock source: PLL or X'tal
6-channel Receiver Input and 1-channel Transmission Output (Through
output)
Auxiliary Digital Input
De-emphasis for 32kHz, 44.1kHz and 48kHz
Detection Functions
- Non-PCM Bit Stream Detection
- DTS-CD Bit Stream Detection
- Sampling Frequency Detection
(8kHz, 11.025kHz, 16kHz, 22.05kHz, 24kHz, 32kHz, 44.1kHz, 48kHz,
64kHz, 88.2kHz, 96kHz, 176.4kHz and 192kHz)
- Unlock & Parity Error Detection
- Validity Detection
- DAT Start ID Detection
Up to 24bit Audio Data Format
Audio Interface: Master or Slave Mode
40-bit Channel Status Buffer
Burst Preamble bit Pc and Pd Buffer for Non-PCM bit stream
Q-subcode Buffer for CD bit stream
Serial µP Interface: I2C (max. 400kHz) or 4-wire
Two Master Clock Outputs: 64fs/128fs/256fs/512fs
Operating Voltage: 2.7 to 3.6V with 5V Logic Tolerance
Small Package: 30pin VSOP
Ta: - 40 ∼ 85°C
MS0349-E-01 2005/03
-1-
ASAHI KASEI [AK4113]
X'tal
RX1 Oscillator Clock MCKO1
RX2 Clock Generator MCKO2
RX3 Input Recovery (BOUT)
RX4 Selector
RX5 DEM
RX6
DAIF LRCK
Audio
BICK
Decoder I/F
SDTO
V/TX DAUX
PDN
DVDD CSN
Error & Q-subcode CCLK
DVSS AC-3/MPEG
STATUS µP I/F
TVDD buffer CDTO
Detect Detect CDTI
X'tal
Oscillator Clock MCKO1
RX1 Input Clock Generator MCKO2
RX5 Recovery
Selector
DEM
DAIF LRCK
V Audio
BICK
Decoder I/F
SDTO
DIF0
DIF1
DIF2 DAUX
IPS PDN
DVDD OCKS0
Error & OCKS1
DVSS AC-3/MPEG
STATUS CM0
TVDD Detect Detect
CM1
MS0349-E-01 2005/03
-2-
ASAHI KASEI [AK4113]
Ordering Guide
PIN Layout
DVDD 1 30 CM0/CDTO/CAD1
DVSS 2 29 CM1/CDTI/SDA
TVDD 3 28 OCKS1/CCLK/SCL
V/TX 4 27 OCKS0/CSN/CAD0
XTI 5 26 MCKO1
XTO 6 25 MCKO2
Top
View
PDN 7 24 DAUX
R 8 23 BICK
AVDD 9 22 SDTO
AVSS 10 21 LRCK
RX1 11 20 INT0
RX2/DIF0 12 19 FS96/I2C
RX3/DIF1 13 18 P/SN
RX4/DIF2 14 17 INT1
RX5 15 16 IPS/RX6
MS0349-E-01 2005/03
-3-
ASAHI KASEI [AK4113]
PIN/FUNCTION
MS0349-E-01 2005/03
-4-
ASAHI KASEI [AK4113]
MS0349-E-01 2005/03
-5-
ASAHI KASEI [AK4113]
1. Function
Function AK4112B AK4113
Serial control mode 4ch 6ch
RX Input Channel
Parallel control mode 1ch 2ch
PLL Lock Range 22kHz to 108kHz 8kHz to 216kHz
Resistor value for R pin 18k ± 1% 15k ± 5%
FAST bit =“0”: ≤ (15ms+384/fs)
PLL Lock Time ≤ 20ms
FAST bit =“1”: ≤ (15ms+1/fs)
DTS-CD Bit Stream Detection Not available Available
DAT Start ID Detection Not available Available
Q-subcode Buffer for CD bit Stream Not available Available
≤ 54kHz 8k / 11.025k / 16k / 22.05k / 24k/
fs Detection in serial control mode ≥or 32k / 44.1k / 48k / 64k / 88.2k /
≥88.2kHz 96k / 176.4k / 192kHz
Serial µP Interface 4-wire 4-wire/I2C (max.400kHz)
Error Handling Pins AUTO, ERF, FS96 INT0, INT1
Master Clock Output Frequency 128fs/256fs/512fs 64fs/128fs/256fs/512fs
Channel Status Bit 32bit 40bit
Depend on CM1-0, XMCK and
MCKO2 Clock Source in serial control mode Depend on CM1-0 bits
BCU bits
Audio I/F at Reset in serial control mode Master Mode Slave Mode
Package 28pin VSOP 30pin VSOP
MS0349-E-01 2005/03
-6-
ASAHI KASEI [AK4113]
2. Pin Layout
DVDD 1 30 CM0/CDTO/CAD1
DVSS 2 29 CM1/CDTI/SDA
TVDD 3 28 OCKS1/CCLK/SCL
V/TX 4 27 OCKS0/CSN/CAD0
XTI 5 26 MCKO1
XTO 6 25 MCKO2
Top
View
PDN 7 24 DAUX
AVSS 10 21 LRCK
RX3/DIF1 13 18 P/SN
Note:
1) Light gray highlights indicate the difference between AK4112B and AK4113.
2) The inside of “( )” indicates the pin name of AK4112B.
3. Control register
MS0349-E-01 2005/03
-7-
ASAHI KASEI [AK4113]
WARING: Operation at or beyond these limits may result in permanent damage to the device
Normal operation is not guaranteed at these extremes.
MS0349-E-01 2005/03
-8-
ASAHI KASEI [AK4113]
DC CHARACTERISTICS
(Ta=25°C; AVDD, DVDD=2.7~3.6V;TVDD=2.7~5.5V; unless otherwise specified)
Parameter Symbol min typ max Units
Power Supply Current
Normal operation: PDN pin = “H” (Note 4) 26 42 mA
Power down: PDN pin = “L” (Note 5) 10 100 µA
High-Level Input Voltage VIH 70%DVDD - TVDD V
Low-Level Input Voltage VIL DVSS - 0.3 - 30%DVDD V
High-Level Output Voltage
(Except TX pin: Iout=-400µA) VOH DVDD-0.4 - - V
Low-Level Output Voltage
(Except TX and SDA pins: Iout=400µA) VOL - - 0.4 V
( SDA pin: Iout= 3mA) VOL - - 0.4 V
TX Output Level (Note 6) VTXO 0.4 0.5 0.6 V
Input Leakage Current (Except RX1-6, XTI pins) Iin - - ± 10 µA
Note 4. AVDD, DVDD=3.3V, TVDD=5.0V, CL=20pF, fs=216kHz, X'tal=24.576MHz, Clock Operation Mode 2, OCKS1
bit = “1”, OCKS0 bit = “1”. TX circuit = Figure 19, Master Mode; AVDD=5mA (typ), DVDD=21mA (typ),
TVDD=0.1µA (typ).
Note 5. RX inputs are open and all digital input pins are held DVDD or DVSS.
Note 6. By using Figure 19
SWITCHING CHARACTERISTICS
(Ta=25°C; AVDD, DVDD=2.7~3.6V, TVDD=2.7~5.5V; CL=20pF)
Parameter Symbol min typ max Units
Master Clock Timing
Crystal Resonator Frequency fXTAL 11.2896 24.576 MHz
External Clock Frequency fECLK 11.2896 24.576 MHz
Duty dECLK 40 50 60 %
MCKO1 Output Frequency fMCK1 1.024 27.648 MHz
Duty dMCK1 40 50 60 %
MCKO2 Output Frequency fMCK2 0.512 27.648 MHz
Duty dMCK2 40 50 60 %
PLL Clock Recover Frequency (RX1-6) fpll 8 - 216 kHz
LRCK Frequency fs 8 216 kHz
Duty Cycle dLCK 45 55 %
Audio Interface Timing
Slave Mode
BICK Period tBCK 72 ns
BICK Pulse Width Low tBCKL 27 ns
Pulse Width High tBCKH 27 ns
LRCK Edge to BICK “↑” (Note 7) tLRB 15 ns
BICK “↑” to LRCK Edge (Note 7) tBLR 15 ns
LRCK to SDTO (MSB) tLRM 20 ns
BICK “↓” to SDTO tBSD 20 ns
DAUX Hold Time tDXH 15 ns
DAUX Setup Time tDXS 15 ns
Master Mode
BICK Frequency fBCK 64fs Hz
BICK Duty dBCK 50 %
BICK “↓” to LRCK tMBLR -15 15 ns
BICK “↓” to SDTO tBSD 15 ns
DAUX Hold Time tDXH 15 ns
DAUX Setup Time tDXS 15 ns
Note 7. BICK rising edge must not occur at the same time as LRCK edge.
MS0349-E-01 2005/03
-9-
ASAHI KASEI [AK4113]
Purchase of Asahi Kasei Microsystems Co., Ltd I2C components conveys a license under the
Philips I2C patent to use the components in the I2C system, provided the system conform to the I2C
specifications defined by Philips.
MS0349-E-01 2005/03
- 10 -
ASAHI KASEI [AK4113]
Timing Diagram
1/fECLK
VIH
XTI
VIL
tECLKH tECLKL
dECLK = tECLKH x fECLK x 100
= tECLKL x fECLK x 100
1/fMCK1
MCKO1 50%DVDD
tMCKH1 tMCKL1
dMCK1 = tMCKH1 x fMCK1 x 100
= tMCKL1 x fMCK1 x 100
1/fMCK2
MCKO2 50%DVDD
tMCKH2 tMCKL2
dMCK2 = tMCKH2 x fMCK2 x 100
= tMCKL2 x fMCK2 x 100
1/fs
VIH
LRCK
VIL
tLRH tLRL
dLCK = tLRH x fs x 100
= tLRL x fs x 100
Figure 3. Clock Timing
VIH
LRCK
VIL
tBCK
tBLR tLRB tBCKL tBCKH
VIH
BICK
VIL
tLRM tBSD
SDTO 50%DVDD
tDXS tDXH
VIH
DAUX
VIL
MS0349-E-01 2005/03
- 11 -
ASAHI KASEI [AK4113]
LRCK 50%DVDD
tMBLR
BICK 50%DVDD
tBSD
SDTO 50%DVDD
tDXS tDXH
VIH
DAUX
VIL
VIH
CSN
VIL
tCSS tCCK
tCCKL tCCKH
VIH
CCLK
VIL
tCDH
tCDS
VIH
CDTI C1 C0 R/W A4
VIL
Hi-Z
CDTO
MS0349-E-01 2005/03
- 12 -
ASAHI KASEI [AK4113]
tCSW
VIH
CSN
VIL
tCSH
VIH
CCLK
VIL
VIH
CDTI D3 D2 D1 D0
VIL
Hi-Z
CDTO
VIH
CSN VIL
VIH
CCLK
VIL
VIH
CDTI A1 A0
VIL
tDCD
Hi-Z
CDTO D7 D6 D5 50%DVDD
VIH
CSN
VIL
tCSH
VIH
CCLK
VIL
VIH
CDTI
VIL
tCCZ
CDTO D3 D2 D1 D0 50%DVDD
MS0349-E-01 2005/03
- 13 -
ASAHI KASEI [AK4113]
VIH
SDA
VIL
tBUF tLOW tR tHIGH tF
tSP
VIH
SCL
VIL
tPW
PDN
VIL
MS0349-E-01 2005/03
- 14 -
ASAHI KASEI [AK4113]
OPERATION OVERVIEW
The AK4113 has a non-PCM bit stream auto-detection function, When the 32bit mode non-PCM preamble based on
Dolby “Dolby Digital Data Stream in IEC 60958 Interface” is detected, the NPCM bit sets to “1”. The 96-bit sync code
consists of 0x0000, 0x0000, 0x0000, 0x0000, 0xF872 and 0x4E1F. Detection of this pattern will set the NPCM bit to “1”.
Once the NPCM bit is set to “1”, it will remain “1” until 4096 frames pass through the chip without an additional sync
pattern being detected. When those preambles are detected, the burst preambles Pc (burst information: Table 17) and Pd
(length code: Table 18) that follow those sync codes are stored to registers. The AK4113 has also a DTS-CD bitstream
auto-detection function. When the AK4113 detects DTS-CD bitstream, the DTSCD bit sets to “1”. If the next sync code
does not occur within 4096frames, the DTSCD bit sets to “0” until a non-PCM bitstream is detected again. The ORed
value of NPCM and DTSCD bits are output to AUTO bit. The AK4113 detects the 14-bit sync word and the 16-bit sync
word of a DTS-CD bitstream, the detection function can be set ON/OFF by DTS14 and DTS16 bits in serial control
mode.
In parallel control mode, logical OR value of the AUTO and AUDION bits are outputted to the INTI pin. The DTS-CD
detects both the 14-bit sync word and the 16-bit sync word.
The integrated low jitter PLL has a wide lock range from 8kHz to 216kHz. The lock time depends on sampling frequency
(fs) and FAST bit. (See Figure 12) FAST bit is useful at lower sampling frequency and is fixed to “0” in parallel control
mode. In serial control mode, the AK4113 has a sampling frequency detection function (8kHz, 11.025kHz, 16kHz
22.05kHz, 32kHz, 44.1kHz, 48kHz, 64kHz, 88.2kHz, 96kHz, 176.4kHz and 192kHz) that uses either a clock comparison
against the X’tal oscillator or the channel status information from the setting of XTL1-0 bits. In parallel control mode, the
sampling frequency is detected by using the reference frequency, 24.576MHz. When the sampling frequency is more than
64kHz, FS96 pin goes to “H”. When the sampling frequency is less than 54kHz, FS96 pin goes to “L”. The PLL loses
lock when the received sync interval is incorrect.
MS0349-E-01 2005/03
- 15 -
ASAHI KASEI [AK4113]
The CM0 and CM1 pins (or bits) select the clock source and the data source of SDTO. In Mode 2, the clock source is
switched from PLL to X'tal when PLL goes unlock state. In Mode3, the clock source is fixed to X'tal, but PLL is also
operating and the recovered data such as C bits can be monitored. For Mode2 and 3, it is recommended that the
frequency of X’tal is different from the recovered frequency from PLL.
Master Clock
The AK4113 has two clock outputs, MCKO1 and MCKO2. MCKO2 has two modes. These modes can be selected by the
XMCK bit.
This mode is compatibile AK4112B and AK4114. These clocks are derived from either the recovered clock or the X'tal
oscillator. The frequencies of the master clock outputs (MCKO1 and MCKO2) are set by OCKS0 and OCKS1 as shown
in Table 2. The 512fs clock will not operate when the sampling frequency is 96kHz or 192kHz. The 256fs clock will not
operate when the sampling frequency is 192kHz.
MCKO2 outputs the input clock of the XTI pin when BCU bit = “0” and XMCK bit = “1”. The settings of CM1-0 and
OCKS1-0 bits are ignored. The output frequency can be set by the DIV bit. MCKO1 outputs a clock that is selected by
the CM1-0 bits and OCKS1-0 bits.
MS0349-E-01 2005/03
- 16 -
ASAHI KASEI [AK4113]
Clock Source
The following circuits are available to feed the clock to the XTI pin of the AK4113.
1) X’tal
XTI
AK4113
XTO
2) External clock
XTI
External Clock
AK4113
XTO
XTI
AK4113
XTO
MS0349-E-01 2005/03
- 17 -
ASAHI KASEI [AK4113]
The AK4113 has two methods for detecting the sampling frequency.
1. Clock comparison between the recovered clock and X’tal oscillator
2. Sampling frequency information on channel status
The method is selected by the XTL1-0 bits. The detected frequency is available on the FS3-0 bits.
When XTL1-0 bits = “11”, the sampling frequency is detected by the channel status sampling frequency information. The
detected frequency is available on the FS3-0 bits. In parallel control mode, XTL1-0 bits are fixed to “10”.
Table 5. fs Information
MS0349-E-01 2005/03
- 18 -
ASAHI KASEI [AK4113]
The pre-emphasis information is detected and reported on PEM bit. This information is extracted from channel 1 by
default. It can be switched to channel 2 by the CS12 bit in control register.
Byte 0
PEM bit Pre-emphasis
Bits 3-5
0 OFF ≠ 0X100
1 ON 0X100
Table 6. PEM in Consumer Mode
Byte 0
PEM bit Pre-emphasis
Bits 2-4
0 OFF ≠110
1 ON 110
Table 7. PEM in Consumer Mode
The AK4113 includes a digital de-emphasis filter (tc=50/15µs). This is an IIR filter that corresponds to four sampling
frequencies (32kHz, 44.1kHz and 48kHz). When DEAU bit=“1”, the de-emphasis filter is enabled automatically by the
sampling frequency and pre-emphasis information in the channel status. The AK4113 is in this mode by default. In
parallel control mode, the AK4113 is always placed in this mode and the status bits in channel 1 control the de-emphasis
filter. In serial control mode, DEM1-0 bits control the de-emphasis filter when the DEAU is “0”. The internal
de-emphasis filter is bypassed and the recovered data is available without any change if the de-emphasis mode is OFF.
When the PEM bit is “0”, the internal de-emphasis filter is always bypassed.
PEM bit FS3 bit FS2 bit FS1 bit FS0 bit Mode
1 0 0 0 0 44.1kHz
1 0 0 1 0 48kHz
1 0 0 1 1 32kHz
1 (Others) OFF
0 x x x x OFF
Table 8. De-emphasis Auto Control at DEAU bit = “1” (Default)
MS0349-E-01 2005/03
- 19 -
ASAHI KASEI [AK4113]
The AK4113 has a power-down mode for all circuits using the PDN pin or it can be partially powerd-down with the
PWN bit. The RSTN bit initializes the register and resets the internal timing. In parallel control mode, only control by the
PDN pin is enabled. The AK4113 should be reset once by bringing PDN pin = “L” upon power-up.
PDN Pin:
All analog and digital circuits are placed in power-down and reset mode by bringing PDN pin = “L”. All the
registers are initialized, and clocks are stopped. Reading/Witting to the registers are disabled.
MS0349-E-01 2005/03
- 20 -
ASAHI KASEI [AK4113]
Bi-phase Input
Six receiver inputs (RX1-6) are available in serial control mode. IPS2-0 bits select the receiver channel. In parallel
control mode, two receiver inputs (RX1 or RX5) are available. The receiver channel is selected by IPS pin. Each input
includes an amplifier for unbalanced mode that can accept a signal of 350mV or more. When BCU and UCE bits are
changed, the Block start signal, C bit and U bit can output from each pins. (See Table 12 and Figure 16)
1/4fs
LRCK
SDTO
2 L191 R191 L0 R0 R38 L39 R39
(I S)
SDTO
2 R190 L191 R191 L0 L38 R39 L39
(except I S)
* The block signal goes high at the start of frame 0 and remains high until the end of frame 39.
MS0349-E-01 2005/03
- 21 -
ASAHI KASEI [AK4113]
Bi-phase Output
In serial control mode, the source of the loop-through output from TX is selected from RX1-6. The bi-phase loop-through
output is selected by OPS2-0 bits. The bi-phase loop-through output from TX can be stopped by XTE bit. In parallel
control mode, the bi-phase loop-through output can not be outputted.
MS0349-E-01 2005/03
- 22 -
ASAHI KASEI [AK4113]
Note AK4113
Note: For coaxial input, if a coupling level to this input from the next RX input line pattern
exceeds 50mV, there may be an incorrect operation. In this case, it is possible to
lower the coupling level by adding this decoupling capacitor.
Optical Receiver
470
Optical
Fiber O/E RX
AK4113
For coaxial input in serial mode, the input level of RX line is small, so care must be taken to avoid crosstalk among the
RX input lines. In this case, a shield is recommended between the input lines. In parallel control mode, two channel
inputs (RX1 and RX5) are available, RX2, RX3, RX4 and RX6 change to other pins for mode settings. Those pins must
be fixed to “H” or “L” because they are not normal logic input.
The AK4113 includes the TX output buffer. The output level meets combination 0.5V± 20% using the external resistor
network. The T1 in Figure 19 is a transformer of 1:1.
R1
TX
R2 75Ω cable
DVSS Vdd R1 R2
T1 3.3V 240Ω 150Ω
3.0V 220Ω 150Ω
MS0349-E-01 2005/03
- 23 -
ASAHI KASEI [AK4113]
U-bit buffers
The AK4113 has a Q-subcode buffer for CD application. The AK4113 takes the Q-subcode into registers by the following
method.
1. The sync word (S0,S1) is constructed of at least 16 “0”s.
2. The start bit is “1”.
3. Those 7bits Q-W follows to the start bit.
4. The distance between two start bits are 8-16 bits.
The QINT bit in the control register goes to “1” when the new Q-subcode differs from old one, and goes to “0” when the
QINT bit is read.
1 2 3 4 5 6 7 8 *
S0 0 0 0 0 0 0 0 0 0…
S1 0 0 0 0 0 0 0 0 0…
S2 1 Q2 R2 S2 T2 U2 V2 W2 0…
S3 1 Q3 R3 S3 T3 U3 V3 W3 0…
: : : : : : : : : :
S97 1 Q97 R97 S97 T97 U97 V97 W97 0…
S0 0 0 0 0 0 0 0 0 0…
S1 0 0 0 0 0 0 0 0 0…
S2 1 Q2 R2 S2 T2 U2 V2 W2 0…
S3 1 Q3 R3 S3 T3 U3 V3 W3 0…
: : : : : : : : : :
(*) number of "0" : min=0; max=8.
Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 Q10 Q11 Q12 Q13 Q14 Q15 Q16 Q17 Q18 Q19 Q20 Q21 Q22 Q23 Q24 Q25
CTRL ADRS 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 21. Q-subcode
MS0349-E-01 2005/03
- 24 -
ASAHI KASEI [AK4113]
Error Handing
The following nine events cause the INT0 and INT1 pins to show the status of the interrupt condition. When the PLL is
OFF (Clock Operation Mode 1), INT0 and INT1 pins go to “L”.
MS0349-E-01 2005/03
- 25 -
ASAHI KASEI [AK4113]
In parallel control mode, the INT0 pin outputs the ORed signal between UNLCK and PAR. The INT1 pin outputs the
ORed signal between AUTO and AUDION. Once INT0 goes ”H”, it maintains “H” for 1024/fs cycles after the all error
events are removed. Table 14 shows the state of each output pins when the INT0/1 pin is “H”.
Event Pin
UNLCK PAR AUTO AUDION INT0 INT1 SDTO V
1 x x x “L” “L”
“H”
0 1 x x Note 13 Previous Data Output
0 0 x x “L” Output Output
x x 1 x
“H”
x x x 1 Note 14 Note 15 Note 16
x x 0 0 “L”
Note 13. INT1 pin outputs “L” or “H” in accordance with the ORed signal between AUTO and AUDION.
Note 14. INT0 pin outputs “L” or “H” in accordance with the ORed signal between UNLCK and PAR.
Note 15. SDTO pin outputs “L”, “Previous Data” or “Normal Data” in accordance with the ORed signal between
UNLCK and PAR.
Note 16. V pin outputs “L” or “Normal operation” in accordance with the ORed signal between PAR and UNCLK.
Table 14. Error Handling in parallel control mode (x: Don’t care)
In serial control mode, the INT1 and INT0 pins output an ORed 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 in 07H
and DAT bit). Once the INT0 pin goes to “H”, it remains “H” for 1024/fs (this value can be changed with 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.
UNLCK, PAR, AUTO, AUDION and V bits in Address=07H indicate the interrupt status events above in real time. Once
QINT, CINT and DAT bits goes to “1”, it stays “1” until the register is read.
When the AK4113 loses lock, the channel status bit, user bit, Pc and Pd are initialized. In this initial state, INT0 pin
outputs the ORed signal between UNLCK and PAR bits. INT1 pin outputs the ORed signal between AUTO and
AUDION bits.
Event Pin
UNLCK PAR Others SDTO V TX
1 x x “L” “L” Output
0 1 x Previous Data Output Output
x x x Output Output Output
Table 15. Error Handling in serial control mode (x: Don’t care)
MS0349-E-01 2005/03
- 26 -
ASAHI KASEI [AK4113]
Error
(Error)
(Unlock, Parity...)
Register
(PAR,STC,CINT,QINT) Hold “1” Reset
Register
(others)
MCKO,BICK,LRCK
Free Run
(Unlock)
(fs: around 5kHz)
MCKO,BICK,LRCK
(except Unlock)
SDTO
(Unlock)
SDTO
(Parity error) Previous Data
SDTO
(others)
Vpin
(Unlock)
Vpin
(except Unlock)
Normal Operation
MS0349-E-01 2005/03
- 27 -
ASAHI KASEI [AK4113]
Initialize
Read (07H,08H)
Yes
Read (07H,08H)
Read (07H,08H)
(Resets registers)
No
INT0/1 pin= “H”
Yes
MS0349-E-01 2005/03
- 28 -
ASAHI KASEI [AK4113]
Initialize
Read (07H,08H)
Yes
Read (07H,08H)
and
Detect QSUB= “1”
(Read Q-buffer)
No New data
QCRC = “0”
is invalid
Yes
No
INT1 pin = “L”
Yes
New data
is valid
MS0349-E-01 2005/03
- 29 -
ASAHI KASEI [AK4113]
The DIF0, DIF1 and DIF2 pins can select eight serial data formats as shown in Table 16. In all formats the serial data is
MSB-first, 2's compliment format. The SDTO is clocked out on the falling edge of BICK and DAUX is latched on the
rising edge of BICK. BICK outputs 64fs clock in Mode 0-5. Mode 6-7 are Slave Modes, and BICK is available up to
128fs at fs=48kHz. If the data word length is equal or less than 20-bits (Mode0-2), the LSBs in the sub-frame are
truncated. In Mode 3-7, the last 4-LSBs are auxiliary data (see Figure 26). When the Parity Error, Bi-phase Error or
Frame Length Error occurs in a sub-frame, the AK4113 continues to output the last normal sub-frame data from SDTO
repeatedly until the error is removed. When the Unlock Error occurs, AK4113 outputs “0” from SDTO. If DAUX is used,
the data is transformed and outputted from SDTO. DAUX is used in Clock Operation Mode 1, 3 and unlock state of
Mode 2. The input data format to DAUX should be left justified except in Mode 5 and 7. In Mode 5 or 7, both the input
data format of DAUX and output data format of SDTO are I2S. Mode 6 and 7 are Slave Modes that corresponds to the
Master Mode of Mode 4 and 5. In Slave mode, LRCK and BICK should be synchronized with MCKO1/2.
sub-frame of IEC60958
0 3 4 7 8 11 12 27 28 29 30 31
preamble Aux. V U C P
LSB MSB
MSB LSB
23 0
LRCK BICK
Mode DIF2 DIF1 DIF0 DAUX SDTO
I/O I/O
0 0 0 0 24-bit, Left justified 16-bit, Right justified H/L O 64fs O
1 0 0 1 24-bit, Left justified 18-bit, Right justified H/L O 64fs O
2 0 1 0 24-bit, Left justified 20-bit, Right justified H/L O 64fs O
3 0 1 1 24-bit, Left justified 24-bit, Right justified H/L O 64fs O
4 1 0 0 24-bit, Left justified 24-bit, Left justified H/L O 64fs O
5 1 0 1 24-bit, I2S 24-bit, I2S L/H O 64fs O
64-128fs
6 1 1 0 24-bit, Left justified 24-bit, Left justified H/L I I Default
(Note 17)
64-128fs
7 1 1 1 24-bit, I2S 24-bit, I2S L/H I I
(Note 17)
Table 16. Audio Data Format
Note 17. This frequency must not exceed a maximum BICK frequency that is defined in “Switching Characteristics”.
MS0349-E-01 2005/03
- 30 -
ASAHI KASEI [AK4113]
LRCK(O)
0 1 2 15 16 17 31 0 1 2 15 16 17 31 0 1
BICK
(O:64fs)
15 14 1 0 15 14 1 0
SDTO(O)
15:MSB, 0:LSB
LRCK(O)
0 1 2 9 10 11 12 31 0 1 2 9 10 11 12 31 0 1
BICK
(O:64fs)
23 22 21 20 1 0 23 22 21 20 1 0
SDTO(O)
23:MSB, 0:LSB
LRCK
0 1 2 21 22 23 24 31 0 1 2 21 22 23 24 31 0 1
BICK
(64fs)
23 22 21 2 1 0 23 22 3 2 1 0 23 22
SDTO(O)
23:MSB, 0:LSB
LRCK
0 1 2 22 23 24 25 31 0 1 2 21 22 23 24 25 31 0 1
BICK
(64fs)
23 22 21 2 1 0 23 22 3 2 1 0 23
SDTO(O)
23:MSB, 0:LSB
MS0349-E-01 2005/03
- 31 -
ASAHI KASEI [AK4113]
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 (1-bit), Register address (MSB
first, 5-bits) and Control data (MSB first, 8-bits). 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 high impedance after a low-to-high transition
of CSN. The maximum speed of CCLK is 5MHz. PDN pin = “L” resets the registers to their default values.
CSN
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
CCLK
CDTI C1 C0 R/W A4 A3 A2 A1 A0 D7 D6 D5 D4 D3 D2 D1 D0
WRITE
CDTO Hi-Z
CDTI C1 C0 R/W A4 A3 A2 A1 A0 D7 D6 D5 D4 D3 D2 D1 D0
READ
CDTO Hi-Z Hi-Z
D7 D6 D5 D4 D3 D2 D1 D0
* The control data can not be written when the CCLK rising edge is 15times or less or 17times or more during CSN pin
is “L”.
MS0349-E-01 2005/03
- 32 -
ASAHI KASEI [AK4113]
All commands are preceded by a START condition. After the START condition, a slave address is sent. After the AK4113
recognizes the START condition, the device interfaced to the bus waits for the slave address to be transmitted over the
SDA line. If the transmitted slave address matches an address for one of the devices, the designated slave device pulls the
SDA line to LOW (ACKNOWLEDGE). The data transfer is always terminated by a STOP condition generated by the
master device.
The data on the SDA line must be stable during the HIGH period of the clock. The HIGH or LOW state of the data line
can only change when the clock signal on the SCL line is LOW except for the START and the STOP condition.
SCL
SDA
A HIGH to LOW transition on the SDA line while SCL is HIGH indicates a START condition. All sequences start from
the START condition.
A LOW to HIGH transition on the SDA line while SCL is HIGH defines a STOP condition. All sequences end by the
STOP condition.
SCL
SDA
MS0349-E-01 2005/03
- 33 -
ASAHI KASEI [AK4113]
2-1-3. ACKNOWLEDGE
ACKNOWLEDGE is a software convention used to indicate successful data transfers. The transmitting device will
release the SDA line (HIGH) after transmitting eight bits. The receiver must pull down the SDA line during the
acknowledge clock pulse so that that it remains stable “L” during “H” period of this clock pulse. The AK4113 will
generates an acknowledge after each byte has been received.
In the read mode, the slave, the AK4113 will transmit eight bits of data, release the SDA line and monitor the line for an
acknowledge. If an acknowledge is detected and no STOP condition is generated by the master, the slave will continue to
transmit data. If an acknowledge is not detected, the slave will terminate further data transmissions and await the STOP
condition.
Clock pulse
for acknowledge
SCL FROM
MASTER 1 8 9
DATA
OUTPUT BY
TRANSMITTER
not acknowledge
DATA
OUTPUT BY
RECEIVER
START
acknowledge
CONDITION
The first byte, which includes seven bits of slave address and one bit of R/W bit, is sent after the START condition. If the
transmitted slave address matches an address for one of the device, the receiver who has been addressed pulls down the
SDA line.
The most significant five bits of the slave address are fixed as “00100”. The next two bits are CAD1 and CAD0 (device
address bits). These two bits identify the specific device on the bus. The hard-wired input pins (CAD1 pin and CAD0
pin) set them. The eighth bit (LSB) of the first byte (R/W bit) defines whether a write or read condition is requested by
the master. A “1” indicates that the read operation is to be executed. A “0” indicates that the write operation is to be
executed.
MS0349-E-01 2005/03
- 34 -
ASAHI KASEI [AK4113]
* * * A4 A3 A2 A1 A0
After receipt the second byte, the AK4113 generates an acknowledge, and awaits the third byte. Those data after the
second byte contain control data. The format is MSB first, 8bits.
D7 D6 D5 D4 D3 D2 D1 D0
The AK4113 is capable of more than one byte write operation by one sequence.
After receipt of the third byte, the AK4113 generates an acknowledge, and awaits the next data again. The master can
transmit more than one words instead of terminating the write cycle after the first data word is transferred. After the
receipt of each data, the internal 5bits address counter is incremented by one, and the next data is taken into next address
automatically. If the address exceed 1CH prior to generating the stop condition, the address counter will “roll over” to
00H and the previous data will be overwritten.
S
T S
A Slave Register T
R Data(n) Data(n+1) Data(n+x) O
Address Address(n)
T P
SDA S P
A A A A
C C C C
K K K K
MS0349-E-01 2005/03
- 35 -
ASAHI KASEI [AK4113]
The AK4113 contains an internal address counter that maintains the address of the last word accessed, incremented by
one. Therefore, if the last access (either a read or write) was to address n, the next CURRENT READ operation would
access data from the address n+1.
After receipt of the slave address with R/W bit set to “1”, the AK4113 generates an acknowledge, transmits 1byte data
which address is set by the internal address counter and increments the internal address counter by 1. If the master does
not generate an acknowledge to the data but generate the stop condition, the AK4113 discontinues transmission
S
T S
A Slave Data(n) Data(n+1) Data(n+2) Data(n+x) T
R Address O
T P
SDA S P
A A A A
C C C C
K K K K
Random read operation allows the master to access any memory location at random. Prior to issuing the slave address
with the R/W bit set to “1”, the master must first perform a “dummy” write operation.
The master issues the start condition, slave address(R/W bit =“0”) and then the register address to read. After the register
address’s acknowledge, the master immediately reissues the start condition and the slave address with the R/W bit set to
“1”. Then the AK4113 generates an acknowledge, 1byte data and increments the internal address counter by 1. If the
master does not generate an acknowledge to the data but generate the stop condition, the AK4113 discontinues
transmission.
S S
T T S
A Slave Word A Slave Data(n) Data(n+1) Data(n+x) T
R Address Address(n) R Address O
T T P
SDA S S P
A A A A A
C C C C C
K K K K K
MS0349-E-01 2005/03
- 36 -
ASAHI KASEI [AK4113]
Register Map
Note: When PDN pin goes “L”, the registers are initialized to their default values.
When RSTN bit goes “0”, the internal timing is reset and the registers are initialized to their default values.
All data can be written to the register even if PWN bit is “0”.
For addresses from 1DH to 1FH, data must not write.
MS0349-E-01 2005/03
- 37 -
ASAHI KASEI [AK4113]
Register Definitions
MS0349-E-01 2005/03
- 38 -
ASAHI KASEI [AK4113]
Input/Output Control
OPS2-0: Output Through Data Select for TX pin (See Table 13; Default: “000”)
TXE: TX pin Output Enable
0: Disable. TX pin outputs “L”.
1: Enable (Default)
UCE: C-bit, U-bit output setting (See Table 12, Default: “0”)
XTL1-0: Reference X’tal frequency Select (See Table 4, Default: 00)
IPS2-0: Input Recovery Data Select (See Table 10; Default: “000”)
DIV: MCKO2 Output Frequency Select at X’tal Mode (See Table 3)
0: x 1 (Default)
1: x 1/2
XMCK: MCKO2 pit output select (See Table 3)
0: Depends on CM1-0 bits and OCKS1-0 bits (Default)
1: Fixed to X’tal Mode
FAST: PLL Lock Time Select
0: ≤ (15ms + 384/fs) (Default)
1: ≤ (15ms + 1/fs)
EFH1-0: INT0 pin Hold Time Select
00: 512/fs
01: 1024/fs (Default)
10: 2048/fs
11: 4096/fs
MS0349-E-01 2005/03
- 39 -
ASAHI KASEI [AK4113]
When mask is set to “1”, corresponding event does not affect INT0 pin operation.
MS0349-E-01 2005/03
- 40 -
ASAHI KASEI [AK4113]
When mask is set to “1”, corresponding event does not affect INT1 pin operation.
MS0349-E-01 2005/03
- 41 -
ASAHI KASEI [AK4113]
Receiver Status 0
STC, QINT, CINT and PAR bits are initialized when 07H is read.
MS0349-E-01 2005/03
- 42 -
ASAHI KASEI [AK4113]
Receiver Status 1
Receiver Status 1
MS0349-E-01 2005/03
- 43 -
ASAHI KASEI [AK4113]
Q-subcode Buffer
MS0349-E-01 2005/03
- 44 -
ASAHI KASEI [AK4113]
sub-frame of IEC60958
0 3 4 7 8 11 12 27 28 29 30 31
16 bits of bitstream
0 15
Pa Pb Pc Pd Burst_payload stuffing
MS0349-E-01 2005/03
- 45 -
ASAHI KASEI [AK4113]
PDN pin
AUTO bit
MS0349-E-01 2005/03
- 46 -
ASAHI KASEI [AK4113]
SYSTEM DESIGN
Figure 44 shows the example of system connection diagram for serial control mode.
3.3V Supply
10u 0.1u
1 DVDD CDTO 30
+
3.3~5V Supply
2 DVSS CDTI 29 Micro-
+
3 TVDD CCLK 28 controller
10u 0.1u
4 V/TX CSN 27
C
5 XTI MCKO1 26
6 XTO MCKO2 25
C
7 PDN DAUX 24
15k±5% AK4113
8 R BICK 23
3.3V Supply
9 AVDD SDTO 22
+
10u
10 AVSS LRCK 21
0.1u
11 RX1
DSP
INT0 20
RX2
and
12 I2C 19
AD/DA
13 RX3 P/SN 18
(see Figure 15,16)
14 RX4 INT1 17
15 RX5 RX6 16
Notes:
- For setting of XTL1-0 bits, refer to Table 4.
- “C” depends on the crystal oscillator
- AVSS and DVSS must be connected the same ground plane.
- Digital signals, especially clocks, should be kept away from the R pin in order to avoid an effect to the clock jitter
performance.
MS0349-E-01 2005/03
- 47 -
ASAHI KASEI [AK4113]
PACKAGE
5.6±0.1
7.6±0.2
1 15
Detail A
0.45±0.2
1.2±0.10
+0.10
0.10 -0.05
0.08
MS0349-E-01 2005/03
- 48 -
ASAHI KASEI AKM CONFIDENTIAL [AK4113]
MARKING
AKM
AK4113VF
XXXBYYYYC
Revision History
IMPORTANT NOTICE
• These products and their specifications are subject to change without notice. Before considering
any use or application, consult the Asahi Kasei Microsystems Co., Ltd. (AKM) sales office or
authorized distributor concerning their current status.
• AKM assumes no liability for infringement of any patent, intellectual property, or other right in the
application or use of any information contained herein.
• Any export of these products, or devices or systems containing them, may require an export license
or other official approval under the law and regulations of the country of export pertaining to
customs and tariffs, currency exchange, or strategic materials.
• AKM products are neither intended nor authorized for use as critical components in any safety, life
support, or other hazard related device or system, and AKM assumes no responsibility relating to
any such use, except with the express written consent of the Representative Director of AKM. As
used here:
(a) A hazard related device or system is one designed or intended for life support or maintenance
of safety or for applications in medicine, aerospace, nuclear energy, or other fields, in which its
failure to function or perform may reasonably be expected to result in loss of life or in significant
injury or damage to person or property.
(b) A critical component is one whose failure to function or perform may reasonably be expected to
result, whether directly or indirectly, in the loss of the safety or effectiveness of the device or
system containing it, and which must therefore meet very high standards of performance and
reliability.
• It is the responsibility of the buyer or distributor of an AKM product who distributes, disposes of, or
otherwise places the product with a third party to notify that party in advance of the above content
and conditions, and the buyer or distributor agrees to assume any and all responsibility and liability
for and hold AKM harmless from any and all claims arising from the use of said product in the
absence of such notification.
MS0349-E-01 2005/03
- 49 -