Difference between revisions of "AOM-DB3500 AUDIO MIC1/OUT1"

From ESS-WIKI
Jump to: navigation, search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
'''AOM-3821 supports three kinds of sound cards: '''
+
=== '''AOM-3821 supports three kinds of sound cards: ''' ===
  
 
“1 rt5640-codec”(9696EG57001)<br/> “2 hdmi”,&nbsp;<br/> “3 dp0”.
 
“1 rt5640-codec”(9696EG57001)<br/> “2 hdmi”,&nbsp;<br/> “3 dp0”.
 +
  
 
=== '''AUDIO MIC1/OUT1(Compatible with ROM-EG57)''' ===
 
=== '''AUDIO MIC1/OUT1(Compatible with ROM-EG57)''' ===
Line 8: Line 9:
 
'''HW Pin Header'''
 
'''HW Pin Header'''
  
'''[[File:AOM-DB3500 AUDIO 1.png]]'''[[File:AOM-DB3500 AUDIO PIn header.png]]
+
[[File:AOM-DB3500 AUDIO 1.png|600x450px]][[File:AOM-DB3500 AUDIO PIn header.png]]
  
 
{| border="1" cellpadding="1" cellspacing="1" style="width: 500px;"
 
{| border="1" cellpadding="1" cellspacing="1" style="width: 500px;"
Line 35: Line 36:
 
|-
 
|-
 
| 4
 
| 4
| &nbsp;
+
| I2S0_SDIN_3.3
| &nbsp;
+
| I
| &nbsp;
+
| I2S0 Serial Data IN 3.3V Level
 
|-
 
|-
 
| 5
 
| 5
| &nbsp;
+
| I2S0_SDOUT_3.3
| &nbsp;
+
| O
| &nbsp;
+
| I2S0 Serial Data OUT 3.3V Level
 
|-
 
|-
 
| 6
 
| 6
| &nbsp;
+
| I2S0_LRCK_3.3
| &nbsp;
+
| I
| &nbsp;
+
| I2S0 Left/Right Clock
 
|-
 
|-
 
| 7
 
| 7
| &nbsp;
+
| I2S0_BCLK_3.3
| &nbsp;
+
| I
| &nbsp;
+
| I2S0 Bit Clock
 
|-
 
|-
 
| 8
 
| 8
| &nbsp;
+
| AUD0_MCK
| &nbsp;
+
| I
| &nbsp;
+
| Audio0 Master Clock
 
|-
 
|-
 
| 9
 
| 9
Line 70: Line 71:
 
|-
 
|-
 
| 11
 
| 11
| &nbsp;
+
| I2S0_I2C_CLK
| &nbsp;
+
| I
| &nbsp;
+
| I2S0 I2C clock input from host.
 
|-
 
|-
 
| 12
 
| 12
| &nbsp;
+
| MIC_BIAS1
| &nbsp;
+
| I
| &nbsp;
+
| For I2S0 Microphone Bias Voltage
 
|-
 
|-
 
| 13
 
| 13
| &nbsp;
+
| I2S0_I2C_DAT
| &nbsp;
+
| I/O
| &nbsp;
+
| I2S0 I2C Data
 
|-
 
|-
 
| 14
 
| 14
Line 95: Line 96:
 
|-
 
|-
 
| 16
 
| 16
| &nbsp;
+
| I2S0_HP_R
| &nbsp;
+
| I
| &nbsp;
+
| I2S0 Right Headphone
 
|-
 
|-
 
| 17
 
| 17
| &nbsp;
+
| I2S0_MIC_IN
| &nbsp;
+
| I
| &nbsp;
+
| I2S0 Microphone IN
 
|-
 
|-
 
| 18
 
| 18
Line 115: Line 116:
 
|-
 
|-
 
| 20
 
| 20
| &nbsp;
+
| I2S0_HP_L
| &nbsp;
+
| I
| &nbsp;
+
| I2S0 Left Headphone
 
|}
 
|}
  
Line 123: Line 124:
  
 
=== '''Get sound card ID''' ===
 
=== '''Get sound card ID''' ===
 +
<pre># cat /proc/asound/cards
 +
0 [rockchiphdmiin ]: rockchip_hdmiin - rockchip,hdmiin
 +
&nbsp;rockchip,hdmiin
 +
&nbsp;1 [rockchiprt5640c]: simple-card - rockchip,rt5640-codec
 +
&nbsp;rockchip,rt5640-codec
 +
&nbsp;2 [rockchiphdmi0 ]: rockchip-hdmi0 - rockchip-hdmi0
 +
&nbsp;rockchip-hdmi0
 +
&nbsp;3 [rockchipdp0 ]: rockchip-dp0 - rockchip-dp0
 +
&nbsp;rockchip-dp0
 +
</pre>
  
&nbsp;
+
=== '''Record'''<br/> Take Card ID 1 for example: ===
 +
<pre># arecord -Dplughw:1,0 -f S16_LE -r 16000 -d 10 -t wav test.wav
 +
</pre>
  
&nbsp;
+
=== '''Playback'''<br/> Take Card ID 1 for example: ===
 +
<pre># aplay -Dplughw:1,0 -t wav test.wav</pre>
  
&nbsp;
+
[[File:AOM-DB3500 AUDIO Function.png|RTENOTITLE]]

Latest revision as of 07:34, 5 January 2026

AOM-3821 supports three kinds of sound cards: 

“1 rt5640-codec”(9696EG57001)
“2 hdmi”, 
“3 dp0”.


AUDIO MIC1/OUT1(Compatible with ROM-EG57)

HW Pin Header

AOM-DB3500 AUDIO 1.pngAOM-DB3500 AUDIO PIn header.png

I2S0 Connector Pin Definition
Pin Signal I/O Description
1 I2S0_VDDA   I2S0 3.3V source
2 GND   Ground
3 I2S0_VDDA   I2S0 3.3V source
4 I2S0_SDIN_3.3 I I2S0 Serial Data IN 3.3V Level
5 I2S0_SDOUT_3.3 O I2S0 Serial Data OUT 3.3V Level
6 I2S0_LRCK_3.3 I I2S0 Left/Right Clock
7 I2S0_BCLK_3.3 I I2S0 Bit Clock
8 AUD0_MCK I Audio0 Master Clock
9 N/A   Not Applicable
10 GND   Ground
11 I2S0_I2C_CLK I I2S0 I2C clock input from host.
12 MIC_BIAS1 I For I2S0 Microphone Bias Voltage
13 I2S0_I2C_DAT I/O I2S0 I2C Data
14 GND   Ground
15 N/A   Not Applicable
16 I2S0_HP_R I I2S0 Right Headphone
17 I2S0_MIC_IN I I2S0 Microphone IN
18 GND   Ground
19 GND   Ground
20 I2S0_HP_L I I2S0 Left Headphone

RTENOTITLE

Get sound card ID

# cat /proc/asound/cards
0 [rockchiphdmiin ]: rockchip_hdmiin - rockchip,hdmiin
 rockchip,hdmiin
 1 [rockchiprt5640c]: simple-card - rockchip,rt5640-codec
 rockchip,rt5640-codec
 2 [rockchiphdmi0 ]: rockchip-hdmi0 - rockchip-hdmi0
 rockchip-hdmi0
 3 [rockchipdp0 ]: rockchip-dp0 - rockchip-dp0
 rockchip-dp0

Record
Take Card ID 1 for example:

# arecord -Dplughw:1,0 -f S16_LE -r 16000 -d 10 -t wav test.wav

Playback
Take Card ID 1 for example:

# aplay -Dplughw:1,0 -t wav test.wav

RTENOTITLE