Two PCM1864 converters share one TDM data line for eight audio signals. The board's 24.576 MHz active crystal oscillator and frame sync both measure correctly, and the first four channels record normally. The last four are shifted after a firmware update, or one contains part of a neighboring channel. The relevant question is how many BCK periods each transmitter waits before driving the bus. Shared wiring requires disjoint transmit windows and matching receiver slot boundaries.
Word length and frame size are different settings
The PCM186x data sheet specifies 256 BCK periods per TDM frame. At a frame rate of 48 kHz, assume the board derives its audio clock tree from a 24.576 MHz active crystal oscillator and that the controller supplies the common BCK and frame sync. The oscillator runs at 512 times the frame rate. BCK runs at 256 times the frame rate, or 12.288 MHz. Each bit period is about 81.38 nanoseconds, and a frame lasts about 20.833 microseconds. Changing from a 24-bit transmit word to 32 bits still leaves 256 bit clocks per frame.
In 32-bit mode each channel has 24 data bits and eight pad bits. Four channels occupy 128 bit clocks. In 24-bit mode there are no eight-bit gaps and the four channels occupy 96 clocks. If the receiver still advances by 32 clocks per slot, the first value may line up and each subsequent channel boundary will be eight more clocks out of position. The oscillator and frame rate can continue to look normal.
Set the shared-bus offset in BCK periods
The transmit offset TX_TDM_OFFSET uses BCK periods and applies when the serial interface is configured for TDM/DSP. Suppose the first ADC sends four 32-bit slots at frame start. Set the second transmitter 128 bit clocks later and configure the receiver for eight 32-bit slots. If the design changes to eight consecutive 24-bit slots, the second transmitter moves to offset 96. Keeping offset 128 still fits the frame but leaves a 32-clock hole between groups. At 12.288 MHz that is about 2.604 microseconds. A receiver expecting packed channels will take bus idle or an unrelated bit as audio.
If the first transmitter uses 32-bit slots while the second incorrectly remains at offset 96, the windows overlap by 32 clocks. TI explains that DOUT goes high-impedance during clocked periods in which the device is not transmitting. This behavior allows bus sharing only with separate transmit windows. An overlap can make two outputs drive different levels at once. Observe each transmitter separately before reconnecting the shared line. Give each group a distinct test tone or amplitude to identify misplaced samples quickly.
Read back the transmit data selection and word length. When adapting a stereo design, use the data sheet's TDM section and the actual wiring to choose the data output. Preserve the common 24.576 MHz active oscillator, controller timing, and both PCM1864 configurations in the record so the relative transmit positions can be reproduced.
Accept the actual slot map
Capture BCK, frame sync, and DOUT together and save raw frames before channel remapping. Verify the 256 clocks per frame, find the frame-start edge, and locate each transmitter's first bit. Distinct known inputs per channel reveal ordering errors that identical sine waves across all channels would hide. After testing each transmitter alone, exercise both together and check that none of the occupied positions get overwritten.
Also check the sync format. A one-BCK pulse and a 50% duty-cycle frame signal can both appear 48,000 times a second. The PCM186x data sheet allows only 50% frame-sync output in master mode and describes its frame-sync input in slave mode separately. Record frame rate, clocks per frame, slot width, transmit offsets, and the channel map. Reuse that record when replacing the 24.576 MHz active crystal oscillator or changing sample rate. If the frequency test passes while the channel map fails, compare frame start and data windows first.
Bus qualification also has an I/O speed limit. Suppose a new version moves from 48 to 96 kHz and both converters keep four 32-bit slots. BCK goes from 12.288 to 24.576 MHz. The second transmitter still waits 128 clocks, but the time from frame start falls from about 10.417 to 5.208 microseconds. Recheck the handoff using the actual line and probe loading. At 192 kHz, a 256-clock frame would require 49.152 MHz BCK. TI limits TDM to 96 kHz at 1.8 V IOVDD because of the 25 MHz I/O limit. Divider and word-length changes cannot relax that restriction. Set the permitted I/O supply, interface rate, and operating mode before qualifying a faster build.
Mode changes affect a shared line even when both final settings work. The host may update the first converter while the second is still driving its old word length. Define a transition interval in which the application withholds audio. Read back both settings, then resume decoding from the new frame boundary. Test the change repeatedly to learn whether only transition frames fail or a persistent offset remains.
