Hi,
I have an imx6ull and I want to connect it to and FPGA. I need 4 audio channels so I'm going to use the 3 SAI ports and the SPDIF.
I have succesfully made the SPDIF conection adding the followings to the device tree: SPDIF - Pastebin.com
I want to do the same thing for the I2S connection, but im not having any positive results. Here is what I got so far:
Using aplay -l only shows the SPDIF:
root@imx6ull:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: imxspdif [imx-spdif], device 0: S/PDIF PCM snd-soc-dummy-dai-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
In the boot messages there is only information about the SPDIF. No error or anything about SAI.
[ 2.093160] imx-spdif sound-spdif: snd-soc-dummy-dai <-> 2004000.spdif mapping ok
[ 2.310174] ALSA device list:
[ 2.311849] #0: imx-spdif
I have also tried applying this patch (https://patchwork.kernel.org/patch/7679391/) but the results are the same.
Hi Daniel
i.MX6ULL EVK has wm8960 codec which works in i2s mode, its dts example :
linux/arch/arm/boot/dts/imx6ull-14x14-evk.dts
imx6ull-14x14-evk.dts\dts\boot\arm\arch - linux-imx - i.MX Linux kernel
latest nxp linux L4.14.78
Linux Documentation:
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor,
I know that it has that codec, I had it working with SAI2 interface. However, I dont want to use the wm8960 codec to send audio to some speaker or headphones. I need to use the SAI (I2S) interfaces to transfer the digital audio to an FPGA. I don't think I need any codec for that, I just need to connect the 3 pins of I2S (SYNC, BCLK and DATA) to the same 3 pins on an FPGA. Isn't that possible?
Best regards,
Dani
Hi Dani
yes this is possible in similar way as in "simple-audio-card" configuration
i.MX7Dual + SGTL5000 no data on SAI output
I.MX6ULL has similar sai as i.MX7.
Best regards
igor