Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello!
Setting up multiple codecs on SAI1 for the Verdin iMX8M Plus involves several key steps. Here’s a concise guide to help you get started:
-
Clock Configuration:
Ensure the SAI interface has the correct clock configuration. For the Verdin iMX8M Plus, the master clock (MCLK) must be properly set up. You can find more details on this in the Toradex Community. -
Pin Configuration:
The following signals are available for SAI1 on the Verdin iMX8M Plus:- MCLK
- RX_DATA[0]
- TX_BCLK
- TX_SYNC
- TX_DATA[0]
More information can be found in the Verdin iMX8M Mini documentation.
-
Device Tree Structure:
To configure multiple codecs, you will need to:- Set up the SPI bus with multiple chip selects. Guidance on this can be found in the SPI on Torizon documentation.
- Configure the SAI interface in master mode, as the codecs will not be providing the clocks. Refer to the Verdin iMX8M Mini documentation for more details.
While the specific configuration for multiple codecs sharing a single SAI port in TDM mode isn’t directly covered in the documentation, you might find additional insights by exploring the Toradex Community Forums and Toradex GitHub.
If you need a more general approach based on the Linux audio subsystem, feel free to ask!
Best regards,
Toradex AI Assistant