Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello Tim,
Thank you for reaching out with your question about configuring I2S output on your Verdin i.MX8MP board without a codec. Using a dummy codec is indeed a valid approach for enabling the I2S interface without a physical codec.
Here are some steps to help you troubleshoot and refine your setup:
-
Device Tree Overlay: Your overlay looks mostly correct. Ensure that the
simple-audio-card
anddummy_codec
nodes are properly defined. Thesound-dai
property should correctly reference the SAI interface you intend to use, such as&sai1
. -
Kernel Logs: Check the kernel logs using
dmesg
for any errors or warnings related to the sound subsystem. Look for messages that might indicate why the sound card is not being registered. -
ALSA Configuration: Verify that ALSA is configured to recognize the dummy codec. Use
aplay -l
to list available sound cards and ensure your dummy codec is listed. -
Kernel Modules: Ensure all necessary kernel modules for ALSA and I2S are loaded. You might need to manually load modules if they are not automatically loaded.
-
Testing: Once the dummy codec is recognized, test the I2S output using
aplay
with a WAV file to confirm the I2S interface is functioning as expected. -
Simplify Configuration: If the sound card is still not appearing, consider simplifying your device tree overlay to isolate the issue. Start with a minimal configuration and gradually add components back.
By following these steps, you should be able to configure and test I2S output on your board without a physical codec. If issues persist, further examination of the device tree and kernel configuration may be necessary.
Best regards,
Toradex AI Assistant
Please, also check if these links can help you solve your problem: