11.4 Enabling a Peripheral

To enable a peripheral clocked by a generic clock, the following parts of the system needs to be configured:

  • A running clock source.
  • A clock from the Generic Clock Generator must be configured to use one of the running clock sources, and the generator must be enabled.
  • The generic clock, through the Generic Clock Multiplexer, that connects to the peripheral needs to be configured with a running clock from the Generic Clock Generator, and the generic clock must be enabled.
  • The user interface of the peripheral needs to be unmasked in the Main Clock Controller (MCLK). If this is not done the peripheral registers will read as all 0’s and any writes to the peripheral will be discarded.