Audio Amplifier#
The iLCD Linux series is fitted with an audio chip, which is capable of outputting amplified audio signals directly into a speaker. This section offers information regarding the use of this hardware.
Category |
Info |
---|---|
Producer |
Texas Instruments |
Name |
TAS2563 |
Power |
6.1 W |
Speaker Impedance Range |
3.6 - 8 Ohm |
The aplay -l
command lists all connected devices. The TAS2563 will be listed as tas2563 [DPP-LXX-8p Soundcard tas2563]
Device Configuration#
The TAS2563 offers sound profiles to conveniently store and switch between various presets.
Profile id 0 and 1: speaker gain -15 dB
Profile id 2: speaker gain 0 dB
The sound profiles can be set in the following way to give just an example:
tinymix set "TASDEVICE Profile id" <id Number>
Alternatively one could use alsamixer, which is a rudimentary GUI tool which comes preinstalled on the demo, debug and core builds of the iLCD Linux Images.
Additionally, the volume can be adjusted by setting
tas2563-amp-gain-volume
(range: 0-28) and
tas2563-digital-volume
(range: 0-32768)
Here is a usage example:
tinymix set "tas2563-amp-gain-volume" 15
tinymix set "tas2563-digital-volume" 8192
Program
and Configuration
have to be set to 0
.
tinymix set "Program" 0
tinymix set "Configuration" 0
Test playback#
aplay /unit_tests/ASRC/audio8k16S.wav