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

From ESS-WIKI
Jump to: navigation, search
(Created page with " '''AOM-3821 supports three kinds of sound cards: ''' “1 rt5640-codec”(9696EG57001)<br/> “2 hdmi”, <br/> “3 dp0”. === '''AUDIO MIC1/OUT1(Compati...")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
'''AOM-3821&nbsp;supports three kinds of sound cards:&nbsp;'''
+
=== '''AOM-3821&nbsp;supports three kinds of sound cards:&nbsp;''' ===
  
 
“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)''' ===
  
[[File:AOM-DB3500 AUDIO1.png]]
+
'''HW Pin Header'''
 +
 
 +
[[File:AOM-DB3500 AUDIO 1.png|600x450px]][[File:AOM-DB3500 AUDIO PIn header.png]]
 +
 
 +
{| border="1" cellpadding="1" cellspacing="1" style="width: 500px;"
 +
|-
 +
| colspan="4" | '''I2S0 Connector Pin Definition'''
 +
|-
 +
| '''Pin'''
 +
| '''Signal'''
 +
| '''I/O'''
 +
| '''Description'''
 +
|-
 +
| 1
 +
| I2S0_VDDA
 +
| &nbsp;
 +
| I2S0 3.3V source
 +
|-
 +
| 2
 +
| GND
 +
| &nbsp;
 +
| Ground
 +
|-
 +
| 3
 +
| I2S0_VDDA
 +
| &nbsp;
 +
| 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
 +
| &nbsp;
 +
| Not Applicable
 +
|-
 +
| 10
 +
| GND
 +
| &nbsp;
 +
| 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
 +
| &nbsp;
 +
| Ground
 +
|-
 +
| 15
 +
| N/A
 +
| &nbsp;
 +
| Not Applicable
 +
|-
 +
| 16
 +
| I2S0_HP_R
 +
| I
 +
| I2S0 Right Headphone
 +
|-
 +
| 17
 +
| I2S0_MIC_IN
 +
| I
 +
| I2S0 Microphone IN
 +
|-
 +
| 18
 +
| GND
 +
| &nbsp;
 +
| Ground
 +
|-
 +
| 19
 +
| GND
 +
| &nbsp;
 +
| Ground
 +
|-
 +
| 20
 +
| I2S0_HP_L
 +
| I
 +
| I2S0 Left Headphone
 +
|}
 +
 
 +
[[File:AOM-DB3500 AUDIO1.png|RTENOTITLE]]
  
 
=== '''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