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:

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:

USB3 SuperSpeed:

PCIe gen2:

PCIe reference clock generator:

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:

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

Figure 1067: COMBOPHY block diagram showing Mode_sel, PIPE 3, APB bus, PIPE 4.2, HSE clk inputs to internal USB SS PCS, PCIe PCS, PMA, PCIEREFGEN blocks, and external COMBOPHY_REXT, COMBOPHY_TX1P/N, COMBOPHY_RX1P/N, PCIE_CLKINP/N, and PCIE_CLKOUTP/N lines.
Figure 1067: COMBOPHY block diagram showing Mode_sel, PIPE 3, APB bus, PIPE 4.2, HSE clk inputs to internal USB SS PCS, PCIe PCS, PMA, PCIEREFGEN blocks, and external COMBOPHY_REXT, COMBOPHY_TX1P/N, COMBOPHY_RX1P/N, PCIE_CLKINP/N, and PCIE_CLKOUTP/N lines.

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 multiplierSYSCFG_COMBOPHYCR1.REFCLKDIV2SYSCFG_COMBOPHYCR1.MPLLMULTIPLIER [6:0]SYSCFG_COMBOPHYCR1.SSCREFCLKSEL [8:0]COMBOPHY_MPLL_LOOP_CTL_CR[7:4]
201250111 110100000 00001110
251000110 010000000 00001110
100250001 100100000 00001000

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.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.PROP_CNTRL[3:0]INT_CNTRL[1:0]GDVMB
rwrwrwrwrwrwrw

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

90.4.2 COMBOPHY register map

Table 890. COMBOPHY register map and reset values

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x000 - 0x0BCReservedRes.
0x0C0COMBOPHY_MPLL_LOOP_CTL_CRRes.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]GDVMB
Reset value10000000

Refer to Section 2.4 for the register boundary addresses.

ST logo
ST logo