Transfer IMX6 audio data to fpga over EIM bus

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Transfer IMX6 audio data to fpga over EIM bus

Jump to solution
1,375 Views
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

Labels (1)
0 Kudos
1 Solution
1,158 Views
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

View solution in original post

0 Kudos
4 Replies
1,158 Views
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 Kudos
1,158 Views
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 Kudos
1,159 Views
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 Kudos
1,158 Views
sumish_ks
Contributor II

Thanks igor.

0 Kudos