添加en和zh

This commit is contained in:
PhatenIoT-yan
2025-05-14 15:25:41 +08:00
parent 8c5ea7b9fd
commit 3a5820f4e9
1870 changed files with 96185 additions and 251 deletions

View File

@@ -0,0 +1,151 @@
# A316-Codec-V1 USB Microphone Module Specification
--8<-- "common/phaten_xmos_support_img.md"
<div class="result" markdown>
![A316-Codec-V1 USB Multi-Channel Audio Decoder Module](../../assets/images/hifi_audio/a316_codec_v1.png "A316-Codec-V1 USB Voice Recording and Playback Module"){align=right width=250 style="transform: rotate(90deg); margin-top: 200px;"}
<!-- <img src="/assets/images/hifi_audio/a316_codec_v1.png" alt="A316-Codec-V1 USB Multi-Channel Audio Decoder Module" style="transform: rotate(90deg); width: 250px; float: right; margin-top: 200px;" /> -->
## 1. Product Introduction
### 1.1 Product Description
- The A316-Codec-V1 is a module designed specifically for USB microphone applications, integrating the XMOS XU316 processor and the high-performance 88L21 audio codec, providing excellent audio processing capabilities.
- The module features a high-precision DC-DC power circuit that outputs 3.3V, 1.8V, and 0.9V to power the XU316, requiring only a 5V external power input, which greatly simplifies the design complexity of the application board.
- The module supports external single-ended and differential microphone inputs, and provides stereo audio output, suitable for various audio recording and playback application scenarios.
- The module is equipped with 16Mbit Flash memory for storing audio firmware and system configurations, with support for firmware upgrade functionality.
- It provides a USB 2.0 interface, supporting both full-speed and high-speed modes, implementing USB Audio device functionality, compatible with various operating systems.
</div>
### 1.2 Product Features
- **USB Interface Features**
- USB 2.0 (Full-speed and High-speed modes)
- USB Audio Class 1.0/2.0 support
- USB Firmware Upgrade (DFU) functionality
- USB MIDI Device Class 1.0 support
- Asynchronous transfer mode, reducing clock jitter
- **Audio Input/Output Capabilities**
- Integrated NAU88L21 high-performance audio codec
- Support for single-ended and differential microphone inputs
- High-quality stereo audio output
- Built-in microphone preamplifier
- Support for multiple audio interface specifications
- 48KHz/24bit high-quality audio sampling
- **AI Noise Reduction**
- Elimination of various steady-state and non-steady-state noise
- Removal of microphone button sounds, keyboard sounds, footsteps, and other background noise
- High-fidelity voice output
- **System Compatibility**
- Support for multiple operating systems including Windows, Linux, Android, macOS, and iOS
- Plug-and-play, no additional drivers required (UAC 2.0 compatible systems)
- Suitable for conference systems, gaming headsets, professional recording equipment, and other applications
### 1.3 Product Block Diagram
<figure markdown="span">
![A316-Codec-V1 Block Diagram](../../assets/images/hifi_audio/a316_codec_v1_digram.png "A316-Codec-V1 Block Diagram"){width="600"}
<figcaption></figcaption>
</figure>
### 1.4 Specifications
| Specification Item | Description |
|:-----------------------|:---------------------------------|
| Product Name | A316-Codec-V1 |
| Product Description | USB Microphone and Audio I/O Module |
| Core Processor | XMOS XU316-1024-QF60BC24 |
| Audio Codec | NAU88L21 High-Performance Codec |
| Package Type | Compatible with SMT and Pin Header |
| Environmental Standard | RoHS Compliant |
### 1.5 Absolute Electrical Parameters
| Parameter | Min | Max | Unit |
|:-------------------------------------------|:-----:|:-----:|:----:|
| Storage Temperature | -40 | 125 | °C |
| Supply Voltage | -0.5 | 5.5 | V |
| ESD Voltage (Human Body Model) TAMB-25°C | -2 | 2 | KV |
| ESD Voltage (Machine Model) TAMB-25°C | -500 | 500 | V |
### 1.6 Normal Operating Conditions
| Function | Min | Typical | Max | Unit |
|:---------------------|:-----:|:-------:|:-----:|:----:|
| Operating Temperature| 0 | - | 70 | °C |
| Operating Voltage (Module Input) | 4.75 | 5.0 | 5.25 | V |
### 1.7 Operating Current
| Operating Status | Average | Peak | Unit |
|:-----------------|:-------:|:----:|:----:|
| Active@5.0V | 100 | 150 | mA |
## 2. Pin Definition
### 2.1 Pin Layout
<figure markdown="span">
![A316-Codec-V1 Pin Diagram](../../assets/images/hifi_audio/a316_codec_v1_pin.png "A316-Codec-V1 Pin Diagram"){width=600}
<figcaption></figcaption>
</figure>
### 2.2 Pin Description
| Pin No. | Name | Type | Function |
|:-------:|:----------|:------|:---------------------------------|
| 1 | VBUS | P | 5V Power Input |
| 2 | GND | P | Module Ground |
| 3 | 1V8_O | O | 1.8V Power Output (Debug Only) |
| 4 | TDI | I | XTAG Debug PIN |
| 5 | TDO | O | XTAG Debug PIN |
| 6 | RST | I | System Reset, Active Low (Internal Pull-up) |
| 7 | TMS | I/O | XTAG Debug PIN |
| 8 | TCK | I | XTAG Debug PIN |
| 9 | X1D22 | I/O | Multi-function GPIO |
| 10 | 3V3_O | O | 3.3V Power Output (Debug Only) |
| 11 | DM | I/O | USB Data Negative |
| 12 | DP | I/O | USB Data Positive |
| 13 | VBUS | P | 5V Power Input |
| 14 | GND | P | Module Ground |
| 15 | GND | P | Module Ground |
| 16 | VBUS | P | 5V Power Input |
| 17 | HP_R | O | Headphone Right Channel Output |
| 18 | HP_L | O | Headphone Left Channel Output |
| 19 | X0D33 | I/O | Multi-function GPIO |
| 20 | X0D32 | I/O | Multi-function GPIO |
| 21 | X0D31 | I/O | Multi-function GPIO |
| 22 | X0D30 | I/O | Multi-function GPIO |
| 23 | X0D43 | I/O | Multi-function GPIO |
| 24 | X0D41 | I/O | Multi-function GPIO |
| 25 | X0D42 | I/O | Multi-function GPIO |
| 26 | MIC_BIAS | O | Microphone Bias Voltage Output |
| 27 | MIC_P | I | Microphone Positive Input |
| 28 | MIC_N | I | Microphone Negative Input |
*Note: I/O type definitions: I=Input, O=Output, P=Power, I/O=Input/Output*
## 3. Module Dimensions and PCB Package Layout
### 3.1 Module Dimensions
PCB Dimensions: 18.0±0.2(L)X35.16±0.2(W)X1.0±0.1(H) mm
### 3.2 Module Package Layout
<figure markdown="span">
![A316-Codec-V1 Package Layout](../../assets/images/hifi_audio/a316_codec_v1_size.png "A316-Codec-V1 Package Layout"){width=600}
<figcaption></figcaption>
</figure>
## 4. Typical Application Schematic
<figure markdown="span">
![A316-Codec-V1 Application Schematic](../../assets/images/hifi_audio/a316_codec_v1_application_sch.png "A316-Codec-V1 Application Schematic"){width=600}
<figcaption></figcaption>
</figure>
This schematic shows the typical connection method of the A316-Codec-V1 module in USB microphone applications. The module connects to a host device (such as a computer or mobile phone) via USB interface, enabling bidirectional digital audio transmission. Externally, only a 5V power input is needed, with the module's internal DC-DC power management circuit automatically converting to the working voltages required by the XU316 and 88L21. The microphone input port supports connection to single-ended or differential microphones, and the stereo output can connect to headphones. The integrated high-performance codec ensures audio quality while simplifying external circuit design.
## 5. Product Packaging Information
Tray + Outer Box Packaging
## 6. Recommended Reflow Soldering Temperature Profile
<figure markdown="span">
![Recommended Reflow Soldering Temperature Profile](../../assets/images/hifi_audio/module_smt_temp.png "Recommended Reflow Soldering Temperature Profile"){width=600}
<figcaption></figcaption>
</figure>

View File

@@ -0,0 +1,98 @@
<!-- # AI降噪麦克风
## 一、**控制注意项**
1、新板通电前需要接电流表看看整机电流是不是正常电流大以免烧芯片。
2、测试通道话筒音频MIC-A MIC-B开关只能交替开关测试两个同时开启会导致声音变小。
![001.png](../../assets/images/aimic/001.png){width="200" }
!!! warning "3、注意"
XLR通道接动圈话筒需要关闭+48V开关以免烧毁话筒。
4、10dB 20dB 30dB开关交替开启对应标识增益值。一种情况只能开启一个标识开关另外两个需要关闭。如开启10dB其他两个需要关闭。
![002.png](../../assets/images/aimic/002.png){width="400" }
5、USB旁边的白色电源指示灯太亮了刺眼可以把电阻改为1.2-1.5K。
![003.png](../../assets/images/aimic/003.png){width="400"}
[//]: # ({width="400" style="transform: rotate&#40;90deg&#41;;margin-left:150px;"})
## 二、按键说明
![whiteboard_exported_image.png](../../assets/images/aimic/whiteboard_exported_image.png){width="500" }
## 三、PC端控制软件使用方法
可以在获取软件上设置需要的场景打开后会有一个操作界面和一个日志显示cmd
![004.png](../../assets/images/aimic/004.png)
<div class="grid cards" markdown>
- ![005.png](../../assets/images/aimic/005.png){width="400" }
- ![006.png](../../assets/images/aimic/006.png){width="400" }
- ![007.png](../../assets/images/aimic/007.png){width="400" }
</div>
调整好后,点击左下方“实时更新参数” 才能在设备上生效若设置正常会有log打印
![008.png](../../assets/images/aimic/008.png)
设置好后如果需要保存就点击“保存参数到PC” -->
# AI Noise-Canceling Microphone
## I. **Important Points to Note**
1. Before powering up the new board, use an ammeter to check if the overall current is normal. If the current is too high, it may burn the chip.
2. The microphone audio channel switches, MIC-A and MIC-B, should be toggled alternately during testing. Turning both on simultaneously will cause the sound to become quieter.
![001.png](../../assets/images/aimic/001.png){width="200"}
!!! warning "3. Attention"
When connecting dynamic microphones to the XLR channel, make sure to turn off the +48V switch to avoid damaging the microphone.
4. The 10dB, 20dB, and 30dB switches correspond to the indicated gain values and should not be turned on simultaneously. Only one switch should be turned on at a time, and the other two should be off. For example, if 10dB is turned on, the other two must be off.
![002.png](../../assets/images/aimic/002.png){width="400"}
5. The white power indicator light next to the USB is too bright and may be blinding. You can replace the resistor with a 1.2-1.5K value.
![003.png](../../assets/images/aimic/003.png){width="400"}
[//]: # ({width="400" style="transform: rotate&#40;90deg&#41;;margin-left:150px;"})
## II. Button Description
![whiteboard_exported_image.png](../../assets/images/aimic/whiteboard_exported_image.png){width="500"}
## III. PC Control Software Usage
You can set the required scene in the software. After opening it, there will be an operation interface and a log display in cmd.
![004.png](../../assets/images/aimic/004.png)
<div class="grid cards" markdown>
- ![005.png](../../assets/images/aimic/005.png){width="400"}
- ![006.png](../../assets/images/aimic/006.png){width="400"}
- ![007.png](../../assets/images/aimic/007.png){width="400"}
</div>
Once adjustments are made, click "Real-Time Update Parameters" in the lower left corner to apply the changes to the device. If the settings are correct, logs will be displayed.
![008.png](../../assets/images/aimic/008.png)
After setting, if you wish to save the configuration, click "Save Parameters to PC."