Our setup involves a modem connected to a Jetson device via I2S, with the modem acting as the master clock source. During startup, we initialize the audio hub with the required settings. However, we’ve observed that this initialization is insufficient if the modem is not ready and the master clock is not active. Based on our understanding, if the master clock is absent during initialization, it causes issues—specifically, when the clock becomes available with an audio stream, the audio hub does not bridge the stream to the codec connected to it.
To address this, we implemented a workaround to reinitialize the audio hub when the modem is brough into service(so the clock must present). While this resolves the issue in most cases, we still occasionally encounter a problem where this is insufficient. In such instances, phone calls connect, but audio is completely muted in both directions. Running the initialization script again in these cases restores the audio immediately.
Our questions are as follows:
- Please confirm if the modem’s master clock need to be active for a successful initialization?
- If so, why is this the case?
- Is there a reliable way to detect whether the master clock is active, such as by reading I2S registers?