Hello,
I am working on a imx6q custom board and using freescale linux kernel 3.14.52 .
I want to send and receive audio data from sgtl5000 codec connected to SSI interface of imx6 to an FPGA via EIM. What would be the best way to do that ?
Thanks and regards,
Sumish
解決済! 解決策の投稿を見る。
Hi Sumish
I think this is posiible, consider changing writing audio data to memory
circular buffer instead file.
Best regards
igor
Hi Sumish
one can check Chapter 28 Advanced Linux Sound Architecture (ALSA) System
on a Chip (ASoC) Sound Driver attached Linux Manual for linux sound subsystem description.
Data from fpga can be written to file, then played using examples in
imx-test (./mxc_sound_test) package
www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.7.tar.gz
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi igor,
Thanks a lot. To send continuous audio data from audio codec to fpga through EIM, can I use the same approach as you mentioned for the data received from fpga (for e.g. writing to a file first then send it to fpga)? Please note that we are sending/receiving continuous audio data.
Regards,
Sumish
Hi Sumish
I think this is posiible, consider changing writing audio data to memory
circular buffer instead file.
Best regards
igor
Thanks igor.