An AD1938 audio board receives a substitute 12.288 MHz passive crystal. The master clock is present, but the board still outputs stereo format after a cold start instead of the expected eight-slot stream. Check whether the codec entered standalone mode before blaming the crystal. Analog Devices specifies stereo I²S and a master rate of 256 times the 48 kHz reference in standalone operation. Programmed operation can use the same crystal and select TDM through SPI. Two assemblies with the same frequency can follow different boot paths. The controller, pull-up and firmware belong in the qualification record.
Put master, bit and frame clocks on the same timing record
At 48 kHz, a factor of 256 gives 12.288 MHz, the crystal frequency. A standard-rate, eight-slot TDM frame can contain eight 32-bit slots. That is 256 bit clocks, so BCLK can also measure 12.288 MHz. The first is the reference for the codec clock path in this example. The second defines data movement inside a frame. Record MCLK, BCLK and LRCLK with their respective test points and identify the ADC or DAC port. Keep a baseline from before the replacement so identical frequency readings can be traced to the correct pins.
The data sheet illustrates another trap in multiplier descriptions. A 256-times reference setting in 48 kHz mode can continue using 12.288 MHz when the part is programmed for 96 kHz operation, where the source is effectively 128 times sample rate. At 192 kHz it is 64 times. If an RFQ changes to 24.576 MHz just because sample rate doubles, have engineering confirm the intended mode and source first. A new PLL path or serial-port format also needs its own review. For example, the manufacturer requires the internal PLL for the ADC in 192 kHz mode.
Capture control-pin levels at a cold start
The serial control pins select standalone mode at reset. In the documented standalone combinations, CIN, CCLK and CLATCH are all low and COUT selects whether the ADC clock port is master or slave. For a design with a microcontroller, Analog Devices recommends a weak pull-up on CLATCH. Its boot application note keeps the pin high before the controller program runs so the codec does not enter standalone. If the pull-up is unpopulated, its value was changed, or the controller holds the pin low during power-up, the problem may occur only at a cold boot. The controller may already be initialized during a warm reset.
On production-representative boards, capture reset, CLATCH, the master-clock observation point and the first LRCLK frame together. The data sheet describes about 256 master-clock cycles of initialization after reset release and PLL acquisition. At 12.288 MHz this portion alone takes about 20.8 µs. Crystal startup, PLL lock, controller readiness and SPI programming add other intervals. Do not use 20.8 µs as a total system wait. Save traces around power-up and configuration readback even if the controller appears to have started writing to SPI.
Establish what the crystal replacement needs to prove
For a 12.288 MHz passive crystal alternate, ask for rated load, ESR, drive limit, environmental range, frequency tolerance and the terminal drawing. Verify startup and frequency on the approved circuit at a low-loading observation point. A powered 12.288 MHz active oscillator instead needs an engineering review of the clock input path, levels, coupling and supply. Give each part its own material approval. Identify the exact physical arrangement on both reports so an active clock waveform is not mistaken for evidence that the passive crystal oscillates on the board.
If channel loss only affects TDM, count the bit clocks per frame and send distinct test signals to check which slots carry data. Where the master clock, framing and bit count match but slot order or word width fails and a test signal repeatedly appears in the same wrong slot, review register settings and the downstream data receiver. If the same configuration instead has an unstable master clock on the replacement part, compare the original and alternate under equivalent rail, temperature and loading. Save the original data from each test so an absence of output does not conflate these failures.
Frame length gives a second check. At 48 kHz a frame lasts about 20.8 µs. Eight contiguous 32-bit slots occupy about 2.6 µs each. Identify the framing edge and count data bits against bit-clock edges. A cropped trace of steady MCLK will not show its relationship to a data frame. If the project uses several data lines or changes their layout through the controller, calculate from the actual mode. Keep the transmit and receive configuration versions and first frame so comparisons between lots can distinguish a cold-boot problem from a later loss of synchronization.
Production can retain the approved 12.288 MHz passive crystal and specify standalone or programmable mode in the relevant assembly and inspection records. If the replacement only changes crystal vendor or package, qualify the part and its load network. If the build also moves from standalone to eight-slot TDM, approve control stuffing and actual programming together. Keep cold-start register, frame timing and known channel data with the first article. The next purchase can then verify the crystal while production checks the correct startup and audio mode.
