90. Combo PHY (COMBOPHY)
Portions Copyright (c) Synopsys, Inc. All rights reserved. Used with permission.
90.1 Introduction
The COMBOPHY is a single-lane multi-protocol PHY. It is used by either the USB3DR or the PCIE (mutually exclusive).
It supports data rates of up to:
- • 5 Gbit/s for USB3.0 gen1 and PCIE gen2
- • 2.5 Gbit/s for PCIE gen1
The USB3DR and PCIE controllers connect via standard PIPE interfaces.
The COMBOPHY includes the physical coding sublayer (PCS) blocks that perform 8/10-bit encoding and decoding as well as resynchronizing RX data to the local clock domain.
Both PCS have a 16-bit interface clocked at 250 MHz.
A PCIE reference clock generator (PCIEREFGEN) is included that can provide a 100 MHz differential clock to a PCIE link partner. This gives an option to eliminate the external 100 MHz clock source external device that is typically found in PCIE common clock implementations.
The PCIE internal reference clock is a single-ended 20 MHz (without SSC) clock that should be sourced directly from the crystal oscillator (example HSE divide by 2). There is also the option of an external PCIE 100 MHz differential reference clock (with SSC).
90.2 COMBOPHY main features
The COMBOPHY main features are the following:
Configuration:
- • APB port for PHY configuration
USB3 SuperSpeed:
- • Compliant with Universal Serial Bus 3.0 Specification, Revision 1.0 (5 Gbit/s)
- • Beacons, receiver detection, and electrical idle
- • Four-wire connection (two TX and two RX unidirectional) with built-in TX and RX equalization
- • PIPE3 compliant USB 3.0 SuperSpeed interface
- • SSC generation (programmable down-spread) and reception
- • Adaptive RX equalization
- • Supports legacy half-rate mode for power-saving
PCIe gen2:
- • Compliant with PCI Express Base Specification, Revision 2.0 (5 Gbit/s)
- • Backward-compatible with Revision 1.1 Specification (2.5 Gbit/s), with only inferred idle detection supported
- • PIPE 4.2 compliant transceiver interface
- • Programmable RX equalization
PCIe reference clock generator:
- • Provide 100 MHz differential clock to a link partner
- • Single load drive capability (10 pF)
90.3 COMBOPHY functional description
The mode (USB SS or PCIe) must be set before releasing the PHY reset. The mode_sel signal (see Figure 1067) is set via combophy_modesel[1:0] in SYSCFG_COMBOPHYCR2 register, and selects the appropriate physical coding sublayer (PCS).
The PHY contains two hard macros:
- • Physical media attachment (PMA) layer
- • PCIe reference clock generator (PCIEREFGEN)
The PMA has a single lane with a differential Tx output and a differential Rx input.
The SYSCFG_COMBOPHYSR.COMBOPHY_PIPE0_PHYSTATUS is 1 while the COMBOPHY reset is asserted.
After deasserting reset the COMBOPHY_PIPE0_PHYSTATUS should be polled until it changes to 0.
The COMBOPHY clock is now active, and the PCIEREFGEN output can be enabled.
The PHY uses an external resistor to calibrate the termination impedance of the PHY high-speed inputs and outputs. A termination calibration is performed whenever the PHY is taken out of reset. A precision resistor (200 Ω±1%) must be attached on the board from COMBOPHY_REXT to ground.
The PCIEREFGEN output clock is disabled by default and can be enabled by programming SYSCFG_PCIEPRGCR.PRG_EN.
An APB port (compliant with AMBA APB 3.0) is provided to program PHY registers. The 16-bit registers are addressed on a 32-bit boundary.
90.3.1 COMBOPHY block diagram
The COMBOPHY is shown in the following diagram.
Figure 1067. COMBOPHY block diagram

90.3.2 COMBOPHY reference clock
The reference clock for the PMA can be internal or external.
Each reference clock frequency requires a specific COMBOPHY register programming:
Table 889. COMBOPHY register programming: reference clock
| Reference clock (MHz) | target multiplier | SYSCFG_COMBOPHYCR1.REFCLKDIV2 | SYSCFG_COMBOPHYCR1.MPLLMULTIPLIER [6:0] | SYSCFG_COMBOPHYCR1.SSCREFCLKSEL [8:0] | COMBOPHY_MPLL_LOOP_CTL_CR[7:4] |
|---|---|---|---|---|---|
| 20 | 125 | 0 | 111 1101 | 00000 0000 | 1110 |
| 25 | 100 | 0 | 110 0100 | 00000 0000 | 1110 |
| 100 | 25 | 0 | 001 1001 | 00000 0000 | 1000 |
Internal or external reference clock is set using SYSCFG_COMBOPHYCR1.REFUSEPAD.
When an internal reference clock is selected the direct path from HSE must also be selected by programming the USB3PCIEPHYCKREFSEL bit in RCC.
The external reference clock comes from the PCIE_CLKINP, PCIE_CLKINN differential pair.
90.4 COMBOPHY registers
Offsets of COMBOPHY registers are relative to COMBOPHY_BASE.
90.4.1 COMBOPHY MPLL loop control register (COMBOPHY_MPLL_LOOP_CTL_CR)
Address offset: 0x0C0
Reset value: 0xXXXX XX80
MPLL loop control bits.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PROP_CNTRL[3:0] | INT_CNTRL[1:0] | GD | VMB | ||||
| rw | rw | rw | rw | rw | rw | rw | |||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 PROP_CNTRL[3:0]: Charge pump proportional current setting
Set PROP_CNTRL to 0xe (0b1110) when the reference clock is 20 or 25 MHz. Set PROP_CNTRL to 0x8 (0b1000) when reference clock is 100 MHz (default).
Bits 3:2 INT_CNTRL[1:0]: Charge pump integrating current setting
- Bit 1 GD: Measure MPLL local GD
- Bit 0 VMB: Measure MPLL master bias voltage
90.4.2 COMBOPHY register map
Table 890. COMBOPHY register map and reset values
| Offset | Register name | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x000 - 0x0BC | Reserved | Res. | |||||||||||||||||||||||||||||||
| 0x0C0 | COMBOPHY_MPLL_LOOP_CTL_CR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PROP_CNTRL[3:0] | INT_CNTRL[1:0] | GD | VMB | ||||
| Reset value | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
Refer to Section 2.4 for the register boundary addresses.
