AnsweredAssumed Answered

Change between clock configurations

Question asked by matthias on Jun 9, 2015
Latest reply on Jun 11, 2015 by Jorge_Gonzalez

Hello,

 

I have an application running KSDK1.2.0 with MQX and I would like to change between different clock settings. In a previous post (Re: Clock configuration with KDS3.0/KSDK1.2.0 ), Jorge gave me some hints on how to use several clock settings. However, I did not manage to make use of these hints yet, so I am opening a new thread for my questions:

 

When I use CLOCK_SYS_SetConfiguration(), I can apply a new clock setting, but then all timers, uart, etc., do not work properly any more because they get not informed that the clocks have changed. In the reference manual I see that the function CLOCK_SYS_UpdateConfiguration() should be the right one to use, because it can notify all drivers that the clock has changed. However, it seems that I manually have to implement callback functions for all component drivers that should be notified. Is there a way that Processor Expert takes care of notifying all affected drivers automatically when the clock configuration changes?

 

Best regards

Matthias

Outcomes