An audio processor accepts a module with its own oscillator while the amplifier path stays on the board codec's clock. Both interfaces say 48 kHz. Sending received samples directly to the DSP produces occasional clicks in a long test. Independent nominally identical clocks still have different rates. Incoming samples belong to the source clock, whereas processing and local output belong to the board. An asynchronous sample rate converter needs an input source and an output timebase.
Choose the input and output rate independently
ADI's ADAU1452 data sheet documents ASRC input routing and output rate selection separately. It shows asynchronous sources converted to the DSP core rate, and core data converted for output to a serial port clocked by an external master. On this board, route the actual serial input channels into the ASRC and choose the destination DSP core rate. Then configure the core and local serial output for the codec clock relationship. If an external master instead supplies the output port timing, the outbound ASRC should follow that port. Choosing core rate there may deliver data in the wrong domain. Trace where the data comes from and what consumes it. A block name alone cannot validate that routing.
Suppose one nominal 48 kHz input is 40 ppm fast, delivering 48,001.92 samples per second. The local side at −20 ppm uses 47,999.04. The difference is 2.88 samples per second, or 172.8 per minute. An example buffer with 128 samples of remaining headroom hits its limit in about 44.4 seconds without rate conversion. A larger buffer delays the event. The ASRC converts between the two time grids and delivers samples at the chosen destination rate. Validate ratio limits, channel count and filter latency for the actual device mode.
Test one path before combining sources
Feed a fixed-level tone, vary the external clock slightly above and below nominal, and record input LRCLK and observable core and output timing. A steady offset should not be managed through periodic sample drops or duplicates. Run long enough to expose the buffer failure predicted for an unconverted path. Use distinct tones or timed pulses by channel to check ASRC routing. Configure both the low-level selector and the DSP program input block. The program can continue reading original port samples after the ASRC is configured if the digital routing remains wrong.
Also test source loss, stopped LRCLK, rate changes and recovery. Reference return and useful sound can occur at different times. Define whether the output mutes, holds or rebuilds routing during the gap. Avoid passing transitional frames as valid. If field equipment hot-switches between sources, measure when sound returns and whether pitch recovers. The ASRC adds filtering and buffering. For lip sync or alignment with another audio output, measure startup and steady-state delay in every supported mode. Similar settings alone do not establish end-to-end equality.
Keep a serial clock ownership diagram and a signal routing diagram that names ASRC inputs, output timebases, channel users and DSP read points. Record the tested offsets and supported rate transitions with the configuration revision. Select the oscillator against its electrical and stability requirements, and qualify the system with two independently adjusted clocks and continuous output. A replacement source can then be assessed against input routing, output timing and wiring separately.
An additional error can appear only when comparing outputs. Send the same pulse into a local path and a path from an asynchronous input through the ASRC. Both can have the correct long-term frequency and different onset times. Measure the actual delay difference and any change with rate, filter and reconnection before combining the paths. At 48 kHz, 24 output samples are 0.5 ms. The same count is a different time at another rate. Keep both samples and milliseconds with the routing record.
