[AK4103A] AK4103A 192kHz 24-Bit DIT GENERAL DESCRIPTION The AK4103A is a digital audio transmitter (DIT) which supports data rate up to 192kHz sample rate operation. The AK4103A supports AES3, IEC60958, S/PDIF & EIAJ CP1201 interface standards. The AK4103A accepts audio data, auxiliary information data and etc, which is then biphase-encoded and driven on to a cable. The audio serial port supports eight formats. FEATURES Sampling Rate up to 192kHz Support AES3, IEC60958, S/PDIF & EIAJ CP1201 professional and consumer formats Generates CRCC codes and parity bits On-chip RS422 line driver 16-byte on-chip buffer memory for Channel Status and User bits Supports synchronous/asynchronous access to Channel Status and User bits Supports multiple clock frequencies: 128fs, 256fs, 384fs and 512fs Supports Left/Right justified and I2S audio formats Easy to use 4 wire, Serial Host Interface Audio Routing Mode (Transparent Mode) Power supply: 4.75 to 5.25V TTL level I/F Small Package: 24pin VSOP Temperature range of - 40 to 85 °C MS0251-E-01 2009/01 -1- [AK4103A] BICK SDTI C1 U1 Biphase Encoder Register V1 MUX VDD VSS TRANS BLS Prescaler Audio Serial Interface RS422 Line Driver LRCK MCLK CKS0 CKS1 DIF0 DIF1 DIF2 ■ Block Diagram TXP TXN FS0 FS1 CRCC Generator FS2 FS3 MS0251-E-01 PDN ANS CDTO CDTI CCLK CSN Host Serial Interface 2009/01 -2- [AK4103A] ■ Ordering Guide AK4103AVF AKD4103A -40 ∼ +85°C 24pin VSOP (0.65mm pitch) Evaluation Board for AK4103A ■ Pin Layout V1 1 24 U1 TRANS 2 23 DIF2 PDN 3 22 DIF1 MCLK 4 21 DIF0 SDTI 5 20 TXP BICK 6 19 TXN LRCK 7 18 VSS FS0/CSN 8 17 VDD FS1/CDTI 9 16 CKS1 FS2/CCLK 10 15 CKS0 FS3/CDTO 11 14 BLS C1 12 13 ANS Top View ■ Comparison AK4103 with AK4103A Function Ambient Temperature CRCC generation by FS3-0 pins CRCC generation by FS3-0 bits AK4103 -10 ~ 70°C Synchronous mode X Asynchronous mode X O: Input data is reflected to CRCC. X: Input data is ignored for CRCC. MS0251-E-01 AK4103A -40 ~ 85°C O O 2009/01 -3- [AK4103A] PIN/FUNCTION No. 1 2 Pin Name V1 TRANS I/O I I 3 PDN 4 5 6 MCLK SDTI BICK I I I/O 7 LRCK I/O 8 FS0 CSN AKMODE I I I 9 12 13 FS1 CDTI FS2 CCLK FS3 CDTO C1 ANS I I I I I O I I 14 BLS 15 16 17 18 19 20 21 22 23 24 CKS0 CKS1 VDD VSS TXN TXP DIF0 DIF1 DIF2 U1 10 11 I I/O I I O O I I I I Description Validity Bit Input Pin Audio Routing Mode (Transparent Mode) Pin at Synchronous mode 0: Normal mode, 1: Audio routing mode (transparent mode) Power Down & Reset Pin (Pull-up Pin) When “L”, the AK4103A is powered-down, TXP/N pins are “L” and the control registers are reset to default values. Master Clock Input Pin Audio Serial Data Input Pin Audio Serial Data Clock Input/Output Pin Serial Clock for SDTI pin which can be configured as an output based on the DIF2-0 inputs. Input/Output Channel Clock Pin Indicates left or right channel, and can be configured as an output based on the DIF2-0 inputs. Sampling Frequency Select 0 Pin at Synchronous mode (Pull-down Pin) Host Interface Chip Select Pin at Asynchronous mode (Pull-down Pin) AK4112B Mode Pin at Audio routing mode (Pull-down Pin) 0: Non-AKM receivers mode, 1: AK4112B mode Sampling Frequency Select 1 Pin at Synchronous mode (Pull-down Pin) Host Interface Data Input Pin at Asynchronous mode (Pull-down Pin) Sampling Frequency Select 2 Pin at Synchronous mode (Pull-down Pin) Host Interface Bit Clock Input Pin at Asynchronous mode (Pull-down Pin) Sampling Frequency Select 3 Pin at Synchronous mode (Pull-down Pin) Host Interface Data Output Pin at Asynchronous mode (Pull-down Pin) Channel Status Bit Input Pin Asynchronous/Synchronous Mode Select Pin (Pull-up Pin) 0: Asynchronous mode, 1: Synchronous mode Block Start Input/Output Pin (Pull-down Pin) In normal mode, the channel status block output is “H” for the first four bytes. In audio routing mode, the pin is configured as an input. When PDN pin = “L”, BLS pin goes “H” at Normal mode. Clock Mode Select 0 Pin (Pull-up Pin) Clock Mode Select 1 Pin (Pull-down Pin) Power Supply Pin, 4.75V∼5.25V Ground Pin, 0V Negative Differential Output Pin Positive Differential Output Pin Audio Serial Interface Select 0 Pin (Pull-down Pin) Audio Serial Interface Select 1 Pin (Pull-down Pin) Audio Serial Interface Select 2 Pin (Pull-down Pin) User Data Bit Input Pin for Channel 1 (Pull-down Pin) Note 1. Internal pull-up and pull-down resistors are connected on-chip. The value of the resistors is 43kΩ (typ). Note 2. All input pins except internal pull-down/pull-up pins should not be left floating. MS0251-E-01 2009/01 -4- [AK4103A] ABSOLUTE MAXIMUM RATINGS (VSS=0V; Note 3) Parameter Power Supply Input Current (All pins except supply pins) Input Voltage Ambient Operating Temperature Storage Temperature Symbol VDD IIN VIND Ta Tstg min -0.3 -0.3 -40 -65 max 6.0 ±10 VDD+0.3 85 150 Units V mA V °C °C Note 3. All voltages with respect to ground. WARNING: Operation at or beyond these limits may results in permanent damage to the device. Normal operation is not guaranteed at these extremes. RECOMMENDED OPERATING CONDITIONS (VSS=0V; Note 3) Parameter Power Supply Symbol VDD min 4.75 typ 5.0 max 5.25 Units V *AKEMD assumes no responsibility for the usage beyond the conditions in this datasheet. DC CHARACTERISTICS (Ta=25°C; VDD=4.75~5.25V) Parameter Power Supply Current (fs=108kHz, Note 4) High-Level Input Voltage Low-Level Input Voltage High-Level Output Voltage (Except TXP/N pins: Iout=-400µA) (TXP/N pins: Iout= -8mA) Low-Level Output Voltage (Except TXP/N pins: Iout= 400µA) (TXP/N pins: Iout= 8mA) Input Leakage Current Symbol IDD VIH VIL min 2.4 - typ 6 - max 15 0.8 Units mA V V VOH VOH VDD-1.0 VDD-0.8 - - V V VOL VOL Iin - - 0.4 0.6 ±10 V V μA Note 4. Power supply current (IDD) is 3mA(typ)@fs=48kHz and 9mA(typ)@fs=192kHz. IDD increases by 20mA(typ) with professional output driver circuit. IDD is 350μA(typ) if PDN pin = “L”, TRANS pin = “H” and all other input pins except internal pull-up/pulldown pins are held to VSS. MS0251-E-01 2009/01 -5- [AK4103A] SWITCHING CHARACTERISTICS (Ta=25°C; VDD=4.75~5.25V; CL=20pF) Parameter Symbol min Master Clock Timing fCLK 3.584 Frequency dCLK 40 Duty Cycle LRCK Timing fs 28 Frequency dLCK 45 Duty Cycle at Slave Mode Duty Cycle at Master Mode Audio Interface Timing Slave Mode tBCK 36 BICK Period tBCKL 15 BICK Pulse Width Low tBCKH 15 Pulse Width High tLRB 15 LRCK Edge to BICK “↑” (Note 5) tBLR 15 BICK “↑” to LRCK Edge (Note 5) tSDH 8 SDTI Hold Time tSDS 8 SDTI Setup Time Master Mode fBCK BICK Frequency dBCK BICK Duty tMBLR -20 BICK “↓” to LRCK tSDH 20 SDTI Hold Time tSDS 20 SDTI Setup Time Control Interface Timing tCCK 200 CCLK Period tCCKL 80 CCLK Pulse Width Low tCCKH 80 Pulse Width High tCDS 50 CDTI Setup Time tCDH 50 CDTI Hold Time tCSW 520 CSN “H” Time tCSS 50 CSN “↓” to CCLK “↑” tCSH 50 CCLK “↑” to CSN “↑” tDCD CDTO Delay tCCZ CSN “↑” to CDTO Hi-Z (Note 6) Power-down & Reset Timing tPDW 150 PDN Pulse Width typ max Units 27.648 60 MHz % 192 55 kHz % % 50 ns ns ns ns ns ns ns 64fs 50 20 45 70 Hz % ns ns ns ns ns ns ns ns ns ns ns ns ns ns Note 5. BICK rising edge must not occur at the same time as LRCK edge. Note 6. CDTO pin is internally connected to a pull-down resistor. MS0251-E-01 2009/01 -6- [AK4103A] ■ Timing Diagram 1/fCLK VIH MCLK VIL tCLKH tCLKL dCLK = tCLKH x fCLK x 100 = tCLKL x fCLK x 100 1/fs VIH LRCK VIL tBCK VIH BICK VIL tBCKH tBCKL Clock Timing VIH LRCK VIL tBLR tLRB VIH BICK VIL tSDS tSDH VIH SDTI VIL Audio Interface Timing (Slave Mode) LRCK 50%VDD tMBLR 50%VDD BICK tSDS tSDH VIH SDTI VIL Audio Interface Timing (Master Mode) MS0251-E-01 2009/01 -7- [AK4103A] VIH CSN VIL tCSS tCCKL tCCKH VIH CCLK VIL tCDH tCDS C1 CDTI C0 * * VIH VIL Hi-Z (with pull-down resistor) CDTO WRITE/READ Command Input Timing tCSW VIH CSN VIL tCSH VIH CCLK CDTI VIL D3 D2 D1 VIH D0 VIL Hi-Z (with pull-down resistor) CDTO WRITE Data Input Timing VIH CSN VIL VIH CCLK VIL CDTI A1 VIH A0 VIL tDCD CDTO Hi-Z (with pull-down resistor) D7 D6 D5 50%VDD READ Data Output Timing 1 MS0251-E-01 2009/01 -8- [AK4103A] tCSW VIH CSN VIL tCSH VIH CCLK VIL VIH CDTI VIL tCCZ CDTO D3 D2 D1 D0 50%VDD READ Data Output Timing 2 tPDW PDN VIL Power-down & Reset Timing MS0251-E-01 2009/01 -9- [AK4103A] OPERATION OVERVIEW ■ General Description The AK4103A is a monolithic CMOS circuit that biphase-encodes and transmits audio data, auxiliary information data and etc according to the AES3, IEC60958, S/PDIF and EIAJ CP1201 interface standards. There is one set of stereo channels that can be transmitted simultaneously. The chip accepts audio data and auxiliary information data separately, biphase-mark encodes the data internally, and drives it directly or through a transformer to a transmission line. There are two modes of operation: asynchronous and synchronous. See section of “Asynchronous mode / Synchronous mode”. ■ Initialization The AK4103A takes 8 bit clock cycles to initialize after PDN pin goes inactive. Also, for correct synchronization, MCLK should be synchronized with LRCK but the phase is not critical. ■ MCLK and LRCK Relationship For correct synchronization, MCLK and LRCK should be derived from the same clock signal either directly (as through a frequency divider) or indirectly (for example, as through a DSP). The relationship of BICK to LRCK is fixed and should not change. If MCLK or LRCK move such that they are shifted (128fs x 3) or more MCLK cycles from their initial conditions, the chip will reset the internal frame and bit counters. However, control registers are not initialized. The following frequencies are supported for MCLK. CKS1 0 0 1 1 CKS0 0 1 0 1 MCLK 128fs 256fs 384fs 512fs fs 28k-192kHz 28k-108kHz 28k-54kHz 28k-54kHz Table 1. MCLK Frequency ■ Asynchronous Mode/ Synchronous Mode 1. Asynchronous Mode (software controlled) The AK4103A can be configured in the asynchronous mode by connecting the ANS pin to logic “L”. In this mode the 16 to 24-bit audio samples are accepted through a configured audio serial port, and the channel status and user data through a serial control host interface (SCI). The SCI allows access to internal buffer memory and control registers which are used to store the channel status and user data. 4bytes per channel of user and channel status is stored. This data is multiplexed with the audio data from the audio serial port, the parity bit is generated, and the bit stream is biphase-mark encoded and driven through the RS422 line driver. The CRCC code for the channel status is also generated according to the professional mode definition in the AES3 standards. This mode also allows for software control for mute, reset, audio format selection, clock frequency settings and output enables, via the serial host interface. MS0251-E-01 2009/01 - 10 - [AK4103A] 2. Synchronous Mode (hardware controlled) The AK4103A when configured in synchronous mode accepts 16 - 24 bit audio samples through the audio serial port and provides dedicated pins for the control data and allows all channel status, user data and validity bits to be serially input through port pins. This data is multiplexed, the parity bit generated, and the bit stream is biphase-mark encoded and driven through an RS422 line driver. 2-1. Audio Routing Mode (Transparent Mode) The AK4103A can be configured in audio routing mode (transparent mode) by ANS pin = TRANS pin = “H”. In this mode, the channel status(C), user data(U) and validity(V) bits must pass through unaltered. The Block Start(B) signal is configured as an input, allowing the transmit block structure to be slaved to the block structure of the receiver. The C, U and V are now transmitted with the current audio sample. In audio routing mode, no CRCC bytes are generated and C bits pass through unaltered. In audio routing mode, the FS0/CSN pin changes definition to AKMODE pin. When set “H” the AK4103A can be configured directly with the AK4112B receiver. When set “L”, it may be used with other non-AKM receivers. Setting the part with TRANS pin = “H” and ANS pin = “L” is illegal and places the chip into a test mode. ANS Pin TRANS L L L H H H L H Modes Synchronous/Asynchronous Source for C, U and V bits Audio Routing Asynchronous mode C Pin ORed Control Register U Pin ORed Control Register V Pin ORed Control Register Normal mode (Test mode) Normal mode Audio routing mode Synchronous mode C,U and V pin Table 2. Mode setting BLS C (or U,V) C(R191) C(L0) C(R0) C(L1) C(L31) C(R31) C(L32) L0 R0 L1 L31 R31 LRCK (except I2S) LRCK (I2S) SDTI R191 L32 Figure 1. Audio routing mode timing (AKMODE pin = “0”) MS0251-E-01 2009/01 - 11 - [AK4103A] BLS C (or U,V) C(R191) C(L0) C(R0) C(L1) C(L31) C(R31) C(L32) LRCK SDTI (except I2S) R190 L191 R191 L0 L30 R30 L31 SDTI (I2S) L191 R191 L0 R0 R30 L31 R31 Figure 2. Audio routing mode timing (AKMODE pin = “1”) ■ Block Start Timing Normal mode In normal mode (TRANS pin = “L”), the block start signal is an output. It goes “H” two bit cycle after the beginning of channel 2 of frame 0 in each block, and stays “H” for the first 32 frames. Audio Routing Mode (Transparent Mode) In audio routing mode (transparent mode) (ANS pin = TRANS pin = “H”), the block start becomes an input. Except in I2S mode, a block start signal sampled any time from the first positive BICK edge of the previous left channel to the positive BICK edge preceding the transition of an LRCK indicating the left channel will result in the current left channel being taken as the first sub frame of the current block. See Figure 3 below. LRCK 2 (except I S) (n-1)th channel 1 nth channel 1 LRCK 2 (I S) (n-1)th channel 1 nth channel 1 BICK (1) Figure 3. Block start timing in audio routing mode A block start signal arriving during “(1)” period will result in the usage of “nth channel 1” as the first sub-frame of the block. MS0251-E-01 2009/01 - 12 - [AK4103A] ■ C, U, V Serial Ports Normal mode In normal mode (TRANS pin = “L”), the C, U and V bits are captured (either from the pins, in synchronous mode, or the control registers, in the asynchronous mode) in the sub frame following the audio data. The V bit is set to zero to indicate the audio data is suitable for conversion. See Figure 4 and Figure 5. Audio routing mode (transparent mode) In audio routing mode (transparent mode) (ANS pin = TRANS pin = “H”), the C, U and V bits are captured with the same sub-frame as the data to which the C, U and V bits correspond. In all DIF modes except 5 and 7, the C, U and V bits are captured at the first, rising edge of BICK after an LRCK transition. In modes 5 and 7 (I2S), the C, U and V bits are captured at the second rising edge. See Figure 6 and Figure 7. LRCK Channel1 Channel 2 BICK Channel 1 C,U,V C,U,V Previous Channel 2 C, U, V Figure 4. Normal, DIF modes 0/1/2/3/4/6 LRCK Channel 1 Channel 2 BICK Channel 1 C, U, V C,U,V Previous Channel 2 C, U, V Figure 5. Normal, DIF modes 5 and 7 (I2S) LRCK Channel 1 Channel 2 BICK C,U,V Channel 1 C, U, V Channel 2 C, U, V Figure 6. Audio routing, DIF modes 0/1/2/3/4/6 MS0251-E-01 2009/01 - 13 - [AK4103A] Channel 1 LRCK Channel 2 BICK Channel 1 C, U, V C,U,V Channel 2 C, U, V Figure 7. Audio routing, DIF modes 5 and 7 (I2S) ■ Audio Serial Interface The audio serial interface is used to input audio data and consists of three pins: Bit Clock (BICK), Word Clock (LRCK) & Data pin (SDTI). LRCK indicates the particular channel, left or right. The DIF 2-0 pins in synchronous mode and control registers in asynchronous mode select the particular input mode. In asynchronous mode, DIF2-0 bits are logically ORed with DIF2-0 pins. Audio data format supports 16-24 bits, right justified and left justified modes. The I2S mode is also supported. The AK4103A can be configured in master and slave modes. Mode 0 1 2 3 4 5 6 7 DIF2 0 0 0 0 1 1 1 1 DIF1 0 0 1 1 0 0 1 1 DIF0 0 1 0 1 0 1 0 1 SDTI 16bit, Right justified 18bit, Right justified 20bit, Right justified 24bit, Right justified 24bit, Left justified 24bit, I2S 24bit, Left justified 24bit, I2S Master / Slave Slave Slave Slave Slave Slave Slave Master Master LRCK H/L (I) H/L (I) H/L (I) H/L (I) H/L (I) L/H (I) H/L (O) L/H (O) BICK 32fs-128fs (I) 36fs-128fs (I) 40fs-128fs (I) 48fs-128fs (I) 48fs-128fs (I) 50fs-128fs (I) 64fs (O) 64fs (O) Table 3. Audio Data Format Modes [NOTE; (I): Input, (O): Output] LRCK(i) 0 1 2 15 16 17 15 14 30 31 0 1 2 15 16 17 30 31 15 14 1 0 0 1 BICK(i) 1 0 SDTI(i) 15:MSB, 0:LSB Rch Data Lch Data Figure 8. Mode 0 Timing MS0251-E-01 2009/01 - 14 - [AK4103A] LRCK(i) 0 1 2 13 14 15 30 17 16 31 0 1 2 13 14 15 30 31 17 16 1 0 12 13 30 31 19 18 1 0 10 11 30 31 21 20 0 1 0 1 0 1 BICK(i) 1 0 SDTI(i) 17:MSB, 0:LSB Rch Data Lch Data Figure 9. Mode 1 Timing LRCK(i) 0 1 2 11 12 13 30 19 18 31 0 1 2 11 BICK(i) 1 0 SDTI(i) 19:MSB, 0:LSB Rch Data Lch Data Figure 10. Mode 2 Timing LRCK(i) 0 1 8 9 10 11 30 31 23 22 21 20 1 0 0 1 8 9 23 22 BICK(i) 1 0 SDTI(i) 23:MSB, 0:LSB Rch Data Lch Data Figure 11. Mode 3 Timing MS0251-E-01 2009/01 - 15 - [AK4103A] LRCK 0 1 2 21 22 23 21 2 1 0 30 31 0 1 2 21 22 23 21 2 1 0 30 31 0 1 BICK 23 22 23 22 23 22 SDTI(i) 23:MSB, 0:LSB Rch Data Lch Data Figure 12. Mode 4/6 Timing Mode 4: LRCK, BICK: Input Mode 6: LRCK, BICK: Output LRCK 0 1 2 3 23 22 21 22 23 24 2 1 0 31 0 1 2 3 22 23 24 3 2 1 0 31 0 1 BICK SDTI(i) 23 22 23 23:MSB, 0:LSB Rch Data Lch Data Figure 13. Mode 5/7 Timing Mode 5: LRCK, BICK: Input Mode 7: LRCK, BICK: Output MS0251-E-01 2009/01 - 16 - [AK4103A] ■ Sampling frequency setting Bits 3-0 of Channel Status Byte 3 in consumer mode can be set by FS3-0 pins. Also bits 7-6 of Channel Status Byte 0 and bits 6-3 of Channel Status Byte 4 in professional mode can be set by FS3-0 pins. FS[3:0] 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 Sampling Frequency 44.1kHz Not Indicated 48kHz 32kHz 22.05kHz Reserved 24kHz Reserved 88.2kHz Reserved 96kHz Reserved 176.4kHz Reserved 192kHz Reserved Byte 3 Bits 3-0 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 Table 4. Sampling frequency setting (Consumer mode) FS[3:0] 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 Sampling Frequency Not Defined 44.1kHz 48kHz 32kHz Not Defined Not Defined Not Defined Not Defined For vectoring 22.05kHz 88.2kHz 176.4kHz 192kHz 24kHz 96kHz Not Defined Byte 0 Bits 7-6 00 01 10 11 00 00 00 00 00 00 00 00 00 00 00 00 Byte 4 Bits 6-3 0000 0000 0000 0000 0000 0000 0000 0000 1000 1001 1010 1011 0011 0001 0010 1111 Table 5. Sampling frequency setting (Professional mode) MS0251-E-01 2009/01 - 17 - [AK4103A] ■ Data Transmission Format Data transmitted on the TX outputs is formatted in blocks as shown in Figure 14. Each block consists of 192 frames. A frame of data contains two sub-frames. A sub-frame consists of 32 bits of information. Each data bit received is coded using a bi-phase mark encoding as a two binary state symbol. The preambles violate bi-phase encoding so they may be differentiated from data. In bi-phase encoding, the first state of an input symbol is always the inverse of the last state of the previous data symbol. For a logic “0”, the second state of the symbol is the same as the first state. For a “1”, the second state is the opposite of the first. Figure 15 illustrates a sample stream of 8 data bits encoded in 16 symbol states. M Channel 1 W Channel 2 B Channel 1 W Channel 2 M Channel 1 W Channel 2 Sub-frame Frame 191 Sub-frame Frame 0 Frame 1 Figure 14. Block format 0 1 1 0 0 0 1 0 Figure 15. A biphase-encoded bit stream The sub-frame is defined in Figure 16 below. Bits 0-3 of the sub-frame represent a preamble for synchronization. There are three preambles. The block preamble, B, is contained in the first sub-frame of Frame 0. The channel 1 preamble, M, is contained in the first sub-frame of all other frames. The channel 2 preamble, W, is contained in all of the second subframes. Table 6 below defines the symbol encoding for each of the preambles. Bits 4-27 of the sub-frame contain the 24 bit audio sample in 2’s complement format with bit 27 as the most significant bit. For 16 bit mode, Bits 4-11 are all 0. Bit 28 is the validity flag. This is “H” if the audio sample is unreliable. Bit 29 is a user data bit. Frame 0 contains the first bit of a 192 bit user data word. Frame 191 contains the last bit of the user data word. Bit 30 is a channel status bit. Again frame 0 contains the first bit of the 192 bit word with the last bit in frame 191. Bit 31 is an even parity bit for bits 4-31 of the sub-frame. 0 3 4 L S Sync B 27 28 29 30 31 M S V U C P B Audio sam ple Figure 16. Sub-frame format The block of data contains consecutive frames transmitted at a state-bit rate of 64 times the sample frequency, fs. For stereophonic audio, the left or A channel data is in channel 1 while the right or B data is in channel 2. For monophonic audio, channel 1 contains the audio data. Preamble B M W Preceding state = 0 11101000 11100010 11100100 Preceding state = 1 00010111 00011101 00011011 Table 6. Sub-frame preamble encoding MS0251-E-01 2009/01 - 18 - [AK4103A] ■ Line Driver There is an RS422 line driver on chip. The AES3 specification states that the line driver shall have a balanced output with an internal impedance of 110 ohms ±20% and also requires a balanced output drive capability of 2 to 7 volts peakto-peak into 110 ohm load. The internal impedance of the RS422 driver along with a series resistors of 56 ohms realizes this requirement. For consumer use(S/PDIF), the specifications require an output impedance of 75 ohms ±20% and a driver level of 0.5±20% volts peak to peak. A combination of 330 ohms in parallel with 100 ohms realizes this requirement. The outputs can be set to ground by resetting the device or a software mute. 56 0.1u Transformer TXP XLR Connector TXN Figure 17. Professional Output Driver Circuit 330 0.1u Transformer TXP RCA Phono Connector 100 TXN Figure 18. Consumer Output Driver Circuit MS0251-E-01 2009/01 - 19 - [AK4103A] ■ Serial Control Interface In asynchronous mode, four of the dual function pins become CSN, CCLK, CDTI and CDTO, a 4 wire microprocessor interface. The internal 18 byte control register can then be read and written. The contents of the control register define, in part, the mode of operation for the AK4103A. Figure 19 illustrates the serial data flow associated with SCI read and write operations. C1-0 bits are the chip address. The AK4103A looks for C1-0 bits to be a “11” before responding to the incoming data. R/W is the Read/ Write bit which is “0” for a read operation and “1” for a write operation. The register address contained in A7-0 bits is decoded to select a particular byte of the control register. D7-0 bits on CDTI pin is the control data coming from the microprocessor during a write operation. D7-0 bits on CDTO pin is the contents of the addressed byte from the control register requested during a read operation. The address and data bits are framed by CSN pin = “0”. During a write operation, each address and data bit is sampled on the rising edge of CCLK. During a read operation, the address bits are sampled on the rising edge of CCLK while data on CDTO is output on the falling edge of CCLK. CCLK has a maximum frequency of 5 MHz. CSN 0 1 2 3 4 5 6 * * * * * 7 8 9 10 11 12 13 14 15 16 17 18 19 22 23 A6 A5 A4 A3 A2 A1 A0 D7 D6 D5 D4 D3 D2 D1 D0 20 21 CCLK CDTI WRITE C1 C0 Hi-Z (with pull-down resistor) CDTO CDTI READ CDTO R/W A7 C1 C0 * * * * * R/W A7 A6 “L” A5 A4 A3 A2 A1 Hi-Z (with pull-down resistor) C1-C0: R/W: *: A7-A0: D7-D0: A0 D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0 Hi-Z Chip Address (Fixed to “11”) READ/WRITE (0:READ, 1:WRITE) Don’t care Register Address Control Data Figure 19. Control I/F Timing μP AK4103A CSN CCLK CDTI CDTO CSN1 CCLK CDTI CDTO CSN2 AK4103A CSN CCLK CDTI CDTO Figure 20. Typical connection with μP Note:External pull-up resistor should not be attached to CDTO pins since CDTO pin is internally connected to the pull-down resistor. MS0251-E-01 2009/01 - 20 - [AK4103A] ■ Register Map Addr 00H 01H 02H 03H 04H 05H Register Name Clock/Format Control Validity/fs Control A-channel C-bit buffer for Byte 0 A-channel C-bit buffer for Byte 1 A-channel C-bit buffer for Byte 2 A-channel C-bit buffer for Byte 3 06H09H B-channel C-bit buffer for Byte 0-3 0AH0DH A-channel U-bit buffer for Byte 0-3 0EH11H B-channel U-bit buffer for Byte 0-3 D7 CRCE 0 D6 DIF2 0 D5 DIF1 0 D4 DIF0 V1 D3 CKS1 FS3 D2 CKS0 FS2 D1 MUTEN FS1 D0 RSTN FS0 CA7 CA6 CA5 CA4 CA3 CA2 CA1 CA0 CA15 CA14 CA13 CA12 CA11 CA10 CA9 CA8 CA23 CA22 CA21 CA20 CA19 CA18 CA17 CA16 CA31 CA30 CA29 CA28 CA27 CA26 CA25 CA24 CB7 … CB31 UA7 … UA31 UB7 … UB31 … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … CB0 … CB24 UA0 … UA24 UB0 … UB24 … … … Table 7. Register Map Notes: (1) In stereo mode, A indicates Left Channel and B indicates Right Channel. (2) In asynchronous mode, the DIF2-0 and CKS1-0 bits are logically “ORed” with the DIF2-0 and CKS1-0 pins. (3) For addresses from 12H to FFH, data is not written. (4) The PDN pin = “L” resets the registers to their default values. MS0251-E-01 2009/01 - 21 - [AK4103A] ■ Register Definitions Addr 00H Register Name Clock/Format Control R/W Default D7 CRCE R/W 1 D6 DIF2 R/W 0 D5 DIF1 R/W 0 D4 DIF0 R/W 0 D3 CKS1 R/W 0 D2 CKS0 R/W 0 D1 MUTEN R/W 1 D0 RSTN R/W 1 RSTN: Timing Reset. 0: Resets the internal frame and bit counters. Control registers are not initialized. TXP pin is “H” and TXN pin is “L”. In normal mode, BLS pin is “H”. 1: Normal operation. (Default) MUTEN: Power Down and Mute for Asynchronous Mode. 0: Power Down Command. Control registers are not initialized. TXP and TXN pins are “L”. In normal mode, BLS pin is “H”. 1: Normal operation. (Default) CKS1-0: Master Clock Frequency Select. (Table 1) Default: “00” (Mode 0: MCLK=128fs) CKS1-0 bits are logically ORed with CKS1-0 pins. DIF2-0: Audio Data Format. (Table 3) Default: “000” (Mode 0: 16bit right justified) DIF2-0 bits are logically ORed with DIF2-0 pins. CRCE: CRCC Enable at professional mode. 0: CRCC is not generated. 1: CRCC is generated at professional mode. In consumer mode, CRCC is not generated. (Default) Addr 01H Register Name Validity/fs Control R/W Default D7 0 RD 0 D6 0 RD 0 D5 0 RD 0 D4 V1 R/W 0 D3 FS3 R/W 0 D2 FS2 R/W 0 D1 FS1 R/W 0 D0 FS0 R/W 0 FS3-0: Sampling Frequency Select. (Table 4 and Table 5) Default: “0000” (“44.1kHz” in consumer mode; “Not defined” in professional mode. ) V1: Validity Flag. 0: Valid (Default) 1: Invalid MS0251-E-01 2009/01 - 22 - [AK4103A] Addr 02H 06H Register Name A-channel C-bit buffer for Byte 0 B-channel C-bit buffer for Byte 0 R/W Default D7 D6 D5 D4 D3 D2 D1 D0 CA7 CA6 CA5 CA4 CA3 CA2 CA1 CA0 CB7 CB6 CB5 CB4 CB3 CB2 CB1 CB0 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R/W 1 R/W 0 R/W 0 D7 D6 D5 D4 D3 D2 D1 D0 CA15 CA14 CA13 CA12 CA11 CA10 CA9 CA8 CB15 CB14 CB13 CB12 CB11 CB10 CB9 CB8 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 D7 D6 D5 D4 D3 D2 D1 D0 CA23 CA22 CA21 CA20 CA19 CA18 CA17 CA16 R/W 0 R/W 0 R/W 0 R/W 1 R/W 0 R/W 0 R/W 0 R/W 0 C0-7: Channel Status Byte 0 Default: “00100000” Addr 03H 07H Register Name A-channel C-bit buffer for Byte 1 B-channel C-bit buffer for Byte 1 R/W Default C8-15: Channel Status Byte 1 Default: “00000000” Addr 04H Register Name A-channel C-bit buffer for Byte 2 R/W Default CA16-23: Channel Status Byte 2 for A-channel Default: “00001000” Addr 08H Register Name B-channel C-bit buffer for Byte 2 R/W Default D7 D6 D5 D4 D3 D2 D1 D0 CB23 CB22 CB21 CB20 CB19 CB18 CB17 CB16 R/W 0 R/W 0 R/W 1 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 CB16-23: Channel Status Byte 2 for B-channel Default: “00000100” Addr 05H 09H Register Name A-channel C-bit buffer for Byte 3 B-channel C-bit buffer for Byte 3 R/W Default D7 D6 D5 D4 D3 D2 D1 D0 CA31 CA30 CA29 CA28 CA27 CA26 CA25 CA24 CB31 CB30 CB29 CB28 CB27 CB26 CB25 CB24 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R/W 1 R/W 0 C24-31: Channel Status Byte 3 Default: “01000000” MS0251-E-01 2009/01 - 23 - [AK4103A] Addr Register Name 0AH0DH A-channel U-bit buffer for Byte 0-3 0EH11H B-channel U-bit buffer for Byte 0-3 R/W Default D7 UA7 … UA31 UB7 … UB31 R/W 0 D6 … D5 … D4 … D3 … D2 … D1 … … … … … … … … … … … … … … R/W 0 … R/W 0 … R/W 0 … R/W 0 … R/W 0 … R/W 0 D0 UA0 … UA24 UB0 … UB24 R/W 0 U0-31: User Data Default: all “0” ■ Default values of control registers Bits CRCE DIF2-0 CKS1-0 V1 FS3-0 MUTEN RSTN Channel Status Byte0 - Bit0 - Bit1 - Bit2 - Bit3-5 - Bit6-7 Byte1 - Bit0-7 Byte2 - Bit0-3 - Bit4-7 Default 1 000 00 0 0000 1 1 CRCC is generated. 16bit, Right justified MCLK=128fs Valid data fs=44.1kHz Normal Operation Normal Operation 0 Consumer Mode 0 Audio Mode 1 No Copyright 000 No Emphasis 00 Mode 0 00000000 General Category Code 0000 Source Number: Don’t care 1000 Channel A Source channel 0100 Channel B Source channel Byte3 - Bit0-3 0100 fs=48kHz - Bit4-5 00 Standard Clock Accuracy - Bit6-7 00 User Data All zeros Table 8. Default Values of Control Register MS0251-E-01 2009/01 - 24 - [AK4103A] PACKAGE 24pin VSOP (Unit: mm) *7.8±0.15 1.25±0.2 13 A 12 1 0.22 7.6±0.2 *5.6±0.2 24 +0.10 –0.05 0.65 0.15±0.05 0.1±0.1 0.5±0.2 Detail A Seating Plane 0.10 NOTE: Dimension "*" does not include mold flash. 0-10° ■ Package & Lead frame material Package molding compound: Lead frame material: Lead frame surface treatment: Epoxy Cu Solder plate (Pb free) MS0251-E-01 2009/01 - 25 - [AK4103A] MARKING AKM AK4103AVF AAXXXX Contents of AAXXXX AA: Lot# XXXX: Date Code REVISION HISTORY Date (YY/MM/DD) 03/07/28 09/01/09 Revision 00 01 Reason First Edition Specification Change Page Contents 25 PACKAGE The pin width dimension was changed. MS0251-E-01 2009/01 - 26 - [AK4103A] IMPORTANT NOTICE z These products and their specifications are subject to change without notice. When you consider any use or application of these products, please make inquiries the sales office of Asahi Kasei EMD Corporation (AKEMD) or authorized distributors as to current status of the products. z AKEMD assumes no liability for infringement of any patent, intellectual property, or other rights in the application or use of any information contained herein. z 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. z AKEMD products are neither intended nor authorized for use as critical componentsNote1) in any safety, life support, or other hazard related device or systemNote2), and AKEMD assumes no responsibility for such use, except for the use approved with the express written consent by Representative Director of AKEMD. As used here: Note1) 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. Note2) 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. z It is the responsibility of the buyer or distributor of AKEMD products, who distributes, disposes of, or otherwise places the product with a third party, to notify such third 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 AKEMD harmless from any and all claims arising from the use of said product in the absence of such notification. MS0251-E-01 2009/01 - 27 -