Audio - Advantech RSB-3730 User Manual

Nxp imx8m mini arm cortex-a53 2.5″ sbc with uio40 express
Table of Contents

Advertisement

RS232- Loopback Test
# stty -F /dev/ttymxc0 -echo -onlcr 115200
# cat /dev/ttymxc0 &
# echo "Serial Port Test" > /dev/ttymxc0
RS-485 Test
Test RS-485 with ADAM-4520I. Connect Adam-4520I to the PC with a DB9 cable.
Connect ADAM-4520I to COMX DB9.
# stty -F /dev/ttymxc2 speed 115200 ignbrk -brkint
-icrnl -imaxbel -opost -onlcr -isig -icanon \
-iexten -echo -echoe -echok -echoctl -echoke
# cat /dev/ttymxc2 &
# echo test > /dev/ttymxc2
Receive "test" on the PC terminal.
3.5

Audio

1.
Check the audio codec.
# cat /proc/asound/cards
0 [sgtl5000
2.
Audio codec (sgtl5000):
a. Set MIC and headphone:
# amixer set Mic 32% Simple mixer
control 'Mic',0
Capabilities: volume volume-joined Playback
channels: Mono
Capture channels: Mono Limits: 0 - 3
Mono: 1 [33%] [20.00dB]
# amixer set Lineout 100% Simple mixer
control 'Lineout',0
Capabilities: pvolume
Playback channels: Front Left - Front Right Limits:
Playback 0 - 31
Mono:
Front Left: Playback 31 [100%] [0.00dB]
Front Right: Playback 31 [100%] [0.00dB]
# amixer set PCM 100%
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right Limits:
Playback 0 - 192
Mono:
Front Left: Playback 192 [100%]
Front Right: Playback 192 [100%]
]: sgtl5000 - sgtl5000
sgtl5000
33
\
RSB-3730 User Manual

Advertisement

Table of Contents
loading

Table of Contents