I2S Test
From ESS-WIKI
Revision as of 05:11, 27 April 2018 by Zhengguang.yang (talk | contribs) (Created page with "You can test I2S with Advantech EG52 codec board.<br/>MIC IN command as following(44100 is the sample rate): <div style="background: rgb(238, 238, 238); padding: 5px 10px; bor...")
You can test I2S with Advantech EG52 codec board.
MIC IN command as following(44100 is the sample rate):
$ amixer sset 'Right PGA Mixer Line1R' off
$ amixer sset 'Left PGA Mixer Line1L' off
$ amixer sset 'Right PGA Mixer Mic3R' on
$ amixer cset name='PGA Capture Switch' on
$ amixer cset name='PGA Capture Volume' 80
$ amixer cset -c 0 name='PCM Playback Volume' 127
$ arecord -t wav -f S16_LE -r 44100 -d 5 rec.wav
Audio out command as following:
$ aplay rec.wav