17.3.6 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)
  • 64 MHz system PLL (RFPLL PGM MHz, SPLL_CLK1, SPLL_CLK3)
  • 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 17-1. 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, 64 MHz)0101
PB1_CLK0110
SYS_CLK0111
REFI Pin1000