GTM Overview

The GTM tool allows the configuration of the Generic Timer Module, with the objective of generating source code necessary to output PWM signals or analyze incoming waveforms. The GTM peripheral contains multiple dedicated modules, each with its own dedicated function. When combined, these submodules can be configured to serve multiple classes of applications. The in-tool documentation contains a set of pre-defined use cases of the GTM peripheral, which are a good starting point in the development process. The tool’s working mode is based on the GTM IP documentation, currently offering configuration options for the following submodules:

  • Cluster Clock Management Unit (CCM)
  • Clock Management Unit (CMU)
  • ARU-connected Timer Output Module (ATOM)
  • Timer Output Module (TOM)
  • Timer Input Module (TIM)
  • Time Base Unit (TBU)

When changes in the GTM configuration panel are made, the source code generates automatically in the background. The GTM tool is bound by constraints, therefore a certain order of operations needs to be respected. For instance, the enablement of any clock source in the CMU is dependent on the enablement of the cluster clock source in CCM.