Transfer IMX6 audio data to fpga over EIM bus

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Transfer IMX6 audio data to fpga over EIM bus

跳至解决方案
1,481 次查看
sumish_ks
Contributor II

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

标签 (1)
0 项奖励
1 解答
1,264 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Sumish

I think this is posiible, consider changing writing audio data to memory

circular buffer instead file.

Best regards
igor

在原帖中查看解决方案

0 项奖励
4 回复数
1,264 次查看
igorpadykov
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
1,264 次查看
sumish_ks
Contributor II

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

0 项奖励
1,265 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Sumish

I think this is posiible, consider changing writing audio data to memory

circular buffer instead file.

Best regards
igor

0 项奖励
1,264 次查看
sumish_ks
Contributor II

Thanks igor.

0 项奖励