Hi,
I use the CodeWarrior IDE software embedded [Processor Expert] tool generated the MCG initialization code for your reference (using external 12MHz crystal and MCG working at PEE mode with core clock 120MHz & bus clock 60MHz):
More detailed info, please refer attached <CPU_Init.c> & <CPU_Config.h> files.
Thank you for the attention.
Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------