Default Core Clock

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

Default Core Clock

1,354件の閲覧回数
mithunp_s
Contributor III

Hi All,

I'm using PT60 & FRDM board,

Once I create a bare board project in CW for any of these device (S08, KL) I want to know what will be default Core Clock codewarrior sets.

I know how to set particular clock frequency in both PE & nonPE projects,  but I want to know in bare board project what will be default setting once project is created, where can find these settings in project and can I directly modify these settings as per my requirement.

Rgds

Mithun

0 件の賞賛
返信
4 返答(返信)

1,162件の閲覧回数
JimDon
Senior Contributor III

Also, if you use PE to set the clocks, you can see exactly what the clocks will be and how to set it there.

0 件の賞賛
返信

1,162件の閲覧回数
adriansc
Contributor IV

Hi,

For KL CW does not code this configuration, MCG comes out the reset in FEI (FLL Engaged Internal) mode (as Jim Donelson said) and you need to add code in order to change MCG modes. Check MCG mode state diagram:

Default core clock 1.png

It applies the same for S08 device: FEI is the default mode of operation for ICS; and CW does not code it.

Default core clock 2.png

Hope this helps.

0 件の賞賛
返信

1,162件の閲覧回数
Monica
Senior Contributor III

Mithun, how is it going?

Please keep us posted :smileywink:

Monica

0 件の賞賛
返信

1,162件の閲覧回数
JimDon
Senior Contributor III

>in bare board project what will be default setting once project is created, where can find these settings in project and can I directly modify these settings as per my requirement.

There are no settings for the clock (or anything else like that) in a bare board project. You need to add code for this.

This may apply to all Kinetis chips:

25.5.2 Using a 32.768 kHz Reference

"In FEE and FBE modes, if using a 32.768 kHz external reference, at the default FLL

multiplication factor of 640, the DCO output (MCGFLLCLK) frequency is 20.97 MHz at

low-range."

0 件の賞賛
返信