Specialist Supplier of Crystals & Frequency Control Componentssales@mecxtal.com.cn0755-26500570
MERLIN home / Rednote / System Validation and Replacement

Why PCM3060 playback can follow the recording clock on a 24.576 MHz board

An audio board uses separate PCM3060 recording and playback paths. The playback side has a 24.576 MHz active oscillator and recording has a second audio-frequency reference. Both system clocks are present. Playback works by itself, but opening the record path changes playback timing. Map the system clock, bit clock and left/right frame clock for each interface. A PCM3060 clock-select bit can change the whole group. Activity at a second system-clock input does not prove that playback is using that interface.

Map both groups to the installed pins

In TI's serial control mode, the two conversion directions have separate selectors. By default, the ADC uses SCKI1, BCK1 and LRCK1, and the DAC uses SCKI2, BCK2 and LRCK2. Changing the ADC selector can move it to group 2. Changing the DAC selector can move it to group 1. Record signal directions and the corresponding host audio ports. Labelling the two oscillator modules alone omits both interface clocks and the selector's effect on them.

Master and slave operation can also be configured per direction. In a slave test, the selected host port has to supply the actual bit and frame clocks. If the codec is the master, consult the mode table for the applicable ratio and outputs. When sharing a group, confirm who drives each clock before connecting it. Compare schematic and constraints before programming, then confirm the clock at the codec pins. A requested sample rate in software does not identify the physical group.

Calculate the clock ratio for each sample rate

Run recording at 44.1 kHz with a 22.5792 MHz system clock. The ratio is 512. Run playback at 96 kHz with a 24.576 MHz active oscillator supplying the second system clock. Its ratio is 256. Both combinations appear in Table 2. Compare the system and frame clocks inside each group. Dividing the playback 24.576 MHz by the recording 44.1 kHz gives about 557.28, not the 256 expected for this playback configuration.

If the DAC selector accidentally points to group 1, it uses its system, bit and frame clocks together. The first group's combination may be valid for the DAC, so some output can hide the mistake. Use a test signal with known duration. A block with 9,600 frames takes 100 ms at 96,000 frames per second. At 44,100 frames per second it takes about 217.7 ms. That calculation only describes a change in actual frame rate. The system may mute or drop samples depending on how its data path relates to the selected clock.

Prove the data follows the intended clocks

Start playback with clear test markers while maintaining the other frame rate for recording. Capture both system and frame clocks and read both selectors and master/slave fields. Next start recording without deliberately changing playback and look for continued frame and data alignment on playback. Finally exercise a controlled settings change while muted and check alignment again after resuming. If every stream start rewrites the entire configuration, look for an unintended overwrite of the other side's selection or format.

The PCM3060 supports independent ADC and DAC clocks. When the application also sends recorded data to playback at a different sample rate, the host architecture has to manage that interface. Test independent operation before loopback. Distinguishable source data can then tell whether a problem lies in the codec's clock selection or the host's handling of the two rates.

Put both bit clocks in the bench record as well. If the serial interfaces use two 32-bit slots per frame, 64 bits per frame gives 2.8224 MHz at 44.1 kHz and 6.144 MHz at 96 kHz. Those results apply to the chosen slot widths. Count clocks across a complete frame, then verify how the part interprets data in the selected format. Correct frequencies with swapped channels call for checking frame polarity, alignment and the slot assignments.

With two physically distinct clock groups, give each stream its own recognizable test sequence. Start one direction, save the trace, then start the other and stop them individually. If physical clocks stay constant while ownership of data changes, inspect the codec selector and host buffer routing. If the clocks change, check whether both host audio ports share a reconfigured clock tree. These observations are more direct than assigning the symptom to oscillator jitter.

Keep the 24.576 MHz active oscillator output level and destination group on the sample record. Add actual frame rates, ratios and both selectors. Where a buffer or level translator sits in the path, check levels and timing at the receiver as well. The combined, one-way and restart traces give the next hardware or software revision a consistent comparison.

References

WeChat

MERLIN · TIMING COMPONENTS

Scan with WeChat to contact Sales

Add our WeCom contacts from your usual WeChat app.

On desktop, scan with your phone. On mobile, save the QR image and select it from your album in WeChat Scan.