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

Tracing a PTZ Camera's 25 MHz Crystal Reference and 50 MHz Host Interface When Link Is Up but Video Is Missing

When a wired pan-tilt camera lights its network LED but the client shows no picture, first establish whether the controller sends and receives frames. Trace the Ethernet clock direction before replacing the image sensor's clock.

On a 100 Mb/s camera prototype, the physical layer can report link while the controller's local network test fails. The LED primarily reports the configured line-side status. It does not show that the controller received valid Ethernet frames, encoded video or delivered it to a client. Use known traffic on an isolated engineering network before investigating imaging, encoding or remote services.

The 25 MHz crystal and the 50 MHz host reference are different nodes

The Ethernet physical-layer transceiver (PHY) handles cable signals, and the controller's media access controller (MAC) handles frames. If they use the reduced media-independent interface (RMII), verify the 50 MHz reference for that implementation. A passive 25 MHz crystal may feed the PHY oscillator and its internal multiplier. Measuring next to that crystal does not establish a compliant clock at the controller.

For example, Realtek's RTL8201F-VD-CG lists options for a 25 MHz crystal or oscillator, a 50 MHz external oscillator input and a 50 MHz output to the MAC. These are alternatives, not three functions on one line at once. Verify whether the fitted PHY supplies the MAC or an approved external source supplies the relevant endpoints. Copying strap resistors from a different model does not define this board's direction.

Huilun Crystal's 3Y25000018 is a possible 25 MHz passive candidate for a crystal-based design. It has a four-pad 3225 package and 7 pF nominal load. Verify capacitance, equivalent series resistance, drive and tolerance against the chosen PHY circuit. This does not establish that those parts are matched or identify a commercial camera's BOM. A passive crystal cannot directly supply logic-level square waves to the MAC.

Worked example: frequency can look right at the wrong place

Suppose the PHY uses a 25 MHz crystal, doubles it internally and sends 50 MHz to the MAC. The corresponding periods are 40 ns and 20 ns. An ideal 10 µs observation contains about 250 and 500 cycles, respectively. The calculation identifies nodes and scale, not acceptable amplitude, duty cycle or edges.

A switch could report 100 Mb/s link and a PHY observation point could read 25 MHz while the controller input has no stable 50 MHz. Check clock generation, output routing and controller input mode. Conversely, a 50 MHz reading does not approve wiring if both sides are configured push-pull. Stop testing according to the platform procedure and review the design rather than leaving drivers in contention. The example does not assume all PHYs maintain link with a reference fault; it depends on where the fault occurs.

Document three layers from link LED to preview

First, check wiring and startup. Freeze hardware, firmware and assembly options. Verify reference source and direction in the schematic and assembly list. If straps select PHY mode, verify levels in the reset-time sampling window defined by the chip. A static level after boot does not prove the strapped state. Check controller pin mux and any software settings or separate clock path.

Second, compare reference output and receive points using allowed buffered or interface test nodes. After measuring frequency, verify levels and establishment timing against both devices' conditions. Avoid loading high-impedance oscillator nodes with an ordinary probe. Reading PHY status over the management bus does not establish RMII frame transfer; management has separate clock and data. Use known bench traffic and frame counters to verify transfer in both directions, beyond negotiation or register access.

Third, check video. Use the board's local test pattern or a controlled image to verify ordered output and timestamps, then compare local preview with the remote client. If local two-way Ethernet passes but the sensor produces no frames, inspect sensor reference and initialization. If local video works and only the phone fails remotely, check connectivity and the application path first. The image reference is one acquisition timebase; frame timestamps also depend on the timestamp source and capture point. Neither follows from the 50 MHz Ethernet clock alone.

Where there are assembly variants, compare a validated unit on the same LAN port with the board under test. First establish known traffic, then swap boards and retain link status, receive times and test points. A server-side timeout does not show the camera sent nothing. The request may not have reached the controller or the reply may not have reached the client. Keep observations for each layer to locate the missing event.

Joint engineering and purchasing checklist

CheckEngineering evidencePurchasing and quality record
25 MHz sourcePHY oscillator arrangement and approved observationsFull code, passive/active type, package and load
50 MHz directionFitted configuration, receiver readings and startup statesDistinguish assembly options under one board number
Cable and host pathNegotiation and actual transmitted/received frames separatelyTie sample board, date/lot and firmware together
Image and deliverySeparate test pattern, preview and timestamp resultsApprove against test coverage, not the LED

For an alternate crystal source, hold topology, straps and firmware fixed and compare with a validated lot. If routing, matching components and part number must change together, add single-variable controls or list what cannot be isolated. Identify network and imaging references separately in receiving records. Identical frequency marks do not make parts interchangeable between positions.

Frequently asked questions

Can we skip traffic tests if the host reads the PHY registers? No. Management access does not verify data clock direction. Confirm frames enter and leave the controller with known bidirectional traffic and counters before troubleshooting video.

If Ethernet looks normal but moving the camera freezes video, will changing the crystal fix it? The symptom is not enough. Compare the host interface and frame transfer before and after movement, then trace image generation and client reception. Synchronized records during failure are more useful than a later crystal reading.

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.