AK5370 [AKM]
USB I/F A/D CONVERTER; USB I / F A / D转换器型号: | AK5370 |
厂家: | ASAHI KASEI MICROSYSTEMS |
描述: | USB I/F A/D CONVERTER |
文件: | 总27页 (文件大小:204K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
ASAHI KASEI
[AK5370]
USB I/F A/D Converter
AK5370
Features:
General Description
n Incorporates USB Audio Controller
The AK5370 is AD converter for USB audio, especially
USB microphone . The AK5370 integrates USB serial
USB Serial Interface Engine
Audio Class Encoder/Decoder
2 Endpoints (FIFO)
interface engine, USB transceiver, audio class decoder,
endpoints, and high quality AD converter into t he chip.
As the AK5370 incorporates PLL, it can support several
sampling frequencies, 8kHz, 11.025kHz, 22.05kHz, 44.1kHz,
and 48kHz with only one crystal. Moreover, the AK5370
integrates volume control, and mute function.
It is possible to make USB microphone with a few external
components
USB transceiver
n 16 bit A/D Converter
1 channel
Mute/Volume Control
AGC pin for external control
A/D S/N: 84dBA (44.1kHz, Gain = 0dB)
This device is good for not only business application such
as conferencing but also games, voice recognition, and
Karaoke.
n On-chip PLL
5 Sampling Frequencies support
8kHz, 11.025kHz
Related Documents
22.05kHz, 44.1kHz, 48kHz
For the detail of USB specification, and Audio Class, please
refer to the following documents.
n Programmable Gain Amplifier
+20dB to –58dB
Universal Serial Bus Specification Revision 1.1
Universal Serial Bus Device Class Definition for Audio
Devices, Revision 1.0
n Single Power Supply, Low Power
+3.3Volts±10%
n Package
24pin VSOP
AGC AGCEN
DGND
AGND
VD
VA
VCOM
String ROM
ConfigROM
MIC_BIAS
Common Voltage
Audio Class
Decoder
EndPoint0
OUT_FIFO
Serial
Interface
Engine
Mute
&
Volume
control
Power
Management
Audio Class
Encoder
EndPoint0
IN_FIFO
Testmode1,2
TEST1,2,3
EndPoint1
IN_FIFO
16bit
ADC
MIC_IN
System
CLK
-
+
-
+
adCLK
PLL
DP
USB
Transceiver
DN
AMP1O
AMP2I
AMP2O
XTLIN
LFLT2
XTLOUT
RST
VREF
LFLT1
CRYSTAL
MS0027-E-00
1
2000/05
ASAHI KASEI
[AK5370]
Pin/Function
No.
1
2
Signal Name
DGND
VD
I/O
P
P
Ana / Dig
Description
D
D
D
Digital Ground
Digital Power Supply, 3.3V
USB bus Non-Inverting pin.
3
DP
I/O
Because AK5370 is full speed mode device, 1.5kΩ resistor will
be connected between D+ node to VD.
4
5
6
7
8
9
DN
I/O
I
O
I
I
O
D
D
A
A
A
A
USB bus Inverting Pin.
TESTMODE3
XTALOUT
XTALIN
TESTMODE2
LFLT2
Please tie down to AGND for normal operation.
Crystal Oscillator Output, Connect Crystal Resonator
Crystal Oscillator Input, Connect Crystal Resonator
Please tie down to AGND for normal operation.
System clock PLL loop filter Pin. Connect 18kΩ resistor and
6800pF capacitor in series externally.
adPLL loop filter Pin. Connect 51kΩ resistor and 8200pF
capacitor in series externally.
10
LFLT1
O
A
11
12
13
14
15
16
17
18
19
20
VCOM
O
I
O
I
P
P
O
O
I
A
A
A
A
A
A
A
A
A
A
Analog Common Voltage Reference Pin
Microphone Input
MICIN
AMP1O
AMP2I
VA
AGND
VREF
AMP2O
TESTMODE1
MICBIAS
1st Amplifier Output Pin
2nd Amplifier Input Pin
Analog Power Supply, 3.3V
Analog Ground
ADC Common Voltage Reference Pin.
2nd Amplifier Output Pin
Please tie down to AGND for normal operation.
Voltage Reference Output for the Microphones bias voltage
When this chip goes into Suspend mode, this pin goes to Hi -Z.
Please tie down to AGND for normal operation.
O
21
22
TEST
AGCE
I
I
D
D
AGC Enable Control Input Pin.
When the external AGC is used, High level should be applied
to this pin. When Low input is applied, AGC configuration
ROM data is set FALSE. Then AGC output is set to Low.
AGC Control Pin
When the host requests set AGC_CONTROL request, this pin
goes to H.
L level AGCE input prevents this AGC_CONTROL request.
Low level output at SUSPEND. Default output at Reset is
Low.
Reset Pin, Low input makes the chip reset sate.
Schmitt Trigger input.
23
24
AGC
O
I
D
D
RSTN
MS0027-E-00
2
2000/05
ASAHI KASEI
[AK5370]
Absolute Maximum Rating
AGND, DGND=0V
Parameter
Symbol
Min
Max
Units
Power Supplies
Analog
Digital
VA
VD
-0.3
-0.3
4.5
4.5
V
V
|DGND-AGND|
∆GND
0.3
V
Input Current (any pins except for supplies)
Analog Input Voltage
Digital Input Voltage
Ambient Temperature
Storage Temperature
IIN
-
±10
mA
V
V
°C
°C
VINA
VIND
Ta
-0.3
-0.3
0
VA+0.3
VD+0.3
70
Tstg
-40
125
Note 1. All voltages with respect to ground
Warning: Operation at or beyond these limits may results in permanent damage to the device. N ormal operation is
not guaranteed at these extremes.
Recommended Operating Condition
AGND, DGND=0V
Parameter
Symbol
Min
typ
Max
Units
Power Supplies
Analog
Digital
VA
VD
3.0
3.0
3.3
3.3
3.6
3.6
V
V
All voltages with respect to ground.
* AKM assumes no responsibility for the usage beyond the condition in this datasheet.
MS0027-E-00
3
2000/05
ASAHI KASEI
[AK5370]
Analog Characteristics
Ta=25°C, VA=VD=3.3V, Signal Frequency=1kHz, Sampling Frequency Fs=44.1kHz
Parameter
Min
typ
Max
Units
Mono ADC (1 channel)
Resolution
16
bits
S/N (A weight)
76
62
84
70
dBA
(1st and 2nd MIC amplifier are set to 0dB)
S/(N+D)
(-0.5dB analog input)
dB
(1st and 2nd MIC amplifier are set to 0dB)
MIC Amplifier (2nd Stage) <IPGA> Characteristics
Input Voltage
Gain Control Range
Step Size
Input Impedance @AMP2I pin
MIC amplifier(1st Stage)
Gain range(defined by external resistors)
External Feedback Impedance
MIC Bias
1.6
Vp-p
dB
dB
-58
0
20
2.0
1.0
20
KΩ
0
20
+20
dB
KΩ
Output Voltage
Output Impedance
Output Current
Power Supplies
when 4.7KΩ resistor connected
0.9VA
Vdc
Ω
mA
200
500
3
Analog
Digital
Total
10.5
8.5
mA
mA
mA
mA
30
Power Down(Suspend Mode)
4.7
FILTER CHARACTERISTICS
(Ta=25°C VA, VD =3.0 - 3.6 V ; fs = 44.1 kHz)
Parameter
Symbol
Min
typ
Max
Units
A/D Digital Filter
(Decimation LPF)
Passband
+/- 0.2 dB
PB
SB
PR
SA
GD
0
26.5
17.64
+/- 0.2
0.5
KHz
KHz
dB
dB
ms
Stopband
Passband Ripple
Stopband Attenuation
Group Delay
68
A/Ddigital Filter (HPF)
Frequency Response
-3 dB
-0.5 dB
-0.1 dB
FR
6.85
19.2
44.9
Hz
Hz
Hz
MS0027-E-00
4
2000/05
ASAHI KASEI
[AK5370]
Digital DC Characteristics
Ta=0 - 70°C; VD=3.0 - 3.6V; DGND=0V Measurement under static state
All digital pins except DP, DN. Schmitt hysteresis level of RST pin and levels of all test pins will not be tested.
Parameter
Symbol
VIH
VIL
VIHR
VILR
VOH
VOL
Iin
Min
70%VA
Typ
Max
30%VA
0.8
Units
V
V
V
V
V
V
µA
AGCE pin H level input voltage
AGCE pin L level input voltage
RSTN pin H level voltage
RSTN pin L level voltage
H level output voltage
L level output voltage
Input Leakage Current
2.0
2.4
IOH= 2mA
IOL= -2mA
0.6
±10
Switching Characteristics
Ta=25°C, VA=VD=3.3V
Parameter
Symbol
MCLK
Wrst
Min
-
1.0
0.8
Typ
11.2896
Max
-
Units
MHz
us
Master Clock Frequency
Reset input width @RSTN pin(low active)
Singe Ended Receiver Threshold
Vse
2.0
V
Main Clock Stable Time
Tostb
100
ms
Vse(max) of D+ to stabilized MCLK
( Xtal oscillator start up + PLL lock-in )
Reset Signal Recognition
Both D+ and D- < Vse(min) to Reset mode
Device Ready
Ready for transaction after reset
Suspend Recognition
Trst_rec
Tdrr
2.5
5.5
10
µs
ms
ms
Tsus_rec
3.0
Idle state ( D+ > Vse(max) & D- < Vse(min) )
to Suspend mode
Resume Time
Tresm
30
ms
First flip of D+/D- from Idle sate
To Device Ready*)
Device Ready: VREF, Xtal oscillator, and PLL get stable and bus trans action with normal rate is ready.
VD
D+
D- "L"
RST
Master
Clock
Tostb
Tdrr
Reset Mode
Trst_rec
Reset Mode
Device
Connected
Figure 1. Mode change with respect to BUS States 1 (Power on and device connected)
MS0027-E-00
5
2000/05
ASAHI KASEI
[AK5370]
Tsus_rec
VDH
D+
D-
RSTH
Master
Clock
Tresm
Figure 2. Mode Change with respect to Bus States 2 (Bus transactions)
Transmitter Characteristics
Ta=25°C; VD=3.3V; DGND=0V; CL=50pF
Parameter
Symbol
Pins
Conditions
Min
Typ
Max
Units
Data Rate
DR
DP,DN
11.97
12
12.03
MHz
Output Impedance (Hi)
Roh
DP, DN
DP, DN=H
30
30
Ω
Output Impedance (Lo)
H level Output Voltage
L level Output Voltage
Tri-state Leakage Current
Rise/Fall Time
Rol
Vohd
Vold
Iolk
Trf/Tff
Trfm
Vcrs
DP, DP
DP, DN
DP, DN
DP, DN
DP, DN
DP, DN
DP, DN
DP, DN=L
IOH=-200uA
IOH=2.2mA
Ω
V
V
µA
ns
%
V
2.8
0.3
10
20
0 < DP, DN< 3.3V
-10
4
12
100
1.6
Rise/Fall Time Matching
Crossover Point
Trf
Trs
Tff
Tfs
90%VDD
10%VDD
DP, DN
Figure 3. Rise/Fall Time
Vcrs
DP, DN
Figure 4. Crossover Point
MS0027-E-00
6
2000/05
ASAHI KASEI
[AK5370]
Receiver Characteristics
Ta=25°C; VD=3.3V; DGND=0V
Parameter
Schmitt High Level Voltage
Schmitt Low Level Voltage
Symbol
Vihs
Vils
Pins
DP, DN
DP, DN
Conditions
Min
2.0
Typ
Max
Units
V
V
0.8
Vihs
Vils
DP, DN
Figure 5. Schmitt Level Voltage
MS0027-E-00
7
2000/05
ASAHI KASEI
[AK5370]
n
Overview of AK5370
The AK5370 is the advanced A/D converter, which converts analog signal of condenser microphone into USB audio class formats. This
device is suitable for USB microphone. The AK5370 includes the following blocks:
1.
2.
3.
4.
AD converter
Pre-Amplifier with variable gain/attenuation
Serial Interface Engine
Control block of Audio Device Class
Support Mute, Gain/Attenuation, Sampling Frequency Control, and AGC (only decode the request)
USB transceiver
AK4170 compliant
FIFO memory for bus synchronization
Memory Size (16bit wide x 100 depth)
5.
6.
7.
PLL
Synchronize Audio Stream data with USB bus I/F
The AK5370 supports 5 sampling frequencies (8kHz, 11.025kHz, 22.05kHz, 44.1kHz, 48kHz) mute control, volume control of Feature
Unit in Audio Device Class. In addition to this, as the AK5370 decodes the AGC request, and puts “H” or “L” level to the external pin,
AGC pin, it is easy to implement AGC with external circuit.
In order to support these frequencies, the AK5370 incorporates PLL. In addition to this, as the AK5370 consumes low power, it is
possible to operate as bus-powered device.
n
Class & Descriptor Overview
USB peripheral usually belongs to a group, “Class”. The AK5370 belongs to Audio Device Class. The Class consists of four
Descriptors, Device Descriptor, Configuration Descriptor, Interface Descriptor, and Endpoint Descriptor. The AK5370 has Audio
Specific Interface Descriptor and Endpoint Descriptor.
(1) Device Descriptor
Device Descriptor describes the product information; product name, manufacturer, etc. In addition to this, Device Descriptor has
Endpoint0 fifo-buffer size. At enumeration phase, host reads 8 bytes from the top of Device Descriptor at first. The host knows by
reading bMaxPacketSize0 in the Device Descriptor, and uses this value for the following transactions, and does not send the bigger data
at once.
(2) Configuration Descriptor
Configuration Descriptor informs the host of the number of Interface, Bus-powered/Self-Powered device, etc.
This descriptor is the same as Standard Interface Descriptor.
(3) Interface Descriptor
There are two Interfaces in Audio Class; Audio Control (AC) Interface, and Audio Streaming (AS) Interface.
Each Audio Interface includes Standard Interface Descriptor and Class-Specific Interface.
Standard AC Interface Descriptor describes interface’s class.
Class-Specific AC Interface Descriptor is a concatenation of all the descriptors that are used to fully describe the audio function.
As the AK5370 has three logical audio functions; Input Terminal, Output Terminal, and Feature Unit (mute, volume, AGC), each
terminal and unit has their own Descriptor.
Not only each descriptor has their own information, but also has connection information between the blocks.
For example, bSourceID field in Output Terminal Descriptor is 0x03, which is ID of Feature Unit. This means that Feature Unit is
connected to Output Terminal.
Standard AS Interface has the interface class name (AUDIO) and sub-class name (AUDIO_STREAMING), the related Endpoint number,
etc.
Class-Specific AS Interface Descriptor mainly shows Audio Data Format information that follows as Descriptor.
There is a note for Alternate Setting:
Alternate setting 0 is a zero-bandwidth setting, used to relinquish the claimed bandwidth on the bus when the microphone is not in use. It
is the default setting after power-up. The zero bandwidth is implemented by specifying that this alternate setting of the interface has no
endpoints associated with it (bNumEndpoints=0).
(4) Endpoint Descriptor
MS0027-E-00
8
2000/05
ASAHI KASEI
[AK5370]
Endpoint Descriptor is a pipe for the data. The AK5370 has two Endpoints. One is Endpoint0 for Control Transfer. Another is
Endpoint 1, whose direction is IN, is used for Isochronous Transfer. Standard AS Isochronous Endpoint tells Endpoint type like
In/OUT, maximum packet size, synchronization type, etc. to the host.
Main information of Class-Specific AS Endpoint Descriptor is sampling frequency.
Figure 6 shows Descriptor’s hierarchy.
Device
Device
Descriptor
Configuration
Configuration
Descriptor
Standard Audio Control
Interface Descriptor
Standard AS Interface
Descriptor Alt. Setting 0
Interface
Class-Specific Audio Control
Interface Descriptor
Standard AS Interface
Descriptor Alt. Setting 1
Class-Specific Audio Streaming
Interface Descriptor
Class-Specific AS Format Type
Descriptor
Standard AS Isochronous
Endpoint Descriptor
Endpoint
(IN)
Class-Specific AS Isochronous
Endpoint Descriptor
Class-Specific Descriptor
StandardInterface Descriptor
Figure 6. Descriptor Hierarchy
MS0027-E-00
9
2000/05
ASAHI KASEI
[AK5370]
n
Synchronization
The AK5370 operates as Asynchronous Device. A/D converter in the AK5370 operates asynchronously with USB SOF timing. The
data from A/D converter are sent continuously to a buffer memory while the data are burstly transferred at the interval of SOF on the
USB. In order to control the difference of timing, AK5370 has a FIFO memory with a capacity of 2-frame depth .The average sampling
rate calculating from USB frame should be in accordance with A/D sampling rate (fs).
The following figure shows an example. When sampling frequency is set to 44.1kHz, the number of data is almost 44 samples in one
frame. But the AK5370 must send 45 samples in once per ten times. Please see Figure 7.
N Frame
(N+1) Frame
44 samples
(N+9) Frame
45 samples
(N+10) Frame
44 samples
44 samples
Figure 7. Synchronization
The data sampled by A/D converter in N Frame are output to the USB bus on somewhere the (N+1) frame by issuing IN transfer.
Power Management Control
n
In the normal operation, MICBIAS outputs the voltage to supply the microphone’s bias voltage.
When idle state continues for 3ms, the AK5370 goes to suspend state and forces ADC block and other unnecessary block to power-down
mode. MICBIAS pin does not supply the bias voltage to save power consumption and is open state under suspend state.
The device resumes the normal operation within 30ms after the device receives resume signal
n
Feature Unit Control & Frequency Control
The AK5370 has three feature unit function; mute, volume, and AGC.
The host issues “SET_FEATURE_UNIT_CONTROL” request to change the volume, the status of mute or AGC. The AK5370 responds
to the request for CUR value only, not respond for MIN, MAX, RES value. Note that the AK5370 doesn’t have AGC circuit itself and
that it decodes AGC request only.
The host can get the CUR/MAX/MIN/RES value of the volume by requesting “GET_FEATURE_CONTROL”. However, only CUR
value is supported for mute and AGC.
Volume Control Format of USB Audio Class is a) 16-bit integer, b) upper-bye is integer (-127 to 127), and lower-bye is fraction.
The AK5370 follows the conversion table described in Table 1 in page 22 for the volume control request
When the AK5370 receives “SET_ENDPOINT_CONTROL” request, it changes sampling frequency(fs). If fs is not supported, the
device forces to set the appropriate fs which it supports. The host can get fs by issuing “GET_ENDPOINT_CONTROL” request.
MS0027-E-00
10
2000/05
ASAHI KASEI
[AK5370]
AK5370 Descriptors Specification
1. Product description
This device is one channel 16-bit ADC with USB I/F for monaural microphone, and operates as IN
device.
2. Descriptor structure
This device includes one configuration, two interfaces, which are an audio control interface (0) and
an audio streaming interface (1), two endpoints, which are endpoint 0 for default pipe, and endpoint
1 for audio streaming.
The descriptor is partly fixed and partly programmable by means of selectable test pin map. The
programmable descriptors are marked with a star.
3. Device descriptor
Offset
0
Field
Size
1
Value
0x12
Description
Size of this descriptor in bytes
bLength
1
2
4
5
6
7
8
10
12
14
15
16
17
bDescriptorType
bcdUSB
1
2
1
1
1
1
2
2
2
1
1
1
0x01
0x0110
0x00
0x00
0x00
DEVICE descriptor
1.10 current revision of USB spec.
Device defined at Interface level
Unused
Unused
8 bytes
AKMs Vendor ID
00 means Audio Product, 01 is AKMproduct ID ,
Device release code
AKM
AK5370
bDeviceClass
bDeviceSubClass
bDeviceProtocol
bMaxPacketSize0
idVendor
idProduct
bcdDevice
iManufacturer
iProduct
iSerialNumber
bNumConfigurations
0x08
0x0556
0x0001
0x0001
0x01
0x02
0x00
Unused
One configuration
1
0x01
4. Configuration block
The configuration block consists of a configuration descriptor followed by interface, endpoint, and
class-specific descriptors.
4.1 Configuration descriptor
Offset
Field
bLength
bDescriptorType
wTotalLength
Size
Value
0x09
0x02
Description
Size of this descriptor
CONFIGURATION descriptor
Length of entire configuration block
Total 118 bytes including this interface
descriptor.
0
1
2
1
1
2
0x0076
Two interfaces
4
5
6
7
8
bNumInterfaces
bConfigurationValue
iConfiguration
bmAttributes
1
1
1
1
1
0x02
0x01
0x00
0x80
0x2D
Index of this configuration
Null string
Bus Powered Device
Power consumption:90mA
MaxPower
MS0027-E-00
11
2000/05
ASAHI KASEI
[AK5370]
4.2 Audio control interface
The audio control interface describes the device structure and is used to manipulate the audio
controls.
4.2.1 Interface descriptor
This descriptor describes a standard interface which includes USB class code and the index to
class-specific information.
Offset
Field
bLength
Size
1
1
1
1
1
1
1
1
Value
0x09
0x04
0x00
0x00
0x00
0x01
0x01
0x00
0x00
Description
0
1
2
3
4
5
6
7
8
Size of this descriptor
INTERFACE descriptor
Index of this interface
Index of this setting
Endpoint 0
AUDIO
AUDIO_CONTROL
Unused
bDescriptorType
bInterfaceNumber
bAlternateSetting
bNumEndpoints
bInterfaceClass
bInterfaceSubclass
bInterfaceProtocol
iInterface
1
null string
4.2.2 Class-specific interface header descriptor
Contains general information about the audio device.
Offset
Field
bLength
bDescriptorType
bDescriptorSubtype
bcdADC
Size
Value
0x09
0x24
0x01
0x0100
0x0026
Description
Size of this descriptor
CS_INTERFACE
HEADER subtype
Revision of class specification 1.0
Total size of class-specific Audio Control
Interface descriptors (includes this
descriptor)
0
1
2
3
5
1
1
1
2
2
wTotalLength
7
8
bInCollection
baInterfaceNr(1)
1
1
0x01
0x01
Number of streaming interfaces
Streaming interface number 1 belongs to
this audio control interface.
4.2.3 Input terminal descriptor
This descriptor describes the signal coming through the input port NumChannels is 1(monaural)
and ChannelConfig is set no position. Terminal type is Microphone.
Offset
Field
bLength
Size
Value
0x0C
0x24
0x02
0x01
Description
Size of this descriptor
CS_INTERFACE
INPUT_TERMINAL subtype
ID of this terminal
Terminal is Microphone
ID of associated Output Terminal is
0x02
0
1
2
3
4
6
1
1
1
1
2
1
bDescriptorType
bDescriptorSubtype
bTerminalID
wTerminalType
bAssocTerminal
0x0201
0x02
7
8
10
11
bNrChannels
wChannelConfig
iChannelNames
iTerminal
1
2
1
1
0x01
0x0000
0x00
One channel (Monaural)
Mono sets no position bits
Unused
0x00
Unused
4.2.4 Output terminal descriptor
This descriptor describes the USB stream to host.
Offset
Field
bLength
Size
1
1
1
1
2
1
1
1
Value
0x09
0x24
0x03
0x02
0x0101
0x01
0x03
0x00
Description
Size of this descriptor
CS_INTERFACE
OUTPUT_TERMINAL subtype
ID of this terminal
USB Streamer
ID of associate Input Terminal is 0x01
From Feature Unit
Unused
0
1
2
3
4
6
7
8
bDescriptorType
bDescriptorSubtype
bTerminalID
wTerminalType
bAssocTerminal
bSourceID
iTerminal
MS0027-E-00
12
2000/05
ASAHI KASEI
[AK5370]
4.2.5 Feature Unit descriptor
This descriptor describes Mute Control, Volume Control and Automatic Gain Control(AGC) .
Offset
Field
bLength
bDescriptorType
bDescriptorSubtype
bUnitID
Size
Value
0x08
0x24
0x06
0x03
0x01
0x01
Description
Size of this descriptor
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()
0
1
2
3
4
5
1
1
1
1
1
1
bSourceID
bControlSize
6
7
bmaControls(0)
iFeature
1
1
0x43*
0x00
D0(Mute), and D1(Volume), D6(AGC) is
enable
Unused
*) When “L” level is applied to AGCE pin, bmaControl (0) data is modified to 0x03 to state AGC is not
enable.
Note that there is never endpoint descriptor for endpoint 0.
MS0027-E-00
13
2000/05
ASAHI KASEI
[AK5370]
4.3 Audio streaming interface
4.3.1 Zero bandwidth interface descriptor
Offset
Field
Size
Value
0x09
0x04
0x01
0x00
0x00
0x01
0x02
0x00
0x00
Description
0
1
2
3
4
5
6
7
8
bLength
1
1
1
1
1
1
1
1
Length of this descriptor
INTERFACE descriptor
Index of this interface
Index of this setting
Endpoints 0
AUDIO
AUDIO_STREAMING
Unused
bDescriptorType
bInterfaceNumber
bAlternateSetting
bNumEndpoints
bInterfaceClass
bInterfaceSubclass
bInterfaceProtocol
iInterface
1
null string
4.3.2 Interface descriptor
Offset
Field
Size
1
1
1
1
1
1
1
1
Value
0x09
0x04
0x01
0x01
0x01
0x01
0x02
0x00
0x00
Description
0
1
2
3
4
5
6
7
8
bLength
Length of this descriptor
INTERFACE descriptor
Index of this interface
Index of this setting
Endpoint 1
AUDIO
AUDIO_STREAMING
Unused
bDescriptorType
bInterfaceNumber
bAlternateSetting
bNumEndpoints
bInterfaceClass
bInterfaceSubclass
bInterfaceProtocol
iInterface
1
null string
4.3.3 Class-specific audio streaming interface descriptor
Offset
Field
Size
Value
Description
0
1
2
3
4
5
bLength
1
1
1
1
1
2
0x07
0x24
0x01
0x02
0x01
0x0001
Length of this descriptor
CS_INTERFACE descriptor
AS_GENERAL
Unit ID of terminal(Output Terminal ID)
Interface delay
PCM
bDescriptorType
bDescriptorSubtype
bTerminalLink
bDelay
wFormatTag
4.3.4 Type I format type descriptor
Offset
Field
Size
Value
Description
0
blength
1
0x17
Size of this descriptor
1
2
3
4
5
6
7
8
11
14
17
20
bDescriptorType
bdescriptorSubtype
bformatType
bNrChannels
bSubFrameSize
bBitResolution
bSamFreqType
tSamFreq[0]
tSamFreq[1]
tSamFreq[2]
tSamFreq[3]
tSamFreq[4]
1
1
1
1
1
1
1
3
3
3
3
3
0x24
0x02
0x01
0x01
0x02
0x10
0x05
0x001F40
0x002B11
0x005622
0x00AC44
0x00BB80
CS_INTERFACE
FORMAT_TYPE
FORMAT_TYPE_I
One channel
Two bytes per slot
16 bits
Five frequencies
8000Hz
11025Hz
22050Hz
44100Hz
48000Hz
MS0027-E-00
14
2000/05
ASAHI KASEI
[AK5370]
4.4 Endpoint descriptor
4.4.1 Standard Endpoint Descriptor
Offset
Field
Size
Value
Description
0
1
2
3
4
6
bLength
1
1
1
1
2
1
0x07
0x05
0x81
0x01
0x0064
0x01
Length of this descriptor
ENDPOINT descriptor
Endpoint 1, IN direction
Isochronous, asynchronous, not shared
2byte*50sample*1ch=100 byte/frame
One packet every frame (Must be set to 1)
bDescriptorType
bendpointAddress
bmAttributes
wMaxPacketSize
wInterval
4.4.2 Class-specific isochronous audio data endpoint descriptor
Offset
Field
Size
Value
Description
0
1
2
3
4
5
bLength
1
1
1
1
1
2
0x07
0x25
0x01
0x01
0x00
Size of this descriptor
CS_ENDPOINT
GENERAL
Sample rate control
Unused
bDescriptorType
bDescriptorSubtype
bmAttributes
bLockDelayUnits
wLockDelay
0x0000
4.5
String descriptor 1
String descriptors use UNICODE. except for LANGID.
4.5.1 LANGID (0x00) Field
Offset
Field
Size
Value
0x04
0x03
Description
0
1
2
bLength
bDescriptorType
bString
1
1
2
Length of this descriptor
STRING descriptor
English(US)
0x0409
4.5.2.1 iManufacterer (0x01) Field in Device Descriptor
Offset
Field
Size
Value
Description
0
1
2
bLength
bdescriptorType
bString
1
1
6
0x022
0x03
Length of this descriptor
STRING descriptor
0x0041
0x004B
0x004D
0x0020
0x0020
0x0020
0x0020
0x0020
0x0020
0x0020
0x0020
0x0020
0x0020
0x0020
0x0020
0x0020
AKM
MS0027-E-00
15
2000/05
ASAHI KASEI
[AK5370]
4.5.3.1iProduct (0x02) Field in Device Descriptor
Offset
Field
Size
Value
Description
0
1
2
bLength
bDescriptorType
bString
1
1
12
0x22
0x03
Length of this descriptor
STRING descriptor
0x0041
0x004B
0x0035
0x0033
0x0037
0x0030
0x0020
0x0020
0x0020
0x0020
0x0020
0x0020
0x0020
0x0020
0x0020
0x0020
AK5370
MS0027-E-00
16
2000/05
ASAHI KASEI
[AK5370]
5.Standard requests
5.1 Clear Feature
The AK5370 accepts Clear Feature request without stall. Though this request does not influence
to the operation of the device, the AK5370 does not support this request.
5.2 Get Configuration
AKM USB Microphone should return the value, one, to the host.
Field
Size
Value
Description
Offset
0
1
2
4
6
bmRequestType
bRequest
wValue
wIndex
wLength
1
1
2
2
2
0x80
0x08
0x0000
0x0000
0x0001
GET_CONFIGURATION
AKM USB Mic. has one configuration.
5.3 Get Descriptor
Offset
Field
Size
Value
0x80
0x06
Description
0
1
2
bmRequestType
bRequest
wValue
1
1
2
GET_DESCRIPTOR
ZZZZ is assigned by host:
0xZZZZ
High Byte is Descriptor Type, Low Byte is Index.
DEVICE : 0x0100 : (Index is 0 only)
CONFIGURATION : 0x0200
STRING: 0x03??(?? is 00, 01, 02)
if wValue is DEVICE or CONFIGURATION, wIndex is
zero. If wValue is 0x0300(LANGID), wIndex is zero.
If wValue is 0x0301 or 0x0302, wIndex is 0x0409.
4
6
wIndex
2
2
0x0000
0xZZZZ
wLength
Descriptor Length (ZZZZ is assigned by host)
5.4 Get Interface
AKM USB Microphone has alternate Audio Streaming Interface, ;zero bandwidth, and normal.
So, the device returns the current selected bAlternateSetting v alue, 0x00(zero bandwidth Audio
Streaming Interface) or 0x01(normal Audio Streaming Interface). If wIndex is 0 (Audio Control
Interface), the device returns the value, 0x00.
Offset
Field
Size
Value
0x81
0x0A
0x0000
0x0000
0x0001
0x0001
Description
0
1
2
4
bmRequestType
bRequest
wValue
1
1
2
2
GET_INTERFACE
ZERO
Audio Control Interface
Audio Streaming Interface
AKM USB Mic. Has zero bandwidth Audio
Streaming Interface and normal Audio Streaming
Interface.
wIndex
6
wLength
2
MS0027-E-00
17
2000/05
ASAHI KASEI
[AK5370]
5.5 Get Status
Offset
0
Field
bmRequestType
Size
1
Value
0x80
Description
DEVICE
0x81
0x82
0x00
0x0000
INTERFACE
ENDPOINT
GET_STATUS
ZERO
1
2
4
6
bRequest
wValue
wIndex
1
2
2
2
wLength
0x0002
The AKM USB MIC returns the following status.
a)Device : 0x00 ( AKM USB MIC is bus-powered device)
b)Interface: 0x00 (All Zero)
c)Endpoint : 0x00
5.6 Set Address
AKM USB MIC stores the wValue in the internal memory as Device Address. In addition to this,
the device returns ACK.
Offset
Field
Size
Value
0x00
0x05
0xZZZZ
0x0000
0x0000
Description
Zero
SET_ADDRESS
Device Address : ZZZZ is assigned by host
Zero
Zero
0
1
2
4
6
bmRequestType
bRequest
wValue
wIndex
wLength
1
1
2
2
2
5.7 Set Configuration
AKM USB MIC is placed to configured state only wValue of this request is 0x00 01. In addition to
this, the device returns ACK.
Offset
Field
Size
Value
0x00
0x09
0x0000
0x0001
others
0x0000
0x0000
Description
Zero
SET_CONFIGURATION
Unconfigured State
AKM USB MIC is set to configured state
Unconfigured State
Zero
0
1
2
bmRequestType
bRequest
wValue
1
1
2
4
6
wIndex
wLength
2
2
Zero
MS0027-E-00
18
2000/05
ASAHI KASEI
[AK5370]
5.8 Set Feature
The AK5370 accepts Set Feature request without stall. However note that the AK5370 does not
support this request.
5.9 Set Interface
This request selects the alternate setting on interface 1 to control bandwidth allocation. Only
0x0000 is selected if wIndex is 0x0000 (Audio Control Interface) as current Interface.
Offset
Field
Size
Value
Description
0
bmRequestType
1
0x01
ONE
D7
0 = Host to device
D6..5 0 = Standard request
D4..0 1 = Recipient is interface
SET_INTERFACE
Alternate Setting
1
2
bRequest
wValue
1
2
0x0B
0x0000
0x0001
Control Interface or
Streaming Interface
Normal Streaming
Audio Control Interface
Audio Streaming Interface
Zero
Zero Bandwidth of
4
6
wIndex
2
2
0x0000
0x0001
0x0000
wLength
5.10Synch Frame
As AKM USB Microphone does not support this request , pipe is stalled.
MS0027-E-00
19
2000/05
ASAHI KASEI
[AK5370]
6.Device specific requests
AKM USB Microphone supports ONLY SET_CUR as bRequest field in Set Request Values.
6.1 Audio Control Request
AKM USB microphone support ONLY Feature Unit Control Request, not support other requests.
Addition to this, it only supports SET_CUR value as bRequest field in Set Feature Unit Control
Request Values. All Audio Control Requests are applied to channel 0, which means master
channel.
6.1.1 Set Feature Unit Control Request
AKM USB Microphone supports only one form of parameter block.
a) Mute Control
Offset
Field
Size
Value
0x21
0x01
0x0100
0x0300
Description
0
1
2
4
bmRequestType
bRequest
wValue
1
1
2
2
SET_CUR
MUTE_CONTROL | CHANNEL_0
Upper Byte : bUnit ID field in Feature Unit
Descriptor.(0x03)
wIndex
Lower Byte : Audio Control Interface(0x00)
6
wLength
2
0x0001
The Length of Mute Control Parameter Block
The parameter block of mute control is the following.
Offset
0
Field
bMute
Size
1
Value
0x01
0x00
Description
TRUE
FALSE
b) Volume Control
Offset
Field
Size
Value
0x21
0x01
0x0200
0x0300
Description
0
1
2
4
bmRequestType
bRequest
wValue
1
1
2
2
SET_CUR
VOLUME_CONTROL | CHANNEL_0
Upper Byte : bUnit ID field in Feature Unit
Descriptor.(0x03)
wIndex
Lower Byte : Audio Control Interface(0x00)
6
wLength
2
0x0002
Volume Control
The parameter block of mute control is the following.
Offset
Field
Size
Value
Description
0
wVolume
2
0xZZZZ
The value is mapped to the volume register value.
(refer to Figure 3 conversion table )
ZZZZ is assigned by the host
If the wVolume exceeds the range, the AK5370 forces the value into the range. Please see the
conversion table in the Get Feature Unit Control Request.
c) Automatic Gain Control
Offset
Field
Size
Value
0x21
0x01
0x0700
0x0300
Description
0
1
2
4
bmRequestType
bRequest
wValue
1
1
2
2
SET_CUR
AUTOMATIC_GAIN_CONTROL | CHANNEL_0
Upper Byte : bUnit ID field in Feature Unit
Descriptor.(0x03)
wIndex
Lower Byte : Audio Control Interface(0x00)
6
wLength
2
0x0001
The Length of Mute Control Parameter Block
The parameter block of mute control is the following.
Offset
0
Field
bAGC
Size
1
Value
0x01
0x00
Description
TRUE (AGC pin is H)
FALSE (AGC pin is L: Default)
MS0027-E-00
20
2000/05
ASAHI KASEI
[AK5370]
6.1.2 Get Feature Unit Control Request
AKM USB Microphone supports only one form of parameter block.
a) Mute Control
Offset
Field
Size
Value
0xA1
0x81
0x0100
0x0300
Description
0
1
2
4
bmRequestType
bRequest
wValue
1
1
2
2
GET_CUR
MUTE_CONTROL | CHANNEL_0
Upper Byte : bUnit ID field in Feature Unit
Descriptor.(0x03)
wIndex
Lower Byte : Audio Control Interface(0x00)
6
wLength
2
0x0001
The Length of Mute Control Parameter Block
The device outputs the current setting of mute status.
Offset
0
Field
bMute
Size
1
Value
0x01
0x00
Description
TRUE
FALSE
b) Volume Control
Offset
0
1
Field
bmRequestType
bRequest
Size
1
1
Value
0xA1
0x81
Description
GET_CUR
0x82
GET_MIN
0x83
0x84
GET_MAX
GET_RES
2
4
wValue
wIndex
2
2
0x0200
0x0300
VOLUME_CONTROL | CHANNEL_0
Upper Byte : bUnit ID field in Feature Unit
Descriptor.(0x03)
Lower Byte : Audio Control Interface(0x00)
6
wLength
2
0x0002
Volume Control
The parameter block of Volume Control is the following.
Offset
Field
Size
Value
Description
0
wVolume
2
0xZZYY
bRequest = GET_CUR : returns current volume.
YY must be 00h
0xC600
0x1400
0x0100
bRequest = GET_MIN : -58dB
bRequest = GET_MAX : +20dB
bRequest = GET_RES : 1.0dB
Table 1 is the conversion map of USB class and internal volume register.
When host requests the volume value which is larger than the MAX value in the device, the device
sets the MAX value to the volume. When host requests the volume value which is smaller than
the MIN value in the device, the device sets the MIN value to the volume. RES value is 1.0dB.
MS0027-E-00
21
2000/05
ASAHI KASEI
[AK5370]
Field
value
Step
wVolume
0x7FFF
--------
0x1400
0x13FF
---------
20.0000
---------
20.0000
19.0000
--------
0x1301
0x1300
0x12FF
---------
19.0000
19.0000
18.0000
--------
0x1201
0x1200
---------
18.0000
18.0000
--------
---------
--------
0x02FF
---------
2.0000
--------
0x0201
0x0200
0x01FF
---------
0x0101
0x0100
0x00FF
---------
0x0001
0x0000
0xFFFF
--------
2.0000
2.0000
1.0000
---------
1.0000
1.0000
0.0000
---------
0.0000
0.0000
-1.0000
--------
1.0dB
0xFF01
0xFF00
0xFEFF
--------
-1.0000
-1.0000
-2.0000
--------
0xFE01
0xFE00
---------
-2.0000
-2.0000
---------
---------
-57.0000
-58.0000
---------
-58.0000
-58.0000
-58.0000
---------
-58.0000
---------
0xC700
0xC6FF
---------
0xC601
0xC600
0xC5FF
---------
0x8000
Table 1 Conversion Table of Volume Control
MS0027-E-00
22
2000/05
ASAHI KASEI
[AK5370]
c) Automatic Gain Control
Offset
Field
Size
Value
0xA1
0x81
0x0700
0x0300
Description
0
1
2
4
bmRequestType
bRequest
wValue
1
1
2
2
GET_CUR
AUTOMATIC_GAIN_CONTROL | CHANNEL_0
Upper Byte : bUnit ID field in Feature Unit
Descriptor.(0x03)
wIndex
Lower Byte : Audio Control Interface(0x00)
6
wLength
2
0x0001
The Length of Mute Control Parameter Block
The device outputs the current setting of AGC.
Offset
0
Field
bAGC
Size
1
Value
0x01
0x00
Description
TRUE (AGC pin is H)
FALSE (AGC pin is L)
MS0027-E-00
23
2000/05
ASAHI KASEI
[AK5370]
6.2 Endpoint Control Request
The AK5370 supports five sampling frequencies. The sampling rate is changed when Set
Endpoint Control Request is issued. SET_CUR, GET_CUR of bRequest is only supported.
GET_MIN, GET_ MAX, and GET_RES of bRequest are not supported.
6.2.1 Set Endpoint Control Request
Offset
Field
Size
Value
0x22
0x01
Description
0
1
2
bmRequestType
bRequest
wValue
1
1
2
SET_CUR
0x0100
Upper byte: SAMPLING_FREQ_CONTROL (0x01)
Lower byte : zero
4
6
wIndex
2
2
0x0081
0x0003
Upper Byte : zero
Lower Byte : Endpoint Address (0x81)
The Length of Sampling Frequency Parameter
Block
wLength
The parameter block of mute control is the following.
Offset
Field
Size
Value
Description
0
iSampleFreq
3
0xYYYYYY
The following five values are valid. Others are
invalid.
0x001F40 : 8kHz
0x002B11 : 11.025kHz
0x005622 : 22.05kHz
0x00AC44 : 44.1kHz(default)
0x00BB80 : 48kHz
If the iSampleFreq is different from the above values, the AK5370 forces sampling frequency to the
appropriate value.
6.2.2 Get Endpoint Control Request
Offset
Field
Size
Value
0xA2
0x81
Description
0
1
2
bmRequestType
bRequest
wValue
1
1
2
GET_CUR
0x0100
Upper byte: SAMPLING_FREQ_CONTROL (0x01)
Lower byte : zero
4
6
wIndex
2
2
0x0081
0x0003
Upper Byte : zero
Lower Byte : Endpoint Address (0x81)
The Length of Sampling Frequency Parameter
Block
wLength
The parameter block of mute control is the following.
Offset
Field
Size
Value
Description
0
iSampleFreq
3
0xYYYYYY
The following five values are valid. Others are
invalid.
0x001F40 : 8kHz
0x002B11 : 11.025kHz
0x005622 : 22.05kHz
0x00AC44 : 44.1kHz
0x00BB80 : 48kHz
MS0027-E-00
24
2000/05
ASAHI KASEI
[AK5370]
Package
24pin VSOP (Unit: mm)
1.25 0.20
±
*7.9 0.2
±
24
13
A
12
1
0.22 +0.10
-0.05
0.15+0.10
-0.05
0.65
0.12
M
0.10 0.05
±
Detail A
Seating Plane
0.08
0-10
°
NOTE: Dimension "*" does not include mold flash.
MS0027-E-00
25
2000/05
ASAHI KASEI
[AK5370]
Marking
AKM
AK5370VF
AAXXXX
1) Pin #1 indication
2) AA: LOT#
3) Date Code: XXXXX(4 digits)
4) Marketing Code: AK5370VF
5) Asahi Kasei Logo
MS0027-E-00
26
2000/05
ASAHI KASEI
[AK5370]
IMPORTANT NOTICE
• These products and their specifications are subject to change without notice. Before
considering any use or application, consult the Asahi Kasei Microsystems Co., Ltd. (AKM)
sales office or authorized distributor concerning their current status.
• AKM assumes no liability for infringement of any patent, intellectual property, or other right in
the application or use of any information contained herein.
• Any export of these products, or devices or systems containing them, may require an export
license or other official approval under the law and regulations of the country of export
pertaining to customs and tariffs, currency exchange, or strategic materials.
• AKM products are neither intended nor authorized for use as critical components in any safety,
life support, or other hazard related device or system, and AKM assumes no responsibility
relating to any such use, except with the express written consent of the Representative
Director of AKM. As used here:
(a) A hazard related device or system is one designed or intended for life support or
maintenance of safety or for applications in medicine, aerospace, nuclear energy, or other
fields, in which its failure to function or perform may reasonably be expected to result in
loss of life or in significant injury or damage to person or property.
(b)A critical component is one whose failure to function or perform may reasonably be
expected to result, whether directly or indirectly, in the loss of the safety or effectiveness of
the device or system containing it, and which must therefore meet very high standards of
performance and reliability.
• It is the responsibility of the buyer or distributor of an AKM product who distributes, disposes
of, or otherwise places the product with a third party to notify that party in advance of the
above content and conditions, and the buyer or distributor agrees to assume any and all
responsibility and liability for and hold AKM harmless from any and all claims arising from the
use of said product in the absence of such notification.
MS0027-E-00
27
2000/05
相关型号:
©2020 ICPDF网 联系我们和版权申明