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

Both USB3320 designs use 60 MHz. Why does the CLKOUT connection change?

A board moves the USB3320 reference from an oscillator to the main processor. Both ULPI diagrams say 60 MHz, so a designer keeps the CLKOUT net and routing. That pin has different roles in the two modes. The migration changes the driver, the receiving pin, and when both sides can use the bus. A valid-looking 60 MHz waveform alone does not verify the topology.

Where does 60 MHz appear?

In Microchip's ULPI Input Clock Mode the Link supplies 60 MHz to REFCLK, CLKOUT is tied to VDDIO, and all three REFSEL pins are tied high. The USB3320 waits for internal PLL lock and indicates interface readiness through DIR. In ULPI Output Clock Mode the PHY accepts a selected reference frequency or a crystal or resonator as documented. The USB3320 generates 60 MHz at CLKOUT for the Link. Input and output in those names refer to the PHY. The host's configuration nomenclature can describe the opposite perspective.

For a PCB supporting both options, identify crystal parts, external input parts, and the host output setting for each population. Ensure that only one driver owns any clock line. Verify REFSEL levels under reset conditions and the permitted REFCLK levels. The pin names do not make the two pins interchangeable. In separate supply domains, include the host's ability to drive the clock and rail readiness in the startup timeline.

One 16.67 ns period needs the right timing table

At 60 MHz the period is about 16.67 ns. Under the test conditions in table 4-3, the PHY control and data output delay is up to 3.5 ns in Output Clock Mode and up to 6.0 ns in Input Clock Mode. If the Link captures on the next like edge and board skew is ignored, that leaves about 13.17 ns and 10.67 ns respectively, a 2.5 ns difference. Input setup also differs, 5.0 ns versus 1.5 ns. Use figures from the correct mode and direction. Determine actual launch and capture edges and include traces, host requirements and skew. A half-cycle capture can shorten the usable window further.

Recovery also changes. Table 4-2 gives resume times for several references. For example, its maximum is 2.37 ms with 24 MHz REFCLK and 2.28 ms with 26 MHz. The 60 MHz input case instead lists PHY preparation time. Read the timing definitions and conditions before comparing values. Preparation time cannot stand for the entire resume sequence of another mode. Capture STP, DIR and the interface clock through suspend. Trigger from an independent request or reset edge if CLKOUT stops while suspended.

Make the first ULPI access part of the handoff

Run several complete cold starts. Capture power settling, PHY reset release, the valid clock at its intended pin, and DIR before the Link makes a known register read. Then check enumeration and data. Retain the first failed access so a later retry cannot overwrite the evidence. Identify the probe pin and location, probe load, and termination in the trace record. Label measurements from different build options by their configuration.

For a design that gates its clock, repeat software reset, hardware reset and suspend recovery. The Link and PHY can recover in different orders. Qualify the interface with the actual startup and wake timeline, the selected mode, and successful accesses. Specify clock direction, driver, voltage, and reference selects in the clock record so a future controller or oscillator substitution can be checked against the same topology.

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.