AnsweredAssumed Answered

Audio(SAI) does not work on ls1028ardb with ls1028a BSP rev 0.2

Question asked by zumeng chen on Apr 8, 2019
Latest reply on Apr 24, 2019 by zumeng chen

Hi experts,

 

I did some audio testing on ls1028ardb based on the section 4.1.14.3 Synchronous audio interface (SAI) from "Layerscape LS1028A BSP v0.2.pdf", I did set the sw5(8) on, and BRDCFG3[2] = 1, then run the default Image from emmc, it seems still failure with the followings:

root@ls1028a:/# uname -a
Linux ls1028a 4.14.47-51091-g985a1f51c31c #2 SMP PREEMPT Wed Dec 19 11:41:09 IST 2018 aarch64 GNU/Linux

root@ls1028a:/# aplay ./usr/share/sounds/alsa/Rear_Center.wav
Playing WAVE './usr/share/sounds/alsa/Rear_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono


aplay: pcm_write:1947: write error: Input/output error
root@ls1028a:/#
root@ls1028a:/#
root@ls1028a:/# aplay ./usr/share/sounds/alsa/Rear_Center.wav
Playing WAVE './usr/share/sounds/alsa/Rear_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono

aplay: pcm_write:1947: write error: Input/output error
root@ls1028a:/#
root@ls1028a:/# aplay ./run/media/mmcblk0p3/mnt/44k-16b.wav
Playing WAVE './run/media/mmcblk0p3/mnt/44k-16b.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
aplay: pcm_write:1947: write error: Input/output error
root@ls1028a:/# aplay -f S16_LE -r 44100 -t wav -c 2 ./run/media/mmcblk0p3/mnt/44k-16b.wav
Playing WAVE './run/media/mmcblk0p3/mnt/44k-16b.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
aplay: pcm_write:1947: write error: Input/output error

 

Any comments are welcome

 

Cheers,

Zumeng

Outcomes