1.24.5 Clock Generator (CLOCK)

The PIC32MZ W1 clock system has the following modules and features:

  • A total of five external and internal oscillator options as clock sources

  • Four on-chip PLLs with user-selectable input divider, multiplier and output divider to boost operating frequency on select \internal and external oscillator sources

  • On-Chip user-selectable divisor postscaler on select oscillator sources

  • Software-controllable switching between various clock sources

  • Dedicated on-chip PLL for USB peripheral (internal), Ethernet phy and external Bluetooth module

  • Flexible reference clock output

  • Multiple clock branches for peripherals for better performance flexibility

  • Clock switch/slew control with output divider

Using The Library

The Clock peripheral library initializes the clock system as configured by the user in the MHC easy view.

Library Interface

Clock Generator peripheral library provides the following interfaces:

Functions

Name Description
CLK_Initialize Initializes hardware of the System Clock and Peripheral Clock