AKM AKD5374

[AK5374]
AK5374
24-bit Stereo ADC with USB Interface
GENERAL DESCRIPTION
The AK5374 is a stereo A/D converter with a USB 2.0 interface. The device includes an integrated USB
serial interface engine, a USB transceiver, an audio class processing block, endpoints, and a 24-bit
stereo audio ADC. An integrated PLL enables the use of multiple sampling frequencies. A microphone
amplifier and an integrated programmable gain amplifier are available for processing low-level signals
from an analog microphone element. An external EEP-ROM is used to store the descriptor information.
The AK5374 is housed in a 36-pin package. It is a low power device, operating from +3.3V, and
consuming just 100mW in active mode and less than 100μA in suspend mode.
FEATURES
† USB 2.0 compliant (full speed audio class)
† USB audio controller
USB serial interface engine
Audio class encoder/decoder
† USB synchronization
Synchronous type (synchronize with 1ms SOF)
† 24-bit stereo A/D converter with mute control
S/(N+D) = 85dB, S/N = 91dB (AVDD=3.3V, MIC-Amp = 0dB)
S/(N+D) = 70dB, S/N = 78dB (AVDD=3.3V, MIC-Amp = +30dB)
† Microphone amplifier gain:
0dB, +6dB, +12dB, +18dB, +24dB, +30dB, +36dB
† Digital programmable gain: +24dB ~ -31dB, 1dB Step
† Integrated PLL supports standard sampling frequencies
8kHz, 11.025kHz, 16kHz, 22.05kHz, 32kHz 44.1kHz, 48kHz
† EEP-ROM interface for descriptors
† Power Management
† Low power consumption
30mA in active mode
Less than 100μA in suspend mode
† Power Supply:
Analog Power Supply (AVDD): 3.0 ~ 3.6V
Digital Power Supply (DVDD): 3.0 ~ 3.6V
† Ta = -10 ~ +70°C
† Package:
36pin QFN (5 x 5 mm, 0.4mm pitch)
MS1197-E-00
2010/06
-1-
[AK5374]
■ Block Diagram
EEP-ROM
SPI I/F
VREF VCOM AVDD VSS1
RSTN SUSN DVDD VSS2 VSS3
CSN
1.5kΩ
PMMP
MPWR
INT MIC
MICLP
MICLN
MICRP
EXT MIC
MICRN
DVDD
SK EPAO EPAI
VREF
DP 18Ω
Control
Decode
USB
SIE
USB
Tx/Rx
DN
PMADL
18Ω
PMADL or PMADR
Gain: 0/+6/+12/+18/+24/+30/+36dB
24bit
ADC
DVOL
MUTE
Audio
Stream
Control
PMADR
PLL
(System/Audio)
CKM = “H”
CLKO
XTE = “H”
XTI
LMUTEN RMUTEN
XTO
CLKDRV
24MHz
Figure 1. Block Diagram
MS1197-E-00
2010/06
-2-
[AK5374]
■ Ordering Guide
AK5374EN
AKD5374
−10 ∼ +70°C
36pin QFN (0.4mm pitch)
Evaluation board for AK5374
CKM
XTO
XTI
XTE
CLKDRV
TESTM3
NC
DP
DN
27
26
25
24
23
22
21
20
19
■ Pin Layout
ATIO
28
18
VSS2
VREF
29
17
DVDD
VCOM
30
16
TESTM2
MPWR
31
15
CSN
AVDD
32
14
SK
13
EPAO
AK5374EN
Top View
7
8
9
RSTN
NC
TESTM1
SUSN
10
6
36
TESTM0
NC
5
VSS1
NC
11
4
35
RMUTEN
MICRP
3
EPAI
LMUTEN
12
2
34
MICLP
MICRN
1
33
MICLN
VSS3
MS1197-E-00
2010/06
-3-
[AK5374]
PIN/FUNCTION
No.
Pin Name
I/O
1
2
MICLN
MICLP
I
I
3
LMUTEN
I
4
RMUTEN
I
5
NC
-
6
TESTM0
I
7
SUSN
O
8
RSTN
I
9
NC
-
10
TESTM1
I
11
12
13
14
15
VSS1
EPAI
EPAO
SK
CSN
I
O
O
O
16
TESTM2
I
17
18
19
DVDD
VSS2
DN
I/O
20
DP
I/O
21
NC
-
22
TESTM3
I
23
CLKDRV
O
24
XTE
I
26
MCKI
XTI
XTO
I
I
O
27
CKM
I
25
Function
Left Channel Inverting Input Pin
Left Channel Positive Input Pin
Left Channel Mute Pin
“L”: Mute
“H”: Normal Operation
Right Channel Mute Pin
“L”: Mute
“H”: Normal Operation
No Connect Pin
No internal bonding. Normally connected to VSS1-3.
Test #0 Pin
This pin must be connected to VSS1-3.
Suspend Status Output Pin
“L”: Suspend State
“H”: Normal Operation
Reset Pin
When “L”, the AK5374 is held in reset.
The AK5374 must be always reset upon power-up.
No Connect Pin
No internal bonding. Normally connected to VSS1-3.
Test #1 Pin
This pin must be connected to VSS1-3.
Ground Pin
EEP-ROM Serial Data Input Pin
EEP-ROM Serial Data Output Pin
EEP-ROM Serial Clock Output Pin
EEP-ROM Chip Select Output Pin
Test #2 Pin
This pin must be connected to VSS2.
Digital Power Supply Pin, 3.0 ~ 3.6V
Ground Pin
USB Bus Inverting Pin
USB Bus Positive Pin
This pin must be connected to DVDD with 1.5kΩ resistor.
No Connect Pin
No internal bonding. Normally connected to VSS1-3.
Test #3 Pin
This pin must be connected to VSS1-3.
Clock Drive Output Pin
Crystal Oscillator Enable Pin
“L”: Master Clock Input Mode
“H”: Crystal Oscillator Mode
Master Clock Input Pin (XTE pin = “L”)
Crystal Oscillator Input Pin (XTE pin = “H”)
Crystal Oscillator Output Pin
Crystal Mode Select Pin
“L”: 16MHz
“H”: 24MHz
MS1197-E-00
Reset State
(RSTN pin = “L”)
←
←
←
←
←
←
“L” output
←
←
←
←
←
“Hi-Z”
“Hi-Z”
“Hi-Z”
←
←
←
Input
Input
←
←
“L” output
←
←
←
“L” output
←
2010/06
-4-
[AK5374]
No.
Pin Name
I/O
28
ATIO
I/O
29
30
31
32
33
34
35
VREF
VCOM
MPWR
AVDD
VSS3
MICRN
MICRP
O
O
O
I
I
36
NC
-
Note 1. All digital input pins
floating.
Function
Reset State
(RSTN pin = “L”)
Test Pin
“Input”
This pin must be connected to VSS1-3.
High Level Voltage Reference Output Pin
“L” output
Analog Common Voltage Output Pin
“L” output
Microphone Power Supply Pin
“Hi-Z”
Analog Power Supply Pin, 3.0 ~ 3.6V
←
Ground Pin
←
Right Channel Inverting Input Pin
←
Right Channel Positive Input Pin
←
No Connect Pin
←
No internal bonding. Normally connected to VSS1-3.
(EPAI, CKM, LMUTEN, RMUTEN, XTE and TESTM0/1/2/3 pins) must not be left
MS1197-E-00
2010/06
-5-
[AK5374]
■ Handling of Unused Pin
Unused I/O pins must be processed appropriately as below.
Classification
Analog Input
Analog Output
Digital Input
Digital Output
Pin Name
Setting
MICLP pin is connected to MICLN pin.
MICRP pin is connected to MICRN pin.
This pin must be connected to VSS1-3.
This pin must be open.
These pins must be connected to VSS1-3.
These pins must be connected to DVDD.
These pins must be open.
MICLP, MICLN
MICRP, MICRN
ATIO
MPWR
CKM, XTE, TESTM0/1/2/3
LMUTEN, RMUTEN
SUSN, CLKDRV
ABSOLUTE MAXIMUM RATINGS
(VSS1=VSS2=VSS3=0V; Note 2)
Parameter
Symbol
min
Power Supplies:
Analog
AVDD
-0.3
Digital
DVDD
-0.3
Input Current, Any Pin Except Supplies
IIN
Analog Input Voltage
(Note 3)
VINA
-0.3
Digital Input Voltage
(Note 4)
VIND
-0.3
Ambient Temperature (power applied)
Ta
-10
Storage Temperature
Tstg
-65
Note 2. All voltages with respect to ground.
Note 3. MICLP, MICLN, MICRP and MICRN pins.
Note 4. CKM, LMUTEN, RMUTEN, EPAI, XTE and TESTM0/1/2/3 pins.
max
4.6
4.6
±10
AVDD+0.3
DVDD+0.3
70
150
Units
V
V
mA
V
V
°C
°C
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
(VSS1=VSS2=VSS3=0V; Note 2)
Parameter
Symbol
min
typ
Power Supplies
Analog
AVDD
3.0
3.3
(Note 5) Digital
DVDD
3.0
3.3
Difference
AVDD-DVDD
-0.3
0
Note 2. All voltages with respect to ground.
Note 5: The power up sequence among AVDD and DVDD is not critical.
max
3.6
3.6
+0.3
Units
V
V
V
WARNING: AKM assumes no responsibility for the usage beyond the conditions in this datasheet.
MS1197-E-00
2010/06
-6-
[AK5374]
ANALOG CHARACTERISTICS
(Ta=25°C; AVDD=DVDD=3.3V; VSS1=VSS2=VSS3=0V; Signal Frequency = 1kHz; Sampling
BW = 20Hz to 20kHz, unless otherwise specified)
Parameter
min
typ
Microphone Amplifier: MICLP/MICLN/MICRP/MICRN pins
Input Resistance
10
20
MGAIN0-2 bits = “001”
-1
0
MGAIN0-2 bits = “010”
+5
+6
MGAIN0-2 bits = “011”
+11
+12
Gain
MGAIN0-2 bits = “100”
+17
+18
MGAIN0-2 bits = “101”
+23
+24
MGAIN0-2 bits = “110”
+29
+30
MGAIN0-2 bits = “111”
+35
+36
Microphone Power Supply: MPWR pin
Output Voltage
1.9
2.2
Output Current
ADC Analog Input Characteristics: MICLP/MICLN/MICRP/MICRN pins
Resolution
(Note 6)
±1.00
±1.20
Input Voltage
±0.038
(Note 7)
(Note 6)
75
85
S/(N+D) (-1dBFS)
70
(Note 7)
(Note 6)
81
91
Dynamic Range (−60dBFS, A-weighted)
78
(Note 7)
(Note 6)
81
91
S/N (A-weighted)
78
(Note 7)
Power Supplies:
Power Supply Current
Normal operation (internal ADC mode)
AVDD
10
DVDD
20
Power down
RSTN pin = “L” (Note 8)
10
Suspend mode
10
Note 6. MGAIN2-0 bits = “001” (0dB)
Note 7. MGAIN2-0 bits = “110” (+30dB)
Note 8. All digital input pins are fixed to DVDD or VSS2.
MS1197-E-00
Frequency = 48kHz;
max
Units
+1
+7
+13
+19
+25
+31
+37
kΩ
dB
dB
dB
dB
dB
dB
dB
2.5
2.0
V
mA
24
±1.40
-
Bits
Vpp
Vpp
dB
dB
dB
dB
dB
dB
15
30
mA
mA
100
100
μA
μA
2010/06
-7-
[AK5374]
FILTER CHARACTERISTICS
(Ta=-10 ~ +70°C; AVDD=DVDD=3.0 ~ 3.6V; fs=48kHz)
Parameter
Symbol
min
typ
max
Units
ADC Digital Filter
Passband (Note 9)
-0.07 ~ +0.15dB
PB
0
18.9
kHz
-0.2dB
20.3
kHz
-3.0dB
22.9
kHz
-6.0dB
23.9
kHz
Stopband
SB
28.0
kHz
Passband Ripple
PR
-0.07
+0.15
dB
Stopband Attenuation
SA
68.0
dB
Group Delay
GD
14
1/fs
Group Delay Distortion
ΔGD
0
μs
ADC Digital Filter (HPF):
Frequency Response (Note 9)
-3.0dB
FR
0.93
Hz
-0.1dB
6.1
Hz
Note 9. The passband and stopband frequencies scale with fs (system sampling rate). Each response refers to that of 1kHz
DC CHARACTERISTICS
(Ta=-10 ~ +70°C; AVDD=DVDD=3.0 ∼ 3.6V)
Parameter
Symbol
min
typ
max
Units
High-Level Input Voltage
(Note 11)
VIH
70%DVDD
V
Low-Level Input Voltage
(Note 11)
VIL
30%DVDD
V
VOH
V
High-Level Output Voltage
DVDD−0.2
(Note 12, Iout=−200μA)
VOL
0.2
V
Low-Level Output Voltage
(Note 12, Iout=200μA)
Input Leakage Current
(Note 13)
Iin
±10
μA
Note 10. All digital pins except for DP, DN pins. Schmitt hysteresis level of RSTN pin and levels of all test pins are not
tested.
Note 11. EPAI, CKM, LMUTEN, RMUTEN, RSTN, XTE and TESTM0/1/2/3 pins.
Note 12. CSN, SK, EPAO, SUSN and CLKDRV pins.
Note 13. Expect for EPAI pin. EPAI pin has internal pull-down device, nominally 100kΩ.
MS1197-E-00
2010/05
-8-
[AK5374]
SWITCHING CHARACTERISTICS
(Ta=25°C; AVDD=DVDD=3.3V; CL=50pF)
Parameter
Symbol
min
typ
Master Clock Frequency
Crystal Resonator
CKM pin = “L”
fXTAL1
16
CKM pin = “H”
fXTAL2
24
USB Interface
DP, DN Single Ended Receiver Threshold
(High-Level)
VseH
2.0
(Low-Level)
VseL
Time Width for USB Reset Signal Recognition
(DP<VseL & DN< VseL to USB Reset mode)
Trst_rec
2.7
Device Ready Time from USB Reset
(Ready for transaction after reset)
Tdrr
Time Width for Suspend Recognition
(Idle state DP > VseL & DN < VseL to Suspend mode) Tsus_rec
3.0
Resume Time from Suspend
(Note 14)
(First flip of DP/DN from Idle sate to Device Ready)
Tresm
USB Transmitter
Data Rate
DR
11.97
12
Output Impedance (Hi)
(Note 15)
(DP, DN pins = “H”, Iout = -10mA)
Roh
36
Output Impedance (Lo)
(Note 15)
(DP, DN pins = “L”, Iout = 10mA)
Rol
36
“H” level Output Voltage
(Iout = -200µA)
Vohd
2.8
“L” level Output Voltage
(Iout = 2.2mA)
Vold
Tri-state Leakage Current (0 < DP, DN < 3.3V)
Iolk
-10
Rise/Fall Time
Trf/Tff
4
12
Rise/Fall Time Matching
Trfm
100
Crossover Point
Vcrs
1.65
USB Receiver
Common Mode Range
CMR
0.8
Differential Input Sensitivity
DIS
200
Schmitt High Level Voltage
Vihs
2.0
Schmitt Low Level Voltage
Vils
Note 14. VREF, X’tal oscillator, and PLL get stable and bus transaction with normal rate is ready.
Note 15. Including an external 18Ω (±1%) resistor in series.
Parameter
Symbol
SPI (EEP-ROM) Control Interface Timing
SK Frequency
fSK
SK Duty Cycle
dSK
EPAI Delay
tCD
CSN Edge to SK “↑”
tCSS
SK “↓” to CSN Edge
tCSH
CSN “H” Time
tCSW
EPAI Setup Time
tCDS
EPAI Hold Time
tCDH
One Shot Mute Timing
One Shot Mute Input Width
Wosm
Reset Timing
Reset Input Width (Note 16)
Wrst
Note 16. The AK5374 can be reset by the RSTN pin = “L”.
MS1197-E-00
max
Units
-
MHz
MHz
0.8
V
V
-
μs
10
ms
-
ms
30
ms
12.03
MHz
-
Ω
0.3
10
20
-
Ω
V
V
μA
ns
%
V
2.5
0.8
V
mV
V
V
min
typ
max
Units
300
300
300
100
100
1.5
50
-
100
-
MHz
%
ns
ns
ns
ns
ns
ns
10
-
-
μs
1.0
-
-
μs
2010/05
-9-
[AK5374]
■ Timing Diagrams
m in 2 0ms
re sume time
DVDD
min 10 ms
re sume recove ry tim e
Resum e
DP
DN
RSTN
PLL
Clock
Tdrr
Trst_rec
Reset Mode
Device
Connected
Figure 2. Mode change with respect to BUS States 1 (Power on and device connected)
Tsus_rec
DVDD “H”
D+
DRSTN “H”
PLL
Clock
Tresm
Figure 3. Mode Change with respect to Bus States 2 (Bus transactions)
Trf
Trs
Tff
Tfs
90% DVDD
DP, DN
10% DVDD
Figure 4. Rise/Fall Time
Vcrs
DP, DN
Figure 5. Crossover Point
Vihs
DP, DN
Vils
Figure 6. Schmitt Level Voltage
Wrst
RSTN
VIL
Figure 7. Power-down & Reset Timing
MS1197-E-00
2010/05
- 10 -
[AK5374]
W osm
LMUTEN
RMUTEN
VIL
Figure 8. One Shot Mute Timing
tCSW
CSN
50%DVDD
tCSS
tSKL
tCSH
tSKH
SK
50%DVDD
1 / fSK
dSK = tSKL x fSK x 100
tSKH x fSK x 100
tCD
EPAO
50%DVDD
tCDS
tCDH
Hi-Z
Hi-Z
EPAI
D7
D0
70%DVDD
30%DVDD
Figure 9. SPI (EEP-ROM) Control Interface Timing
MS1197-E-00
2010/05
- 11 -
[AK5374]
OPERATION OVERVIEW
■ Overview of AK5374
The AK5374 is a stereo A/D converter with USB interface. It is easy to use since the control logic including USB audio
class, stereo differential microphone amplifiers, two PLL’s USB serial interface engine, and FIFO are integrated. All
Descriptor contents are stored in EEP-ROM and customizable. For example, when supporting a mono microphone by
48kHz sampling rate only, what needed to be done is to prepare appropriate USB descriptor. There is no need for writing
program codes.
The AK5374 integrates the following blocks:
1.
24bit High Performance Stereo A/D Converter
a) S/N: 91dB (MIC Gain=0dB), S/N: 78dB (MIC Gain=+30dB)
2.
MIC Power Supply
a) Output Voltage: 2.2V (typ)
3.
Differential Microphone Amplifier
a) Setting of Gain: 0dB, +6dB, +12dB, +18dB, +24dB, +30dB, +36dB
4.
Digital Programmable Gain
a) Gain Range: from +24dB to -31dB (Setting of gain: Max, Min and Initial value)
b) Gain Step: 1dB/step (Fix)
5.
PLL
a) 16.0MHz or 24.0MHz crystal generator with output buffer (Available for External Clock input)
b) Two PLLs
- A/D_PLL: generate audio clock
- System_PLL: generate USB system clock
6.
Audio Synchronization Type
a) Synchronous Type
- Isochronous transfer uses Synchronous type synchronization which is synchronous to SOF (start of
frame) packets which are issued per 1ms.
7.
USB Audio Format
a) Supports 7 Frequencies: 8kHz, 11.025kHz, 16kHz, 22.05kHz, 32kHz, 44.1kHz, 48kHz
b) Stereo/Mono 24bit/16bit/8bit LSB first
8.
FIFO
a) Synchronization between A/D converter and USB bus
- Memory Size 576 bytes: 24bit (3 bytes) x 48 samples x 2 channel x 2 frames
9.
USB Serial Interface Engine
a) Process USB Standard Requests
10. Control block of Audio Device Class
a) Translate internal A/D format to USB audio class format
b) Process USB Audio Class Request
- Mute
- Gain/Attenuation
- Sampling Frequency Control
11. USB transceiver
12. EEP-ROM I/F
SPI™ (4-wire) type EEP-ROM can be used to customize all USB descriptors and any functions.
- 8K bits (AK6506C) or larger
13. USB Suspend/Resume Support
14. Stand-alone Mute
a) Zero Crossing detection mute or One Shot mute (not support HID function)
MS1197-E-00
2010/05
- 12 -
[AK5374]
■ Clock Source
16MHz or 24 MHz crystal resonator can be used as the master clock. When the CKM pin is set to “H”, the AK5374
supports 24MHz, and supports 16MHz when the CKM pin is set to “L”. The AK5374 can drive the clock up to three
external loads. The AK5374 generates 48MHz for system clock from 16MHz or 24MHz by system PLL circuit.
CKM pin
X’tal Frequency
L
16.0MHz
H
24.0MHz
Table 1. Reference X’tal frequency
The clock for the MCKI/XTI pin can be generated by the following methods:
1) X’tal (XTE pin = “H”)
CLKO bit
MCKI/XTI
CLKDRV
XTO
AK5374
Note 17. External capacitance depends on the crystal oscillator (Max. 30pF)
Figure 10. X’tal Mode
2) External clock (XTE pin = “L”)
CLKO bit
MCKI/XTI
CLKDRV
External Clock
XTO
AK5374
Note 18. Input clock must not exceed DVDD.
Figure 11. External clock mode
MS1197-E-00
2010/05
- 13 -
[AK5374]
■ MIC Gain Amplifier
The AK5374 has a gain amplifier for microphone inputs. The gain of MIC-Amp is selected by the MGAIN2-0 bits (Table
2).
MGAIN2 MGAIN1 MGAIN0
Input Gain
bit
bit
bit
0
0
0
0dB
0
0
1
0dB
0
1
0
+6dB
0
1
1
+12dB
1
0
0
+18dB
1
0
1
+24dB
1
1
0
+30dB
1
1
1
+36dB
Table 2. Mic Input Gain (x: Don’t care)
■ MIC Power
When PMMP bit = “1”, the MPWR pin supplies power for the microphone. This output voltage is typically 2.2V and the
output current is maximum 2.0mA. In case of using two sets of stereo full-differential microphones, the load resistance is
minimum 1kΩ for each channel. Any capacitor must not be connected directly to the MPWR pin (Figure 12).
PMMP bit
MPWR pin
0
Hi-Z
1
Output
Table 3. MIC Power
MIC Power
MICLP
≥ 1kΩ
MPWR
≥ 1kΩ
VREF
Microphone
MICLN
MICRP
AK5374
≥ 1kΩ
MICRN
≥ 1k Ω
Microphone
Figure 12. MIC Block Circuit
MS1197-E-00
2010/05
- 14 -
[AK5374]
■ Digital High Pass Filter
The ADC has a digital high pass filter for DC offset cancellation. The cut-off frequency of the HPF is 0.93Hz at
fs=48kHz. The digital high pass filter cut-off frequency scales with the sampling rate (fs). The HPF is always enabled.
■ Audio Data Format
The AK5374 supports 8bit, 16bit and 24bit audio data format and outputs LSB first to USB bus.
1) 8bit mono data format on the USB
Sample #
bit position
#1
#2
#3
mono
mono
mono
8 bit
8bit
8 bit
0-7
0-7
0-7
Table 4. Audio Data Format for 8bit mono
···
···
···
···
2) 16bit stereo data format on the USB
Sample #
bit position
#1
#2
L-ch data
R-ch data
L-ch data
R-ch data
Lower Upper Lower Upper Lower
Upper Lower Upper
8 bit
8 bit
8 bit
8 bit
8 bit
8 bit
8bit
8 bit
0-7
8-15
0-7
8-15
0-7
8-15
0-7
8-15
Table 5. Audio Data Format for 16bit stereo
···
···
···
···
3) 24bit stereo data format on the USB
Sample #
bit position
#1
#2
L-ch data
R-ch data
L-ch data
R-ch data
Lower Middle Upper Lower Middle Upper Lower Middle Upper Lower Middle Upper
8 bit
8 bit
8 bit 8 bit
8 bit
8 bit 8 bit
8 bit
8 bit 8 bit
8 bit
8 bit
0-7
8-15 16-23 0-7
8-15 16-23 0-7
8-15 16-23 0-7
8-15
16-23
Table 6. Audio Data Format for 24bit stereo
MS1197-E-00
···
···
···
···
2010/05
- 15 -
[AK5374]
■ Volume & Mute Control
The AK5374 has a digital volume control which ranges from +24dB to -31dB in 1dB step. The maximum volume, the
minimum and default volumes are defined by EEP-ROM header setting.
When ZCE bit = “1” (Zero cross detection enable), L-channel and R-channel volumes are changed independently on zero
cross or zero cross timeout. Zero cross timeout is set by ZTM1-0 bits (Table 7). When ZCE bit = “0” (zero cross detection
disable), the volume is changed immediately. Mute operation and zero cross detection have the same relation as the
volume mentioned in this section.
ZTM1
bit
0
0
1
1
ZTM0
bit
0
1
0
1
Zero Crossing Timeout Period
8kHz
16kHz
44.1kHz
128/fs
16ms
8ms
2.9ms
256/fs
32ms
16ms
5.8ms
512/fs
64ms
32ms
11.6ms
1024/fs
128ms
64ms
23.2ms
Table 7. Zero Crossing Timeout Period
The AK3573 has the LMUTEN and RMUTEN pins. and they can control mute operations from the device side. However,
because the AK5374 does not have HID function, the mute operation by these pins cannot be acknowledged by the host.
There are two modes for the mute operation by LMUTEN and RMUTEN pins; one is normal mute and the other is
one-shot mute.
In normal mute operation (OSME bit = “0”), mute is executed on zero cross or zero cross timeout when the LMUTEN and
RMUTEN pins = “L” if zero cross detection is enabled. When zero cross detection is disabled, it is executed immediately.
In case that the LMUTEN and RMUTEN pins = “H”, mute is released on zero cross or zero cross timeout if the zero cross
detection is enabled. When zero cross detection is disabled, it is released immediately.
LMUTEN pin
RMUTEN pin
Zero cross
AD data
Set Value
Volume
(ZCE bit = “1”)
-∞
Set Value
Volume
(ZCE bit = “0”)
-∞
Figure 13. Normal Mute for LMUTEN, RMUTEN pins
MS1197-E-00
2010/05
- 16 -
[AK5374]
In one-shot mute operation (OSME bit = “1”), mute is executed on zero cross or zero cross timeout after detecting a falling
edge of the LMUTEN and RMUTEN pins. The AK5374 releases the mute on zero cross or zero cross timeout after mute
hold period which is set by MHLD7-0 bits.
LMUTEN pin
RMUTEN pin
Zero cross
AD data
Set Value
Volume
-∞
Mute Hold 1~255/fs
(MHLD7-0 bits)
Figure 14. One Shot Mute for LMUTEN, RMUTEN pins
MS1197-E-00
2010/05
- 17 -
[AK5374]
■ Power Management Control
USB specifies that the current at suspend mode must not exceed 500μA. When the USB host is in suspend mode, the
SUSN pin also becomes to “L” in order to notify this mode to the external components like DSP’s to observe USB
specification.
■ Synchronization
The AK5374 supports synchronous type synchronization which is synchronous to SOF (start of frame) packets which are
issued per 1ms.
■ Descriptor’s Customization
USB audio class has very flexible, but complicated format. In order to keep both of the flexibility and simplicity to use,
the AK5374 utilizes the precompiled control information in EEP-ROM instead of direct USB audio class decoding. Data
in EEP-ROM is divided into two blocks; header information block and USB descriptor block. Header block size is fixed
while USB descriptor block size is variable. Header information includes various control information such as audio
format, the microphone’s gain, power management information, and etc. When the device is powered up, at first the
AK5374 reads the header block in EEP-ROM, and maps these values into the internal registers. Note that 8k bits or larger
SPI type EEP-ROM is available.
The AK5374 does not store all of the descriptors into internal memory at the boot time. Instead, the AK5374 reads the
descriptor from EEP-ROM and transmit it when it receives the “Get Descriptor” Request command. The AK5374
transmits NAK until it is ready to send data.
Header Information includes
1) Power Management Information
2) Microphone Gain
3) Mute Control Information
4) Descriptor related information
a) PCM format(stereo/mono, resolution) and the related alternate setting number
b) Endpoint number
c) Initial/Minimum/Maximum Volume
MS1197-E-00
2010/05
- 18 -
[AK5374]
■ EEP-ROM Control Interface
Register information and descriptor information on EEP-ROM are read by SPI I/F (CSN, SK, EPAO and EPAI) pins. The
data on the I/F consists of Instruction Byte, Address Byte (MSB first, 16bits) and Input Data Byte (MSB first, 8bits). The
AK5374 outputs Instruction Byte and Address Byte on a falling edge of SK and down-loads address data from EPAI. The
next address data is read by sending SK signal continuously. Data reading ends by a rising edge of CSN. SK clock speed
is typically 1.5MHz. The AK5374 reads data from EEP-ROM according to a request signal from the USB host after
releasing a reset.
CSN
0
1
2
3
4
5
6
7
8
9
10
11 12 13 14 16 17 18 19 20 21 22 23 24 25 26
27 28 29 30 31
32 33
34 35 36 37 38 39 40 41 42
SK
Instruction
EPAO
0
0
0
0
0
Address (n)
0
1
1
0
0
0
0
0
0
A9 A8 A7 A6 A5 A4 A3 A2 A1 A0
Data (n)
EPAI
“H” or “L”
Data (n+1)
D7 D6 D5 D4 D 3 D2 D1 D0 D7 D 6 D5 D4 D3 D2 D1 D0 D8 D7
D1 D0
Figure 15. EEP-ROM I/F Read Sequence
■ EEP-ROM memory map
<Header Block> 32 Bytes (fixed)
Addr
000H
001H
002H
003H
004H
005H
006H
007H
008H
009H
00AH
00BH
00CH
00DH
00EH
00FH
010H
011H
012H
013H
014H
015H
016H
017H
018H
019H
01AH
01BH
01CH
01DH
01EH
01FH
Name
Power Management
Microphone Gain Control
Reserved
PCM Format Alt 1
PCM Format Alt 2
PCM Format Alt 3
PCM Format Alt 4
PCM Format Alt 5
PCM Format Alt 6
PCM Format Alt 7
Sampling Frequency Alt 1
Sampling Frequency Alt 2
Sampling Frequency Alt 3
Sampling Frequency Alt 4
Sampling Frequency Alt 5
Sampling Frequency Alt 6
Sampling Frequency Alt 7
Endpoint Number
Initial Volume
Minimum Volume
Maximum Volume
Mute Control 1
Mute Control 2
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
D7
D6
0
0
0
INTFQ12
INTFQ22
INTFQ32
INTFQ42
INTFQ52
INTFQ62
INTFQ72
VALID1
VALID2
VALID3
VALID4
VALID5
VALID6
VALID7
0
INTVOL7
MINVOL7
MAXVOL7
0
MHT7
0
0
0
0
0
0
0
0
0
0
0
0
INTFQ11
INTFQ21
INTFQ31
INTFQ41
INTFQ51
INTFQ61
INTFQ71
FS48K1
FS48K2
FS48K3
FS48K4
FS48K5
FS48K6
FS48K7
0
INTVOL6
MINVOL6
MAXVOL6
0
MHT6
0
0
0
0
0
0
0
0
0
D5
D4
D3
D2
0
SELF
0
CLKO
0
PMMP
0
MGAIN2
0
0
0
0
INTFQ10
MIX1
RES11
RES10
INTFQ20
MIX2
RES21
RES20
INTFQ30
MIX3
RES31
RES30
INTFQ40
MIX4
RES41
RES40
INTFQ50
MIX5
RES51
RES50
INTFQ60
MIX6
RES61
RES60
INTFQ70
MIX7
RES71
RES70
FS44K1
FS32K1
FS22K1
FS16K1
FS44K2
FS32K2
FS22K2
FS16K2
FS44K3
FS32K3
FS22K3
FS16K3
FS44K4
FS32K4
FS22K4
FS16K4
FS44K5
FS32K5
FS22K5
FS16K5
FS44K6
FS32K6
FS22K6
FS16K6
FS44K7
FS32K7
FS22K7
FS16K7
0
0
0
EPNO2
INTVOL5 INTVOL4 INTVOL3 INTVOL2
MINVOL5 MINVOL4 MINVOL3 MINVOL2
MAXVOL5 MAXVOL4 MAXVOL3 MAXVOL2
0
0
OSME
ZCE
MHT5
MHT4
MHT3
MHT2
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
MS1197-E-00
D1
D0
PMADR
MGAIN1
0
SIGNED1
SIGNED2
SIGNED3
SIGNED4
SIGNED5
SIGNED6
SIGNED7
FS11K1
FS11K2
FS11K3
FS11K4
FS11K5
FS11K6
FS11K7
EPNO1
INTVOL1
MINVOL1
MAXVOL1
ZTM1
MHT1
0
0
0
0
0
0
0
0
0
PMADL
MGAIN0
0
STEREO1
STEREO2
STEREO3
STEREO4
STEREO5
STEREO6
STEREO7
FS8K1
FS8K2
FS8K3
FS8K4
FS8K5
FS8K6
FS8K7
EPNO0
INTVOL0
MINVOL0
MAXVOL0
ZTM0
MHT0
0
0
0
0
0
0
0
0
0
2010/05
- 19 -
[AK5374]
<Descriptor Block>
Addr
020H ~ 023H
024H ~ 0A3H
0A4H ~ 123H
124H ~ 1A3H
1A4H ~ 1B5H
1B6H ~ 1BEH
1BFH ~ 1C7H
1C8H ~ 1D0H
1D1H ~ 1DCH
1DDH ~ 1E5H
1E6H ~
Descriptor
Language ID String Descriptor
iManufacturer String Descriptor
iProduct String Descriptor
iSerial Number String Descriptor
Device Descriptor
Configuration Descriptor
Standard Audio Control Interface Descriptor
Class-specific Audio Control Interface Descriptor
Input Terminal Descriptor
Output Terminal Descriptor
Feature Unit Descriptor
Zero-bandwidth Alternate Setting 0
Standard AS Interface Descriptor
Alternate Setting 1
Standard AS Interface Descriptor
Class-specific AS General Interface Descriptor
Type 1 Format Type Descriptor
Standard Endpoint Descriptor
Class-specific Isochronous Audio Data Endpoint Descriptor
Alternate Setting 2
Standard AS Interface Descriptor
Class-specific AS General Interface Descriptor
Type 1 Format Type Descriptor
Standard Endpoint Descriptor
Class-specific Isochronous Audio Data Endpoint Descriptor
Alternate Setting 3
Standard AS Interface Descriptor
Class-specific AS General Interface Descriptor
Type 1 Format Type Descriptor
Standard Endpoint Descriptor
Class-specific Isochronous Audio Data Endpoint Descriptor
Alternate Setting 4
Standard AS Interface Descriptor
Class-specific AS General Interface Descriptor
Type 1 Format Type Descriptor
Standard Endpoint Descriptor
Class-specific Isochronous Audio Data Endpoint Descriptor
Alternate Setting 5
Standard AS Interface Descriptor
Class-specific AS General Interface Descriptor
Type 1 Format Type Descriptor
Standard Endpoint Descriptor
Class-specific Isochronous Audio Data Endpoint Descriptor
Alternate Setting 6
Standard AS Interface Descriptor
Class-specific AS General Interface Descriptor
Type 1 Format Type Descriptor
Standard Endpoint Descriptor
Class-specific Isochronous Audio Data Endpoint Descriptor
Alternate Setting 7
Standard AS Interface Descriptor
Class-specific AS General Interface Descriptor
Type 1 Format Type Descriptor
Standard Endpoint Descriptor
Class-specific Isochronous Audio Data Endpoint Descriptor
Size
4 bytes
128 bytes (max)
128 bytes (max)
128 bytes (max)
18 bytes
9 bytes
9 bytes
9 bytes
12 bytes
9 bytes
8 or 10 bytes
9 bytes
9 bytes
6 bytes
11 ~ 29 bytes
9 bytes
7 bytes
9 bytes
6 bytes
11 ~ 29 bytes
9 bytes
7 bytes
9 bytes
6 bytes
11 ~ 29 bytes
9 bytes
7 bytes
9 bytes
6 bytes
11 ~ 29 bytes
9 bytes
7 bytes
9 bytes
6 bytes
11 ~ 29 bytes
9 bytes
7 bytes
9 bytes
6 bytes
11 ~ 29 bytes
9 bytes
7 bytes
9 bytes
6 bytes
11 ~ 29 bytes
9 bytes
7 bytes
Note 19. Read address after a reset release: 000H~016H, 024H, 0A4H, 124H, 1B8H~1B9H (Total 28bytes)
Note 20. The data address must be written slide forward if the number of bytes is less than the data size above in the
address after 1E6H.
Note 21. The setting of 003H~011H and the setting after 1F9H must be matched.
MS1197-E-00
2010/05
- 20 -
[AK5374]
Addr
00H
Register Name
Power Management
D7
0
D6
0
D5
0
D4
SELF
D3
0
D2
CLKO
D1
PMADR
D0
PMADL
PMADL: MIC-Amp Lch and ADC Lch Power Management
“0”: Power-up
“1”: Power-down
PMADR: MIC-Amp Rch and ADC Rch Power Management
“0”: Power-up
“1”: Power-down
CLKO: Master Clock Output Driver Power Management
“0”: Power-up
“1”: Power-down
SELF: Self Power Mode Enable
“0”: Bus Power Mode
“1”: Self Power Mode
Addr
01H
Register Name
D7
D6
D5
D4
D3
D2
D1
D0
0
0
0
PMMP
0
MGAIN2
MGAIN1
MGAIN0
Microphone Gain Control
MGAIN2-0: MIC-Amp Gain Control
“000”: 0dB
“001”: 0dB
“010”: +6dB
“011”: +12dB
“100”: +18dB
“101”: +24dB
“110”: +30dB
“111”: +36dB
PMMP: MPWR pin Power Management
“0”: Power-up
“1”: Power-down: Hi-z
MS1197-E-00
2010/05
- 21 -
[AK5374]
Addr
03H
04H
05H
06H
07H
08H
09H
Register Name
PCM Format Alt 1
PCM Format Alt 2
PCM Format Alt 3
PCM Format Alt 4
PCM Format Alt 5
PCM Format Alt 6
PCM Format Alt 7
D7
INTFQ12
INTFQ22
INTFQ32
INTFQ42
INTFQ52
INTFQ62
INTFQ72
D6
INTFQ11
INTFQ21
INTFQ31
INTFQ41
INTFQ51
INTFQ61
INTFQ71
D5
INTFQ10
INTFQ20
INTFQ30
INTFQ40
INTFQ50
INTFQ60
INTFQ70
D4
MIX1
MIX2
MIX3
MIX4
MIX5
MIX6
MIX7
D3
RES11
RES21
RES31
RES41
RES51
RES61
RES71
D2
RES10
RES20
RES30
RES40
RES50
RES60
RES70
D1
SIGNED1
SIGNED2
SIGNED3
SIGNED4
SIGNED5
SIGNED6
SIGNED7
D0
STEREO1
STEREO2
STEREO3
STEREO4
STEREO5
STEREO6
STEREO7
STEREO: Mono/Stereo Mode Select
“0”: Mono
“1”: Stereo
SIGNED: Unsigned/Signed Mode Select
“0”: Unsigned (“0” is valid only when the resolution is 8 bit)
“1”: Signed
RES1-0: ADC Resolution Mode Select
“00”: 8bit
“01”: 16bit
“10”: 24bit
MIX: ADC Data Mix Control
“0”: Lch and Rch are not mixed.
“1”: Lch and Rch are mixed. Dynamic range and S/N can be improved by approximately 3dB when the same analog
signal is inputted to left and right channels.
INTFQ2-0: Initial Sampling Frequency
“000”: 8kHz,
“001”: 11.025kHz
“010”: 16kHz,
“011”: 22.05kHz
“100”: 32kHz,
“101”: 44.1kHz
“110”: 48kHz
MS1197-E-00
2010/05
- 22 -
[AK5374]
Addr
0AH
0BH
0CH
0DH
0EH
0FH
10H
Register Name
Sampling Frequency Alt 1
Sampling Frequency Alt 2
Sampling Frequency Alt 3
Sampling Frequency Alt 4
Sampling Frequency Alt 5
Sampling Frequency Alt 6
Sampling Frequency Alt 7
D7
VALID1
VALID2
VALID3
VALID4
VALID5
VALID6
VALID7
D6
FS48K1
FS48K2
FS48K3
FS48K4
FS48K5
FS48K6
FS48K7
D5
FS44K1
FS44K2
FS44K3
FS44K4
FS44K5
FS44K6
FS44K7
D4
FS32K1
FS32K2
FS32K3
FS32K4
FS32K5
FS32K6
FS32K7
D3
FS22K1
FS22K2
FS22K3
FS22K4
FS22K5
FS22K6
FS22K7
D2
FS16K1
FS16K2
FS16K3
FS16K4
FS16K5
FS16K6
FS16K7
D1
FS11K1
FS11K2
FS11K3
FS11K4
FS11K5
FS11K6
FS11K7
D0
FS8K1
FS8K2
FS8K3
FS8K4
FS8K5
FS8K6
FS8K7
D6
0
D5
0
D4
0
D3
0
D2
EPNO2
D1
EPNO1
D0
EPNO0
FS8K: Sampling Frequency 8kHz Enable
“0”: Disable
“1”: Enable
FS11K: Sampling Frequency 11.025kHz Enable
“0”: Disable
“1”: Enable
FS16K: Sampling Frequency 16kHz Enable
“0”: Disable
“1”: Enable
FS22K: Sampling Frequency 22.05kHz Enable
“0”: Disable
“1”: Enable
FS32K: Sampling Frequency 32kHz Enable
“0”: Disable
“1”: Enable
FS44K: Sampling Frequency 44.1kHz Enable
“0”: Disable
“1”: Enable
FS48K: Sampling Frequency 48kHz Enable
“0”: Disable
“1”: Enable
VALID: Alternate Setting Enable
“0”: Disable
“1”: Enable
Addr
11H
Register Name
Endpoint Number
D7
0
EPNO2-0: Endpoint Number (1~7)
MS1197-E-00
2010/05
- 23 -
[AK5374]
Addr
12H
13H
14H
Register Name
Initial Volume
Minimum Volume
Maximum Volume
D7
D6
D5
D4
D3
D2
D1
D0
INTVOL7
INTVOL6
INTVOL5
INTVOL4
INTVOL3
INTVOL2
INTVOL1
INTVOL0
MINVOL7 MINVOL6 MINVOL5 MINVOL4 MINVOL3 MINVOL2 MINVOL1 MINVOL0
MAXVOL7 MAXVOL6 MAXVOL5 MAXVOL4 MAXVOL3 MAXVOL2 MAXVOL1 MAXVOL0
INTVOL7-0: The Value which the AK5374 returns when the host requests the current volume at first time. (Table 8)
MINVOL7-0: The Value which the AK5374 returns when the host requests the maximum volume. (Table 8)
MAXVOL7-0: The Value which the AK5374 returns when the host requests the minimum volume. (Table 8)
Addr
15H
16H
Register Name
Mute Control 1
Mute Control 2
D7
0
MHT7
D6
0
MHT6
D5
0
MHT5
D4
0
MHT4
D3
OSME
MHT3
D2
ZCE
MHT2
D1
ZTM1
MHT1
D0
ZTM0
MHT0
ZTM1-0: Zero-crossing timeout period select
“00”: 128/fs
“01”: 256/fs
“10”: 512/fs
“11”: 1024/fs
ZCE: ADC Digital Volume Zero-crossing enable
“0”: Digital Volume changes occur immediately.
“1”: Digital Volume changes occur only on zero-crossing or after timeout.
OSME: One Shot Mute Enable for LMUTEN, RMUTEN pins
“0”: Disable
“1”: Enable
MHT7-0: One Shot Mute Hold Time
00H: N/A
01H: 1/fs
FFH: 255/fs
MS1197-E-00
2010/05
- 24 -
[AK5374]
■ Descriptor Overview
AudioControl
Interface
AudioStreaming
Interface
Audio Function
Microphone
IT
OT
ID1
USB IN Endpoint
ID2
Figure 16. AK5374 Topology
Device
Configuration
Interface 0
AudioControl I/F
AudioStreaming I/F
Alt. Setting 0
Interface 1
AudioStreaming I/F
Alt. Setting 1~7
Class-specific AC I/F
Input Terminal
Class-specific AS General
I/F
Output Terminal
Type 1 Format Type
Feature Unit
Endpoint
Standard Descriptors
Class-specific Isochronous
Audio Data Endpoint
Class-specific Descriptors
Figure 17. Descriptor Hierarchy
MS1197-E-00
2010/05
- 25 -
[AK5374]
■ Descriptors Specification (for example)
□ Customizable Block
All Descriptor contents are stored in EEP-ROM and customizable with some restrictions.
a) Device Descriptor, String Descriptor
- Maximum Packet Size
- idVendor
- idProduct
- Manufacturer Name (max. 126bytes)
- Product Name (max. 126bytes)
- Serial Number (max. 126bytes)
- Language ID
b) Configuration Descriptor
- Power Consumption
c) Feature Unit Descriptor: <Active> or < Bypass>
- If Feature Unit is not defined in the descriptor, the volume is fixed to the initial value which is described in
the EEP-ROM header block
d) PCM format (Note that the AK5374 supports 7 sample rates even when only 1 sample rate is specified in the
descriptor.)
e) Endpoint Number
f) Maximum Value of Digital Gain
g) Minimum Value of Digital Gain
h) Initial Value of Digital Gain
□ Uncustomizable Block
a)
b)
c)
d)
e)
f)
g)
h)
Configuration Number (1)
Interface Number (1)
Input Terminal ID (1)
Output Terminal ID (2)
Feature Unit ID (3)
Synchronization way (support Synchronous Type)
Maximum Alternate Setting number (7)
Endpoint Number (1-7)
1. Device descriptor
Offset
0
1
2
Field
bLength
bDescriptorType
bcdUSB
Size
1
1
2
Value
0x12
0x01
0x0200
4
5
6
7
8
10
12
14
15
16
bDeviceClass
bDeviceSubClass
bDeviceProtocol
bMaxPacketSize0
idVendor
idProduct
bcdDevice
iManufacturer
iProduct
iSerialNumber
1
1
1
1
2
2
2
1
1
1
0x00
0x00
0x00
0x08
0x0556
0x0007
0x0100
0x01
0x02
0x03
17
bNumConfigurations
1
0x01
Description
Size of this descriptor in bytes
DEVICE descriptor
2.0 – USB Specification Release Number in Binary-Coded
Decimal.
Device defined at Interface level
Not used. Must be set to 0.
Not used. Must be set to 0.
8 bytes – Maximum packet size for endpoint zero
AKM – Vendor ID (assigned by the USB-IF)
AK5374 – Product ID (assigned by the manufacturer)
1.00 – Device release number in binary-coded decimal
Index of string descriptor describing manufacturer
Index of string descriptor describing product
Index of string descriptor describing the device’s serial
number
One configuration
MS1197-E-00
2010/05
- 26 -
[AK5374]
2. Configuration Descriptor
Offset
0
1
2
Field
bLength
bDescriptorType
wTotalLength
Size
1
1
2
Value
0x09
0x02
0x01AF
4
bNumInterfaces
1
0x02
5
6
7
8
bConfigurationValue
iConfiguration
bmAttributes
MaxPower
1
1
1
1
0x01
0x00
0x80
0x32
Description
Size of this descriptor in bytes
CONFIGURATION descriptor
Total length of data returned for this configuration. Includes
the combined length of all descriptors returned for this
configuration.
Two interfaces (Audio Control Interface and Audio Streaming
Interface)
Index of this configuration
Null string
Bus Powered Device
Power consumption: 100mA
3. Audio Control Interface Descriptor
3.1 Standard Audio Control Interface descriptor
Offset
0
1
2
3
4
5
6
7
8
Field
bLength
bDescriptorType
bInterfaceNumber
bAlternateSetting
bNumEndpoints
bInterfaceClass
bInterfaceSubclass
bInterfaceProtocol
iInterface
Size
1
1
1
1
1
1
1
1
1
Value
0x09
0x04
0x00
0x00
0x00
0x01
0x01
0x00
0x00
Description
Size of this descriptor in bytes
INTERFACE descriptor
Index of this interface
Index of this setting
Endpoint 0
AUDIO
AUDIO_CONTROL
Not used. Must be set to 0.
Null string
MS1197-E-00
2010/05
- 27 -
[AK5374]
3.2 Class-specific Audio Control Interface Descriptor
Offset
0
1
2
3
Field
bLength
bDescriptorType
bDescriptorSubtype
bcdADC
Size
1
1
1
2
Value
0x09
0x24
0x01
0x0100
5
wTotalLength
2
0x0028
7
8
bInCollection
bInterfaceNr(1)
1
1
0x01
0x01
Description
Size of this descriptor in bytes
CS_INTERFACE
HEADER subtype
1.0 – Audio Device Class specification release number in
Binary-Coded Decimal.
Total size of class-specific Audio Control Interface descriptors
(includes this descriptor)
Number of streaming interfaces
Streaming interface number 1 belongs to this audio control
interface.
3.3 Input Terminal Descriptor
Offset
0
1
2
3
4
6
7
8
10
11
Field
bLength
bDescriptorType
bDescriptorSubtype
bTerminalID
wTerminalType
bAssocTerminal
bNrChannels
wChannelConfig
iChannelNames
iTerminal
Size
1
1
1
1
2
1
1
2
1
1
Value
0x0C
0x24
0x02
0x01
0x0201
0x02
0x02
0x0003
0x00
0x00
Description
Size of this descriptor in bytes
CS_INTERFACE
INPUT_TERMINAL subtype
ID of this terminal
Terminal is Microphone
ID of associated Output Terminal is 0x02
Two channels (Stereo)
Left/Right Front
Not used. Must be set to 0.
Not used. Must be set to 0.
Size
1
1
1
1
2
1
1
1
Value
0x09
0x24
0x03
0x02
0x0101
0x01
0x03
0x00
Description
Size of this descriptor in bytes
CS_INTERFACE
OUTPUT_TERMINAL subtype
ID of this terminal
USB Streamer
ID of associate Input Terminal is 0x01
From Feature Unit
Not used. Must be set to 0.
Size
1
1
1
1
1
1
1
1
1
1
Value
0x0A
0x24
0x06
0x03
0x01
0x01
0x01
0x02
0x02
0x00
Description
Size of this descriptor in bytes
CS_INTERFACE
FEATURE_UNIT descriptor subtype
ID of this feature Unit
ID to Terminal to which this is connected.
Size in bytes of an element of the bmaControl()
D0(Mute) is enable for ch 0
D1(Volume) is enable for ch 1 (Left)
D1(Volume) is enable for ch 2 (Right)
Not used. Must be set to 0.
3.4 Output Terminal Descriptor
Offset
0
1
2
3
4
6
7
8
Field
bLength
bDescriptorType
bDescriptorSubtype
bTerminalID
wTerminalType
bAssocTerminal
bSourceID
iTerminal
3.5 Feature Unit Descriptor
Offset
0
1
2
3
4
5
6
7
8
9
Field
bLength
bDescriptorType
bDescriptorSubtype
bUnitID
bSourceID
bControlSize
bmaControls(0)
bmaControls(1)
bmaControls(2)
iFeature
MS1197-E-00
2010/05
- 28 -
[AK5374]
4. Audio Streaming Interface Descriptor
4.1 Zero-bandwidth Alternate Setting
4.1.1 Standard Audio Streaming Interface Descriptor (Alt = 0)
Offset
0
1
2
3
4
5
6
7
8
Field
bLength
bDescriptorType
bInterfaceNumber
bAlternateSetting
bNumEndpoints
bInterfaceClass
bInterfaceSubclass
bInterfaceProtocol
iInterface
Size
1
1
1
1
1
1
1
1
1
Value
0x09
0x04
0x01
0x00
0x00
0x01
0x02
0x00
0x00
Description
Size of this descriptor in bytes
INTERFACE descriptor
Index of this interface
Index of this setting
Endpoints 0
AUDIO
AUDIO_STREAMING
Not used. Must be set to 0.
Null string
4.2 Operational Alternate Setting 1
4.2.1 Standard Audio Streaming Interface Descriptor (Alt = 1: Mono, 8bit, 8k/16k)
Offset
0
1
2
3
4
5
6
7
8
Field
bLength
bDescriptorType
bInterfaceNumber
bAlternateSetting
bNumEndpoints
bInterfaceClass
bInterfaceSubclass
bInterfaceProtocol
iInterface
Size
1
1
1
1
1
1
1
1
1
Value
0x09
0x04
0x01
0x01
0x01
0x01
0x02
0x00
0x00
Description
Size of this descriptor in bytes
INTERFACE descriptor
Index of this interface
Index of this setting
Endpoint 1
AUDIO
AUDIO_STREAMING
Not used. Must be set to 0.
Null string
4.2.2 Class-specific Audio General Interface Descriptor
Offset
0
1
2
3
4
5
Field
bLength
bDescriptorType
bDescriptorSubtype
bTerminalLink
bDelay
wFormatTag
Size
1
1
1
1
1
2
Value
0x07
0x24
0x01
0x02
0x01
0x0002
Description
Size of this descriptor in bytes
CS_INTERFACE descriptor
AS_GENERAL
Unit ID of terminal (Output Terminal ID)
Interface delay
PCM8
MS1197-E-00
2010/05
- 29 -
[AK5374]
4.2.3 Type I Format Type Descriptor
Offset
0
1
2
3
4
5
6
7
8
11
Field
bLength
bDescriptorType
bDescriptorSubtype
bFormatType
bNrChannels
bSubFrameSize
bBitResolution
bSamFreqType
tSamFreq[0]
tSamFreq[1]
Size
1
1
1
1
1
1
1
1
3
3
Value
0x0E
0x24
0x02
0x01
0x01
0x01
0x08
0x02
0x001F40
0x003E80
Description
Size of this descriptor in bytes
CS_INTERFACE
FORMAT_TYPE
FORMAT_TYPE_I
One channel
One byte per slot
8 bits
Two frequencies
8000Hz
16000Hz
4.2.4 Standard Endpoint Descriptor
Offset
0
1
2
3
4
6
7
8
Field
bLength
bDescriptorType
bEndpointAddress
bmAttributes
wMaxPacketSize
bInterval
bRefresh
bSynchAddress
Size
1
1
1
1
2
1
1
1
Value
0x09
0x05
0x81
0x0D
0x0010
0x01
0x00
0x00
Description
Size of this descriptor in bytes
ENDPOINT descriptor
Endpoint 1, IN direction
Isochronous, synchronous, not shared
1byte*16sample*1ch=16 byte/frame
One packet every frame (Must be set to 1)
4.2.5 Class-specific Isochronous Audio Data Endpoint Descriptor
Offset
0
1
2
3
4
5
Field
bLength
bDescriptorType
bDescriptorSubtype
bmAttributes
bLockDelayUnits
wLockDelay
Size
1
1
1
1
1
2
Value
0x07
0x25
0x01
0x01
0x00
0x0000
Description
Size of this descriptor in bytes
CS_ENDPOINT
GENERAL
Sample rate control
Unused
4.3 Operational Alternate Setting 2
4.3.1 Standard Audio Streaming Interface Descriptor (Alt = 2: Mono, 16bit, 48k)
Offset
0
1
2
3
4
5
6
7
8
Field
bLength
bDescriptorType
bInterfaceNumber
bAlternateSetting
bNumEndpoints
bInterfaceClass
bInterfaceSubclass
bInterfaceProtocol
iInterface
Size
1
1
1
1
1
1
1
1
1
Value
0x09
0x04
0x01
0x02
0x01
0x01
0x02
0x00
0x00
Description
Size of this descriptor in bytes
INTERFACE descriptor
Index of this interface
Index of this setting
Endpoint 1
AUDIO
AUDIO_STREAMING
Not used. Must be set to 0.
Null string
MS1197-E-00
2010/05
- 30 -
[AK5374]
4.3.2 Class-specific Audio General Interface Descriptor
Offset
0
1
2
3
4
5
Field
bLength
bDescriptorType
bDescriptorSubtype
bTerminalLink
bDelay
wFormatTag
Size
1
1
1
1
1
2
Value
0x07
0x24
0x01
0x02
0x01
0x0001
Description
Size of this descriptor in bytes
CS_INTERFACE descriptor
AS_GENERAL
Unit ID of terminal (Output Terminal ID)
Interface delay
PCM
4.3.3 Type I Format Type Descriptor
Offset
0
1
2
3
4
5
6
7
8
Field
bLength
bDescriptorType
bDescriptorSubtype
bFormatType
bNrChannels
bSubFrameSize
bBitResolution
bSamFreqType
tSamFreq[0]
Size
1
1
1
1
1
1
1
1
3
Value
0x0B
0x24
0x02
0x01
0x01
0x02
0x10
0x01
0x00BB80
Description
Size of this descriptor in bytes
CS_INTERFACE
FORMAT_TYPE
FORMAT_TYPE_I
One channel
Two bytes per slot
16 bits
One frequency
48000Hz
4.3.4 Standard Endpoint Descriptor
Offset
0
1
2
3
4
6
7
8
Field
bLength
bDescriptorType
bEndpointAddress
bmAttributes
wMaxPacketSize
bInterval
bRefresh
bSynchAddress
Size
1
1
1
1
2
1
1
1
Value
0x09
0x05
0x81
0x0D
0x0060
0x01
0x00
0x00
Description
Size of this descriptor in bytes
ENDPOINT descriptor
Endpoint 1, IN direction
Isochronous, synchronous, not shared
2byte*48sample*1ch=96 byte/frame
One packet every frame (Must be set to 1)
4.3.5 Class-specific Isochronous Audio Data Endpoint Descriptor
Offset
0
1
2
3
4
5
Field
bLength
bDescriptorType
bDescriptorSubtype
bmAttributes
bLockDelayUnits
wLockDelay
Size
1
1
1
1
1
2
Value
0x07
0x25
0x01
0x00
0x00
0x0000
Description
Size of this descriptor in bytes
CS_ENDPOINT
GENERAL
Unused
MS1197-E-00
2010/05
- 31 -
[AK5374]
4.4 Operational Alternate Setting 3
4.4.1 Standard Audio Streaming Interface Descriptor (Alt = 3: Mono, 24bit, 32k/44.1k/48k)
Offset
0
1
2
3
4
5
6
7
8
Field
bLength
bDescriptorType
bInterfaceNumber
bAlternateSetting
bNumEndpoints
bInterfaceClass
bInterfaceSubclass
bInterfaceProtocol
iInterface
Size
1
1
1
1
1
1
1
1
1
Value
0x09
0x04
0x01
0x03
0x01
0x01
0x02
0x00
0x00
Description
Size of this descriptor in bytes
INTERFACE descriptor
Index of this interface
Index of this setting
Endpoint 1
AUDIO
AUDIO_STREAMING
Not used. Must be set to 0.
Null string
4.4.2 Class-specific Audio General Interface Descriptor
Offset
0
1
2
3
4
5
Field
bLength
bDescriptorType
bDescriptorSubtype
bTerminalLink
bDelay
wFormatTag
Size
1
1
1
1
1
2
Value
0x07
0x24
0x01
0x02
0x01
0x0001
Description
Size of this descriptor in bytes
CS_INTERFACE descriptor
AS_GENERAL
Unit ID of terminal (Output Terminal ID)
Interface delay
PCM
4.4.3 Type I Format Type Descriptor
Offset
0
1
2
3
4
5
6
7
8
11
14
Field
bLength
bDescriptorType
bDescriptorSubtype
bFormatType
bNrChannels
bSubFrameSize
bBitResolution
bSamFreqType
tSamFreq[0]
tSamFreq[1]
tSamFreq[2]
Size
1
1
1
1
1
1
1
1
3
3
3
Value
0x11
0x24
0x02
0x01
0x01
0x03
0x18
0x03
0x007D00
0x00AC44
0x00BB80
Description
Size of this descriptor in bytes
CS_INTERFACE
FORMAT_TYPE
FORMAT_TYPE_I
One channel
Three bytes per slot
24 bits
Three frequencies
32000Hz
44100Hz
48000Hz
4.4.4 Standard Endpoint Descriptor
Offset
0
1
2
3
4
6
7
8
Field
bLength
bDescriptorType
bEndpointAddress
bmAttributes
wMaxPacketSize
bInterval
bRefresh
bSynchAddress
Size
1
1
1
1
2
1
1
1
Value
0x09
0x05
0x81
0x0D
0x0090
0x01
0x00
0x00
Description
Size of this descriptor in bytes
ENDPOINT descriptor
Endpoint 1, IN direction
Isochronous, synchronous, not shared
3byte*48sample*1ch=144 byte/frame
One packet every frame (Must be set to 1)
MS1197-E-00
2010/05
- 32 -
[AK5374]
4.4.5 Class-specific Isochronous Audio Data Endpoint Descriptor
Offset
0
1
2
3
4
5
Field
bLength
bDescriptorType
bDescriptorSubtype
bmAttributes
bLockDelayUnits
wLockDelay
Size
1
1
1
1
1
2
Value
0x07
0x25
0x01
0x01
0x00
0x0000
Description
Size of this descriptor in bytes
CS_ENDPOINT
GENERAL
Sample rate control
Unused
4.5 Operational Alternate Setting 4
4.5.1 Standard Audio Streaming Interface Descriptor (Alt = 4: St, 8bit, 8k/11.025k/16k/22.05k)
Offset
0
1
2
3
4
5
6
7
8
Field
bLength
bDescriptorType
bInterfaceNumber
bAlternateSetting
bNumEndpoints
bInterfaceClass
bInterfaceSubclass
bInterfaceProtocol
iInterface
Size
1
1
1
1
1
1
1
1
1
Value
0x09
0x04
0x01
0x04
0x01
0x01
0x02
0x00
0x00
Description
Size of this descriptor in bytes
INTERFACE descriptor
Index of this interface
Index of this setting
Endpoint 1
AUDIO
AUDIO_STREAMING
Not used. Must be set to 0.
Null string
4.5.2 Class-specific Audio General Interface Descriptor
Offset
0
1
2
3
4
5
Field
bLength
bDescriptorType
bDescriptorSubtype
bTerminalLink
bDelay
wFormatTag
Size
1
1
1
1
1
2
Value
0x07
0x24
0x01
0x02
0x01
0x0002
Description
Size of this descriptor in bytes
CS_INTERFACE descriptor
AS_GENERAL
Unit ID of terminal (Output Terminal ID)
Interface delay
PCM8
4.5.3 Type I Format Type Descriptor
Offset
0
1
2
3
4
5
6
7
8
11
14
17
Field
bLength
bDescriptorType
bDescriptorSubtype
bFormatType
bNrChannels
bSubFrameSize
bBitResolution
bSamFreqType
tSamFreq[0]
tSamFreq[1]
tSamFreq[2]
tSamFreq[3]
Size
1
1
1
1
1
1
1
1
3
3
3
3
Value
0x14
0x24
0x02
0x01
0x02
0x01
0x08
0x04
0x001F40
0x002B11
0x003E80
0x005622
Description
Size of this descriptor in bytes
CS_INTERFACE
FORMAT_TYPE
FORMAT_TYPE_I
Two channels
One byte per slot
8 bits
Four frequencies
8000Hz
11025Hz
16000Hz
22050Hz
MS1197-E-00
2010/05
- 33 -
[AK5374]
4.5.4 Standard Endpoint Descriptor
Offset
0
1
2
3
4
6
7
8
Field
bLength
bDescriptorType
bendpointAddress
bmAttributes
wMaxPacketSize
bInterval
bRefresh
bSynchAddress
Size
1
1
1
1
2
1
1
1
Value
0x09
0x05
0x81
0x0D
0x002E
0x01
0x00
0x00
Description
Size of this descriptor in bytes
ENDPOINT descriptor
Endpoint 1, IN direction
Isochronous, synchronous, not shared
1byte*23sample*2ch=46 byte/frame
One packet every frame (Must be set to 1)
4.5.5 Class-specific Isochronous Audio Data Endpoint Descriptor
Offset
0
1
2
3
4
5
Field
bLength
bDescriptorType
bDescriptorSubtype
bmAttributes
bLockDelayUnits
wLockDelay
Size
1
1
1
1
1
2
Value
0x07
0x25
0x01
0x01
0x00
0x0000
Description
Size of this descriptor in bytes
CS_ENDPOINT
GENERAL
Sample rate control
Unused
4.6 Operational Alternate Setting 5
4.6.1 Standard Audio Streaming Interface Descriptor (Alt = 5: St, 16bit, 8k/16k/32k/44.1k/48k)
Offset
0
1
2
3
4
5
6
7
8
Field
bLength
bDescriptorType
bInterfaceNumber
bAlternateSetting
bNumEndpoints
bInterfaceClass
bInterfaceSubclass
bInterfaceProtocol
iInterface
Size
1
1
1
1
1
1
1
1
1
Value
0x09
0x04
0x01
0x05
0x01
0x01
0x02
0x00
0x00
Description
Size of this descriptor in bytes
INTERFACE descriptor
Index of this interface
Index of this setting
Endpoint 1
AUDIO
AUDIO_STREAMING
Not used. Must be set to 0.
Null string
4.6.2 Class-specific Audio General Interface Descriptor
Offset
0
1
2
3
4
5
Field
bLength
bDescriptorType
bDescriptorSubtype
bTerminalLink
bDelay
wFormatTag
Size
1
1
1
1
1
2
Value
0x07
0x24
0x01
0x02
0x01
0x0001
Description
Size of this descriptor in bytes
CS_INTERFACE descriptor
AS_GENERAL
Unit ID of terminal (Output Terminal ID)
Interface delay
PCM
MS1197-E-00
2010/05
- 34 -
[AK5374]
4.6.3 Type I Format Type Descriptor
Offset
0
1
2
3
4
5
6
7
8
11
14
17
20
Field
bLength
bDescriptorType
bDescriptorSubtype
bFormatType
bNrChannels
bSubFrameSize
bBitResolution
bSamFreqType
tSamFreq[0]
tSamFreq[1]
tSamFreq[2]
tSamFreq[3]
tSamFreq[4]
Size
1
1
1
1
1
1
1
1
3
3
3
3
3
Value
0x17
0x24
0x02
0x01
0x02
0x02
0x10
0x05
0x001F40
0x003E80
0x007D00
0x00AC44
0x00BB80
Description
Size of this descriptor in bytes
CS_INTERFACE
FORMAT_TYPE
FORMAT_TYPE_I
Two channel
Two bytes per slot
16 bits
Five frequencies
8000Hz
16000Hz
32000Hz
44100Hz
48000Hz
4.6.4 Standard Endpoint Descriptor
Offset
0
1
2
3
4
6
7
8
Field
bLength
bDescriptorType
bEndpointAddress
bmAttributes
wMaxPacketSize
bInterval
bRefresh
bSynchAddress
Size
1
1
1
1
2
1
1
1
Value
0x09
0x05
0x81
0x0D
0x00C0
0x01
0x00
0x00
Description
Size of this descriptor in bytes
ENDPOINT descriptor
Endpoint 1, IN direction
Isochronous, synchronous, not shared
2byte*48sample*2ch=192 byte/frame
One packet every frame (Must be set to 1)
4.6.5 Class-specific Isochronous Audio Data Endpoint Descriptor
Offset
0
1
2
3
4
5
Field
bLength
bDescriptorType
bDescriptorSubtype
bmAttributes
bLockDelayUnits
wLockDelay
Size
1
1
1
1
1
2
Value
0x07
0x25
0x01
0x01
0x00
0x0000
Description
Size of this descriptor in bytes
CS_ENDPOINT
GENERAL
Sample rate control
Unused
4.7 Operational Alternate Setting 6
4.7.1 Standard Audio Streaming Interface Descriptor
(Alt = 6: St, 16bit, 8k/11.025k/16k/22.05k /32k/44.1k)
Offset
0
1
2
3
4
5
6
7
8
Field
bLength
bDescriptorType
bInterfaceNumber
bAlternateSetting
bNumEndpoints
bInterfaceClass
bInterfaceSubclass
bInterfaceProtocol
iInterface
Size
1
1
1
1
1
1
1
1
1
Value
0x09
0x04
0x01
0x06
0x01
0x01
0x02
0x00
0x00
Description
Size of this descriptor in bytes
INTERFACE descriptor
Index of this interface
Index of this setting
Endpoint 1
AUDIO
AUDIO_STREAMING
Not used. Must be set to 0.
Null string
MS1197-E-00
2010/05
- 35 -
[AK5374]
4.7.2 Class-specific Audio General Interface Descriptor
Offset
0
1
2
3
4
5
Field
bLength
bDescriptorType
bDescriptorSubtype
bTerminalLink
bDelay
wFormatTag
Size
1
1
1
1
1
2
Value
0x07
0x24
0x01
0x02
0x01
0x0001
Description
Size of this descriptor in bytes
CS_INTERFACE descriptor
AS_GENERAL
Unit ID of terminal (Output Terminal ID)
Interface delay
PCM
4.7.3 Type I Format Type Descriptor
Offset
0
1
2
3
4
5
6
7
8
11
14
17
20
23
Field
bLength
bDescriptorType
bDescriptorSubtype
bFormatType
bNrChannels
bSubFrameSize
bBitResolution
bSamFreqType
tSamFreq[0]
tSamFreq[1]
tSamFreq[2]
tSamFreq[3]
tSamFreq[4]
tSamFreq[5]
Size
1
1
1
1
1
1
1
1
3
3
3
3
3
3
Value
0x1A
0x24
0x02
0x01
0x02
0x02
0x10
0x06
0x001F40
0x002B11
0x003E80
0x005622
0x007D00
0x00AC44
Description
Size of this descriptor in bytes
CS_INTERFACE
FORMAT_TYPE
FORMAT_TYPE_I
Two channels
Two bytes per slot
16 bits
Six frequencies
8000Hz
11025Hz
16000kHz
22050Hz
32000Hz
44100Hz
4.7.4 Standard Endpoint Descriptor
Offset
0
1
2
3
4
6
7
8
Field
bLength
bDescriptorType
bEndpointAddress
bmAttributes
wMaxPacketSize
bInterval
bRefresh
bSynchAddress
Size
1
1
1
1
2
1
1
1
Value
0x09
0x05
0x81
0x0D
0x00B4
0x01
0x00
0x00
Description
Size of this descriptor in bytes
ENDPOINT descriptor
Endpoint 1, IN direction
Isochronous, synchronous, not shared
2byte*45sample*2ch=180 byte/frame
One packet every frame (Must be set to 1)
4.7.5 Class-specific Isochronous Audio Data Endpoint Descriptor
Offset
0
1
2
3
4
5
Field
bLength
bDescriptorType
bDescriptorSubtype
bmAttributes
bLockDelayUnits
wLockDelay
Size
1
1
1
1
1
2
Value
0x07
0x25
0x01
0x01
0x00
0x0000
Description
Size of this descriptor in bytes
CS_ENDPOINT
GENERAL
Sample rate control
Unused
MS1197-E-00
2010/05
- 36 -
[AK5374]
4.8 Operational Alternate Setting 7
4.8.1 Standard Audio Streaming Interface Descriptor
(Alt = 7: St, 24bit, 8k/11.025k/16k/22.05k /32k/44.1k/48k)
Offset
0
1
2
3
4
5
6
7
8
Field
bLength
bDescriptorType
bInterfaceNumber
bAlternateSetting
bNumEndpoints
bInterfaceClass
bInterfaceSubclass
bInterfaceProtocol
iInterface
Size
1
1
1
1
1
1
1
1
1
Value
0x09
0x04
0x01
0x07
0x01
0x01
0x02
0x00
0x00
Description
Size of this descriptor in bytes
INTERFACE descriptor
Index of this interface
Index of this setting
Endpoint 1
AUDIO
AUDIO_STREAMING
Not used. Must be set to 0.
Null string
4.8.2 Class-specific Audio General Interface Descriptor
Offset
0
1
2
3
4
5
Field
bLength
bDescriptorType
bDescriptorSubtype
bTerminalLink
bDelay
wFormatTag
Size
1
1
1
1
1
2
Value
0x07
0x24
0x01
0x02
0x01
0x0001
Description
Size of this descriptor in bytes
CS_INTERFACE descriptor
AS_GENERAL
Unit ID of terminal (Output Terminal ID)
Interface delay
PCM
4.8.3 Type I Format Type Descriptor
Offset
0
1
2
3
4
5
6
7
8
11
14
17
20
23
26
Field
bLength
bDescriptorType
bDescriptorSubtype
bFormatType
bNrChannels
bSubFrameSize
bBitResolution
bSamFreqType
tSamFreq[0]
tSamFreq[1]
tSamFreq[2]
tSamFreq[3]
tSamFreq[4]
tSamFreq[5]
tSamFreq[6]
Size
1
1
1
1
1
1
1
1
3
3
3
3
3
Value
0x1D
0x24
0x02
0x01
0x02
0x03
0x18
0x07
0x001F40
0x002B11
0x003E80
0x005622
0x007D00
0x00AC44
0x00BB80
Description
Size of this descriptor in bytes
CS_INTERFACE
FORMAT_TYPE
FORMAT_TYPE_I
Two channels
Three bytes per slot
24 bits
Seven frequencies
8000Hz
11025Hz
16000kHz
22050Hz
32000Hz
44100Hz
48000Hz
4.8.4 Standard Endpoint Descriptor
Offset
0
1
2
3
4
6
7
8
Field
bLength
bDescriptorType
bEndpointAddress
bmAttributes
wMaxPacketSize
bInterval
bRefresh
bSynchAddress
Size
1
1
1
1
2
1
1
1
Value
0x09
0x05
0x81
0x0D
0x0120
0x01
0x00
0x00
Description
Size of this descriptor in bytes
ENDPOINT descriptor
Endpoint 1, IN direction
Isochronous, synchronous, not shared
3byte*48sample*2ch=288 byte/frame
One packet every frame (Must be set to 1)
MS1197-E-00
2010/05
- 37 -
[AK5374]
4.8.5 Class-specific Isochronous Audio Data Endpoint Descriptor
Offset
0
1
2
3
4
5
Field
bLength
bDescriptorType
bDescriptorSubtype
bmAttributes
bLockDelayUnits
wLockDelay
Size
1
1
1
1
1
2
Value
0x07
0x25
0x01
0x01
0x00
0x0000
Description
Size of this descriptor in bytes
CS_ENDPOINT
GENERAL
Sample rate control
Unused
MS1197-E-00
2010/05
- 38 -
[AK5374]
5. String Descriptor
5.1 Language ID (0x00) String Descriptor
Offset
0
1
2
Field
bLength
bDescriptorType
bString
Size
1
1
2
Value
0x04
0x03
0x0409
Description
Size of this descriptor in bytes
STRING descriptor
“English(US)” - Language code
5.2 Manufacturer (0x01) String Descriptor
Offset
0
1
2
Field
bLength
bDescriptorType
bString
Size
1
1
126
Value
0x80
0x03
0x0041
0x004B
0x0020
:
0x0020
Description
Size of this descriptor in bytes
STRING descriptor
Manufacturer code (max 126 bytes)
“AKM
”
Value
0x80
0x03
0x0041
0x004B
0x0035
0x0033
0x0037
0x0034
0x0020
:
0x0020
Description
Size of this descriptor in bytes
STRING descriptor
Product code (max 126 bytes)
“AK5374
”
5.3 Product (0x02) String Descriptor
Offset
0
1
2
Field
bLength
bDescriptorType
bString
Size
1
1
126
5.4 Serial Number (0x03) String Descriptor
Offset
0
1
2
Field
bLength
bDescriptorType
bString
Size
1
1
126
Value
0x80
0x03
0x0041
0x0042
0x0043
0x0044
0x0031
0x0032
0x0033
0x0034
0x0020
:
0x0020
Description
Size of this descriptor in bytes
STRING descriptor
Serial Number code (max 126 bytes)
“ABCD1234
MS1197-E-00
”
2010/05
- 39 -
[AK5374]
■ Standard Requests
The AK5374 only supports commands mentioned bellow. If unknown commands are input, the device returns a stall.
1. Clear Feature
Offset
0
Field
bmRequestType
Size
1
1
2
bRequest
wValue
1
2
4
wIndex
2
6
wLength
2
Value
0x00
0x02
0x01
0x0000
0x0001
0x0000
0x0081
0x0082
0x0083
0x0084
0x0085
0x0086
0x0087
0x0000
Size
1
1
2
2
2
Value
0x80
0x08
0x0000
0x0000
0x0001
Size
1
1
2
Value
0x80
0x06
0x0100
0x0200
0x0300
0x0301
0x0302
0x0303
0x0000
0x0409
Description
Device
Endpoint
CLEAR_FEATURE
Clear ENDPOINT_HALT
Clear DEVICE_REMOTE_WAKEUP
Device or Endpoint 0
Endpoint 1
Endpoint 2
Endpoint 3
Endpoint 4
Endpoint 5
Endpoint 6
Endpoint 7
Zero
2. Get Configuration
Offset
0
1
2
4
6
Field
bmRequestType
bRequest
wValue
wIndex
wLength
Description
GET_CONFIGURATION
One
3. Get Descriptor
Offset
0
1
2
Field
bmRequestType
bRequest
wValue
4
wIndex
2
6
wLength
2
0xZZZZ
Size
1
1
2
2
Value
0x81
0x0A
0x0000
0x0000
0x0001
0x0001
Description
GET_DESCRIPTOR
Device Descriptor
Configuration Descriptor
Language ID String Descriptor
iManufacturer String Descriptor
iProduct String Descriptor
iSerial Number String Descriptor
If wValue is 0x0100, 0x0200 or 0x0300, wIndex is 0x0000.
If wValue is 0x0301, 0x0302 or 0x0303, wIndex is Language
ID (0x0409: English (US)).
Descriptor Length (ZZZZ is assigned by Host.)
4. Get Interface
Offset
0
1
2
4
6
Field
bmRequestType
bRequest
wValue
wIndex
wLength
2
Description
GET_INTERFACE
Zero
Audio Control Interface
Audio Streaming Interface (Alt 0 ~ 7)
One
MS1197-E-00
2010/05
- 40 -
[AK5374]
5. Get Status
Offset
0
Field
bmRequestType
Size
1
1
2
4
bRequest
wValue
wIndex
1
2
2
6
wLength
2
Value
0x80
0x81
0x82
0x00
0x0000
0x0000
0x0001
0x0081
0x0082
0x0083
0x0084
0x0085
0x0086
0x0087
0x0002
Description
Device
Interface
Endpoint
GET_STATUS
Zero
Device, Interface0 or Endpoint 0
Interface 1
Endpoint 1
Endpoint 2
Endpoint 3
Endpoint 4
Endpoint 5
Endpoint 6
Endpoint 7
Two
Size
1
1
2
2
2
Value
0x00
0x05
0xZZZZ
0x0000
0x0000
Size
1
1
2
2
2
Value
0x00
0x09
0x0001
0x0000
0x0000
SET_CONFIGURATION
AK5374 is set to configured state.
Zero
Zero
Size
1
1
2
2
Value
0x02
0x03
0x0000
0x0081
0x0082
0x0083
0x0084
0x0085
0x0086
0x0087
0x0000
Endpoint
SET_FEATURE
ENDPOINT_HALT
Endpoint 1
Endpoint 2
Endpoint 3
Endpoint 4
Endpoint 5
Endpoint 6
Endpoint 7
Zero
6. Set Address
Offset
0
1
2
4
6
Field
bmRequestType
bRequest
wValue
wIndex
wLength
Description
SET_ADDRESS
Device Address (ZZZZ is assigned by Host.)
Zero
Zero
7. Set Configuration
Offset
0
1
2
4
6
Field
bmRequestType
bRequest
wValue
wIndex
wLength
Description
8. Set Descriptor
AK5374 does not support this request.
9. Set Feature
Offset
0
1
2
4
6
Field
bmRequestType
bRequest
wValue
wIndex
wLength
2
Description
MS1197-E-00
2010/05
- 41 -
[AK5374]
10. Set Interface
Offset
0
1
2
Field
bmRequestType
bRequest
wValue
Size
1
1
2
4
wIndex
2
6
wLength
2
Value
0x01
0x0B
0x0000
0x0001
0x0002
0x0003
0x0004
0x0005
0x0006
0x0007
0x0000
0x0001
0x0000
Description
SET_INTERFACE
Zero-bandwidth Alternate Setting
Alternate Setting 1
Alternate Setting 2
Alternate Setting 3
Alternate Setting 4
Alternate Setting 5
Alternate Setting 6
Alternate Setting 7
Audio Control Interface
Audio Streaming Interface
Zero
11. Sync Frame
The AK5374 does not support this request.
MS1197-E-00
2010/05
- 42 -
[AK5374]
■ Audio Control Requests
1. Set Feature Unit Control Request
1-1. Mute Control
Offset
0
1
2
4
6
Field
bmRequestType
bRequest
wValue
wIndex
wLength
Size
1
1
2
2
Value
0x21
0x01
0x0100
0x0300
2
0x0001
The parameter block of mute control is the following.
Offset
Field
Size
Value
0
bMute
1
0x01
0x00
Description
SET_CUR
MUTE_CONTROL | CHANNEL_0
Upper byte: bUnitID field in Feature Unit Control Descriptor
(0x03)
Lower byte: Audio Control Interface (0x00)
Length of parameter block
Description
Mute
Not mute
1-2. Volume Control
Offset
0
1
2
Field
bmRequestType
bRequest
wValue
Size
1
1
2
4
wIndex
2
Value
0x21
0x01
0x0200
0x0201
0x0202
0x0300
6
wLength
2
0x0002
Description
SET_CUR
VOLUME_CONTROL | CHANNEL_0 (Master)
VOLUME_CONTROL | CHANNEL_1
VOLUME_CONTROL | CHANNEL_2
Upper byte: bUnit ID field in Feature Unit Control Descriptor
(0x03)
Lower byte: Audio Control Interface (0x00)
Length of Parameter Block
The parameter block of volume control is the following.
Offset
Field
Size
Value
Description
0
wVolume
2
0xZZZZ The value is mapped to the volume register value. (Table 8)
(ZZZZ is assigned by Host.)
If the wVolume exceeds the range, the AK5374 adjusts the value into the range.
MS1197-E-00
2010/05
- 43 -
[AK5374]
2. Get Feature Unit Control Request
2-1. Mute Control
Offset
0
1
2
4
6
Field
bmRequestType
bRequest
wValue
wIndex
wLength
Size
1
1
2
2
Value
0xA1
0x81
0x0100
0x0300
2
0x0001
The parameter block of mute control is the following.
Offset
Field
Size
Value
0
bMute
1
0x01
0x00
Description
GET_CUR
MUTE_CONTROL | CHANNEL_0
Upper byte: bUnitID field in Feature Unit Control Descriptor
(0x03)
Lower byte: Audio Control Interface (0x00)
Length of parameter block
Description
Mute
Not mute
2-2. Volume Control
Offset
0
1
Field
bmRequestType
bRequest
Size
1
1
2
wValue
2
4
wIndex
2
Value
0xA1
0x81
0x82
0x83
0x84
0x0200
0x0201
0x0202
0x0300
6
wLength
2
0x0002
The parameter block of volume control is the following.
Offset
Field
Size
Value
0
wVolume
2
0xZZYY
0x0100
Description
GET_CUR
GET_MIN
GET_MAX
GET_RES
VOLUME_CONTROL | CHANNEL_0 (Master)
VOLUME_CONTROL | CHANNEL_1
VOLUME_CONTROL | CHANNEL_2
Upper byte: bUnit ID field in Feature Unit Control Descriptor
(0x03)
Lower byte: Audio Control Interface (0x00)
Length of Parameter Block
Description
bRequest=GET_CUR, GET_MIN, GET_MAX: ZZ is
mapped to the volume register value (Table 8). YY must be
00H.
bRequest=GET_RES: 1.0dB
MS1197-E-00
2010/05
- 44 -
[AK5374]
Field
wVolume
0x7F00~FF
0x7E00~FF
:
0x1900~FF
0x1800~FF
0x1700~FF
0x1600~FF
0x1500~FF
0x1400~FF
:
0x0500~FF
0x0400~FF
0x0300~FF
0x0200~FF
0x0100~FF
0x0000~FF
0xFF00~FF
0xFE00~FF
0xFD00~FF
0xFC00~FF
0xFB00~FF
:
0xE700~FF
0xE600~FF
0xE500~FF
0xE400~FF
0xE300~FF
0xE200~FF
0xE100~FF
0xE000~FF
:
0x8100~FF
0x8000~FF
EEP-ROM Value
(INTVOL7-0 bits,
Volume
MAXVOL7-0 bits,
[dB]
MINVOL7-0 bits)
[Hex]
[Dec]
7F
127
7E
126
24.0
:
:
19
25
18
24
17
23
23.0
16
22
22.0
15
21
21.0
14
20
20.0
:
:
:
05
5
5.0
04
4
4.0
03
3
3.0
02
2
2.0
01
1
1.0
00
0
0.0
FF
255
-1.0
FE
254
-2.0
FD
253
-3.0
FC
252
-4.0
FB
251
-5.0
:
:
:
E7
231
-25.0
E6
230
-26.0
E5
229
-27.0
E4
228
-28.0
E3
227
-29.0
E2
226
-30.0
E1
225
E0
224
-31.0
:
:
81
129
80
128
Table 8. Conversion Table of Volume Control
MS1197-E-00
Step [dB]
-
1dB
-
2010/05
- 45 -
[AK5374]
■ Audio Endpoint Control Request
1. Set Endpoint Control Request
Offset
0
1
2
Field
bmRequestType
bRequest
wValue
Size
1
1
2
Value
0x22
0x01
0x0100
4
wIndex
2
0x0081
6
wLength
2
0x0003
Description
SET_CUR
Upper byte: SAMPLING_FREQ_CONTROL (0x01)
Lower byte: Zero
Upper byte: Zero
Lower byte: Endpoint Address (0x81)
Length of parameter block
The parameter block of mute control is the following.
Offset
Field
Size
Value
0
iSampleFreq
3
0xYYYYYY
Description
0x001F40: 8kHz
0x002B11: 11.025kHz
0x003E80: 16kHz
0x005622: 22.05kHz
0x007D00: 32kHz
0x00AC44: 44.1kHz
0x00BB80: 48kHz
2. Get Endpoint Control Request
Offset
0
1
2
Field
bmRequestType
bRequest
wValue
Size
1
1
2
Value
0xA2
0x81
0x0100
4
wIndex
2
0x0081
6
wLength
2
0x0003
Description
GET_CUR
Upper byte: SAMPLING_FREQ_CONTROL (0x01)
Lower byte: Zero
Upper byte: Zero
Lower byte: Endpoint Address (0x81)
Length of parameter block
The parameter block of mute control is the following.
Offset
Field
Size
Value
0
iSampleFreq
3
0xYYYYYY
Description
0x001F40: 8kHz
0x002B11: 11.025kHz
0x003E80: 16kHz
0x005622: 22.05kHz
0x007D00: 32kHz
0x00AC44: 44.1kHz
0x00BB80: 48kHz
MS1197-E-00
2010/05
- 46 -
[AK5374]
SYSTEM DESIGN
Figure 18 shows the system connection diagram. An evaluation board (AKD5374) is available for fast evaluation as well
as suggestions for peripheral circuitry.
To Host
D+
Regulator
+3.3V
+5V
USB
D10u 0.1u
C
C
0.1u
1.5k
X’tal=24MHz
DN 19
DP 20
AK5374EN
31 MPWR
32 AVDD
SK 14
EPAO 13
EPAI 12
35 MICRP
VSS1 11
EEPROM
9 NC
8 RSTN
TESTM1 10
7 SUSN
6 TESTM0
34 MICRN
36 NC
0.1u 10u
CSN 15
Top View
33 VSS3
5 NC
Microphone
NC 21
TESTM2 16
1 MICLN
1u
30 VCOM
4 RMUTEN
R-ch
0.1u
VSS2 18
DVDD 17
2 MICLP
1k
1k
10u
1u
18
29 VREF
3 LMUTEN
4.7u 0.1u
4.7u 0.1u
TESTM3 22
28 ATIO
CLKDRV 23
XTI 25
XTE 24
18
XTO 26
CKM 27
Rd
1u
56k
1k
1k
L-ch
1u
3300p
100k
3300p
MUTE SW
Notes:
- “C” and “Rd” values are dependent on the crystal. When the 24MHz crystal oscillator is used (CKM pin =
“H”), AT-41-24.000M-LN-N-0005 (Nihon Dempa Kogyo) or HC49SFNB24000H0PESZ1 (Kyocera) is
recommended. When the 16MHz crystal oscillator is used (CKM pin = “L”), AT-41-16.000M-LN-N-0005
(Nihon Dempa Kogyo) or HC49SFNB16000H0PESZ1 (Kyocera) is recommended.
- VSS1-3 must be connected the same ground plane.
- All digital input pins must not be left floating.
Figure 18. System Connection Diagram
MS1197-E-00
2010/05
- 47 -
[AK5374]
1. Grounding and Power Supply Decoupling
The AK5374 requires careful attention to power supply and grounding arrangements. AVDD and DVDD are usually
supplied from the system’s analog supply. If AVDD and DVDD are supplied separately, the power-up sequence is not
critical. VSS1-3 of the AK5374 must be connected to the analog ground plane. System analog ground and digital ground
must be connected together near to where the supplies are brought onto the printed circuit board. Decoupling capacitors
must be as near to the AK5374 as possible, with the small value ceramic capacitor being the nearest.
2. Voltage Reference
The voltage of VREF is 2.2V (typ) and set the analog input range. VCOM is 50%VREF and a signal ground of this chip.
A 4.7μF electrolytic capacitor in parallel with a 0.1μF ceramic capacitor attached to the VREF pin and the VCOM pin
eliminates the effects of high frequency noise. No load current may be drawn from the VREF pin and the VCOM pin. All
signals, especially clocks, should be kept away from the VREF pin and the VCOM pin in order to avoid unwanted
coupling into the AK5374.
3. Analog Inputs
The analog inputs are full-differential and input resistance is 20kΩ (typ). The input signal range is typ. ±0.038Vpp
(@MGAIN = +30dB) and typ. ±1.2Vpp (@MGAIN = 0dB), centered around the internal common voltage (typ. 1.1V).
Usually the input signal is AC coupled using a capacitor. The cut-off frequency is fc = 1/ (2πRC). The DC offset including
the ADC’s own DC offset is removed by the internal HPF (fc=0.93Hz@fs=48kHz). The AK5374 can accept input
voltages from VSS1 to VREF.
MS1197-E-00
2010/05
- 48 -
[AK5374]
PACKAGE
■ 36pin QFN (Unit: mm)
TOP VIEW
BOTTOM VIEW
0.25 (min)
x2
x2
0.15 S
5.0 ± 0.1
0.15 S
0.4 ± 0.1
3.62 ± 0.15
#19
#27
#28
#10
#36
5.0 ± 0.1
3.62 ± 0.15
#18
A
#9
B
0.10
#1 Pin Indicator with Laser Mark
S AB
#1
0.20 ± 0.05
0.75 ± 0.05
C0.3 (#1 Pin Indicator)
0.10 S
S
M
0.25 (min)
0.4 ± 0.1
0.08 S
0.2
0.4
Note: The exposed pad on the bottom surface of the package must be connected to the ground.
■ Material & Lead finish
Package molding compound: Epoxy Resin, Halogen (bromine and chlorine) free
Lead frame material: Cu Alloy
Lead frame surface treatment: Ni/Pd/Au Plate
MS1197-E-00
2010/06
- 49 -
[AK5374]
MARKING
5374
XXXX
1
XXXX: Date code (4 digit)
Pin #1 indication
MS1197-E-00
2010/06
- 50 -
[AK5374]
REVISION HISTORY
Date (YY/MM/DD)
10/06/03
Revision
00
Reason
First Edition
Page/Line
Contents
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
Microdevices Corporation (AKM) or authorized distributors as to current status of the products.
z Descriptions of external circuits, application circuits, software and other related information contained in this
document are provided only to illustrate the operation and application examples of the semiconductor products. You
are fully responsible for the incorporation of these external circuits, application circuits, software and other related
information in the design of your equipments. AKM assumes no responsibility for any losses incurred by you or third
parties arising from the use of these information herein. AKM assumes no liability for infringement of any patent,
intellectual property, or other rights in the application or use of such 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 AKM products are neither intended nor authorized for use as critical componentsNote1) in any safety, life support, or
other hazard related device or systemNote2), and AKM assumes no responsibility for such use, except for the use
approved with the express written consent by Representative Director of AKM. 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 AKM 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 AKM harmless from any and all
claims arising from the use of said product in the absence of such notification.
MS1197-E-00
2010/06
- 51 -