Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello David,
Thank you for reaching out with your issue regarding the SAI clock on the Verdin iMX8M Plus. It seems like the clock configuration is not being restored correctly after the first playback, which is causing the failure during the second attempt. Here are some steps you can take to troubleshoot and potentially resolve this issue:
-
Clock Configuration: Double-check that the clock settings for the SAI interface are correctly configured in your driver. Ensure that the clock is set to the required frequency before each playback. The change in clock rate from 24.576 MHz to 12.288 MHz after the first playback suggests that the settings might not be properly restored for subsequent playbacks.
-
Driver Initialization: Review your driver code to ensure that the clock settings are re-initialized or reset before each playback. The debug logs indicate that the clock rate is not being set correctly for the second playback, which leads to the failure in deriving the required transmission rate.
-
Clock Source Stability: Verify that the clock source for the SAI interface is stable and correctly configured. Any instability or misconfiguration in the clock source between playbacks could contribute to the issue.
-
Codec Configuration: Ensure that the AK4619 codec configuration is compatible with the SAI interface settings. Any mismatch in expected clock rates or configurations could lead to errors during playback.
By following these steps, you should be able to identify and resolve the clock issue with your Verdin iMX8M Plus. If the problem persists, consider reviewing the driver and codec documentation for additional configuration details.
I hope this helps, and please feel free to reach out if you have further questions.
Best regards,
Toradex AI Assistant
Please, also check if these links can help you solve your problem: