K22F MCG clock settings

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

K22F MCG clock settings

682件の閲覧回数
oswaldo-153
Contributor III
I want to make some clock settings, I want to change the clock values of the system, the bus and the core. But I'm not sure if it's in the clock_config.c file, can someone help me?
タグ(3)
1 返信

632件の閲覧回数
Sabina_Bruce
NXP Employee
NXP Employee

Hi Oswaldo,

I would recommend using the Config Tools available in MCUXpresso, this way you can be sure anything related with the clock you are changing is also modified.

To do this, select the project you are working on and click on the tab ConfigTools, then Clocks.

pastedImage_1.png

Next you will see the page similiar to the following image, you need to select the clock diagram option on the left hand side.pastedImage_3.png

You will next see the diagram that is the general view of the internal clocks and the outputs. You can select the one you want to modify, for example if I want to change the bus clock. I select it  then double click the OUTDIV2 and I can change the value in the next screen.

pastedImage_4.png

pastedImage_5.png

Finally once you finished modifying the clock configurations click on Update Project.

pastedImage_6.png

You will see the files that are being updated press ok, then you can recompile your project and test it out.

Let me know if you are able to modify your project successfully and if you have any other questions.

Thank you,

Sabina.