S B C X U s e r ' s G u i d e
v . 1 . 0 . 1
Pin #
Pin name
Function
Notes
8
AUX_RES
Analog ground
11
MIC_IN
Microphone Input
12
HSOL
Audio Headset left
13
AUD_HP_VGND
Analog ground
14
HSOR
Audio Headset right
5.14.1
Enable microphone bias voltage – J14
If the microphone requires an external bias voltage, inserting a jumper on
J14 connects the microphone input to the MIC_BIAS signal coming from
the Audio codec.
5.14.2
Accessing the peripheral
Access to the audio interface is provided by ALSA (Advanced Linux
Sound Architecture), which consists in a kernel driver and a users space
library for application developers. A set of standard tools (
alsa-utils
)
can be used for simple management of the audio codec.
5.14.2.1
Basic usage
To list the available sound cards:
root@axel-lite:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: imx51babbagesgt [imx51-babbage-sgtl5000], device 0: HiFi
sgtl5000-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
To access the audio mixer:
# alsamixer
To play a wav file
# aplay -D hw:0,0 myfile.wav
5.14.2.2
Linux messages at boot time:
root@axel-lite:~# dmesg | grep sgt
[ 3.398605] sgtl5000 0-000a: sgtl5000 revision 0x11
[ 3.407431] sgtl5000 0-000a: Using internal LDO instead of
VDDD
December, 2019
58/139
Summary of Contents for SBC AXEL
Page 2: ...S B C X U s e r s G u i d e v 1 0 1 Page intentionally left blank December 2019 2 139 ...
Page 105: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 105 139 ...
Page 106: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 106 139 ...
Page 107: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 107 139 Fig 44 QtQuick Hello World ...
Page 119: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 119 139 ...
Page 121: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 121 139 ...
Page 139: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 139 139 ...