SDAA194 November 2025 AM2431 , AM2432 , AM2434 , AM62P , AM6412 , AM6421 , AM6422 , AM6441 , AM6442
Before using a peripheral in the application, the peripheral must be properly initialized by enabling and configuring the respective clock settings. The clock is initialized by making call to TISCI APIs. This code required for clock configuration is auto generated by the tool when a peripheral is added.
When the user adds any module/peripherals in the CodeGen tool, the configured clock configuration automatically is populated to structure (for example, gSocModulesClockFrequency) used by TISCI APIs to set the frequency. The Module_clockEnable() API performs the power configuration for the module by enabling the LPSC gates for clocks.
Figure 4-6 shows the code generated by tool to enable and configure the clock for peripherals.
Figure 4-6 Clock Configuration