An older camera interface uses programmable logic to feed eight parallel data bits into an SN65LVDS315. A 40 MHz active oscillator drives the logic reference. The first test divides it by four. After changing to divide by two, the receiver no longer gets stable video. Measure the clock at the serializer and verify its frequency-select pin. The oscillator stayed the same, but the divisor and applicable input band changed. Probing the reference alone misses the clock at the receiver pin.
Calculate the input band and output bit rate separately
TI specifies two DCLK ranges. FSEL low supports 3.5 to 13 MHz. FSEL high supports 7 to 27 MHz. Dividing 40 MHz by four yields 10 MHz, which falls in the overlap. Dividing by two yields 20 MHz and requires FSEL high. A pass at 10 MHz does not prove that the strap is correct or even properly connected. Measure its actual level at 20 MHz against the threshold for the specified supply domain. Verify that the relevant assembly option is populated. TI instructs designers not to leave FSEL floating.
The 40 MHz reference has a 25 ns period. The derived DCLK periods are 100 ns at 10 MHz and 50 ns at 20 MHz. The serializer's differential output clock is eight times DCLK, giving 80 or 160 MHz. During active data transfer this gives about 80 or 160 Mbit/s at the camera interface. These values describe the reference, parallel input and serial output. The 160 MHz output need not meet the DCLK input limit. Likewise, the undivided 40 MHz must not be applied to DCLK. Verify the installed interface format and data-to-clock timing as separate checks.
Avoid measuring the output ratio while the transmitter is disabled. The data sheet describes standby and high-impedance outputs when the input clock stops. TXEN also has pulse suppression and must be asserted for the documented interval. Firmware that stops the input clock during a rate change can produce a legitimate gap in the output. Capture when the new clock actually starts, when enable becomes effective and when the differential outputs return.
Verify the sampling edge and framing with known pixels
The serializer takes in parallel data and the synchronization signals on falling DCLK edges. Send a sequence of distinguishable pixel bytes and fixed line and frame controls. The same absolute data delay in the faster mode can bring a bit transition close to the falling capture edge. Check setup and hold using the manufacturer's window and compare the serial decoding with the expected sequence. An all-black image can hide a bit-order or data integrity error.
The serial output includes start and end codes derived from the parallel line and frame signals. A continuous differential clock at the right frequency does not establish valid synchronization codes. If the last line alone is missing, inspect the falling edges of line and frame valid and apply the documented line-counter selection. If no lines decode, inspect the parallel stimulus, the raw serial stream and the receiver configuration. That distinguishes an out-of-band clock from a frame or data problem under the changed divider.
TI also specifies the duration of an enable transition. The pin description says to hold TXEN high or low for longer than 10 µs to enable or disable the transmitter, respectively. Two hundred ticks at 20 MHz give exactly 10 µs nominal and do not satisfy the longer-than requirement. Measure actual pin duration and leave room for clock error, a divider change and output delays. When clocks return, the first complete image still depends on line and frame synchronization. The first clock transition does not qualify an incomplete frame.
Check data latency within an active line as a separate experiment. The switching table expresses parallel-input-to-serial-output data delay as 4.5 to 5.5 DCLK periods. At 20 MHz that is 225 to 275 ns, versus 450 to 550 ns at 10 MHz. Those calculations describe the data path under the stated table conditions. They do not set the standby wake time. Insert a few distinguishable values within an active line and locate their matching bits at the output. If triggering on a frame or line boundary, account separately for the synchronization code inserted by the device.
For a board supporting several sensors, keep software divisors aligned with supported FSEL populations. A pass at 10 MHz only covers that operating point. Test the 20 MHz assembly at its actual load and temperature corners and retain the first valid image after idle, known active data and input levels at the receiving device. If software also controls the selection pins, confirm defined levels before initialization and verify that an older mode setting is not restored after programming.
Retain three clock measurements and one recognizable image
Document the actual 40 MHz active oscillator, receiving logic levels, DCLK divisor and actual FSEL population. Record the reference, DCLK and differential output clock with a known image in the faster mode. Save both rates from a working fixture for later comparison. That helps a repair reproduce whether the serializer received the wrong frequency, the strap selected the wrong band or the receiver sampled the wrong data. A complete check includes standby recovery, the correct range at both rates, and decoded image data.
