18.3.8 Reference Clock (REFO_CLK) Generation

The reference clock generator module uses multiple clock sources as input source and generates six different reference clock outputs.

The REFOxCON registers are used to configure the input clock source and divisor.

The clock sources for the reference clock generator:
  • System clock (SYS_CLK)
  • PB1 bus clock (PB1_CLK)
  • 16 MHz Primary Crystal Oscillator (POSC)
  • 8 MHz Fast RC Oscillator (FRC)
  • 32 kHz Low Power RC Oscillator (LPRC)
  • 32.768 kHz Secondary Crystal Oscillator (SOSC)
  • 128 MHz system PLL (RFPLL PGM MHz, SPLL_CLK1, SPLL_CLK3)
  • 96 MHz USB PLL (UPLL)
  • 50 MHz Ethernet PLL (EPLL)
  • REFI pin
    • External clock input (REFI) is provided on anyone of the supported I/O pins. For details on supported input pins, see I/O Ports and Peripheral Pin Select (PPS) from Related Links.

The following table lists the clock's source mapping for both the CLKGEN generator and REFO_CLK generator.

Table 18-3. CRU Source and Output Clock Mapping
Clock SourceCLKGEN Selection (OSCCON.NOSC[3:0])REFO Selection (REFOxCON.ROSEL[3:0])
FRC00000000
SPLL_CLK100010001
POSC (16 MHz)00100010
SOSC00110011
LPRC01000100
SPLL_CLK3 (RFPLL, 128 MHz)0111
PB1_CLK1001
SYS_CLK1010
REFI Pin1011
EPLL_CLK201010101
UPLL_CLK101100110
EPLL_CLK11000