Hi,
I am working with IMX8M Mini EVK and yocto project build details:
Build Configuration:
BB_VERSION = "1.38.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-16.04"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mmevk"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "4.14-sumo"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
we want to configure SAI1 as Master for Playback (Tx Operation) and
SAI5 as Slave for Capture (Rx Operation)
We set the dai fmt in the machine driver for Playback (SAIx as master)
fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
SND_SOC_DAIFMT_CBS_CFS;
and
We set dai fmt in the machine driver for Capture (SAI5 as slave)
fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
SND_SOC_DAIFMT_CBM_CFM;
I want to validate this on iMX8MM EVK hw, do you have any test code test this master and slave operation
Thank you,
Sreedhar
Hi Sreedhar
for sai there are no simple tests like unit tests (imx-test - i.MX Driver Test Application Software),
one can try to test with aplay as described in
sect.7.1.2.4 Sound Card Information attached Linux Manual
or gstreamer using Linux 5.4.3_1.0.0 Documentation
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thank you igor, I will check the documentation