This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

enableModuleClock() function in demo

Hai,

In Starterware demo code, under PeripheralSetUp() there is a function named enableModuleClock().

In other Starterware example code, ModuleClockConfig() have been used.

Do both enableModuleClock() and ModuleClockConfig()  means the same?

Or else , do both are necessary to configure the clock for a particular module?

I am developing code for my board. In that i need to configure the clock for all modules. If this doubt is cleared, then i can proceed with my codes.

Looking forward for the reply.

Thank You.

  • Sudha,

    Clock configuration for example to be done discrete API for the clock configuration in platform. Demo has more use cases and make use of enableModuleClock infrastructre. It requires a database based approach to perform clock configurations. For details please refer to am335x_clock_data.c.

    Regards,

    Ramesh D