KL05 internal clock

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

KL05 internal clock

1,195件の閲覧回数
ivanrusnacko
Contributor I

Hello,

We have a project with FEI mode and internal 32 kHz oscillator. It gives us output of 21.97 MHz. We would like to have a 24 MHz clock, so we have to trim the frequency of oscillator. There is a register SCTRIM, which does it, but its value is different in every MCU(as oscillator is callibrated in factory). Is there somewhere a more detail information, what are the weights of bits in SCTRIM register? We cannot use external oscillator because of price reasons. The value of SCTRIM is proportional to value of SCTRIM or value of oscillator frequency?

And what about setting DMX32 bit to 1 in FEI with factory trim value? Will it damage MCU?

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

661件の閲覧回数
al_muir
NXP Employee
NXP Employee

The KL05 device comes from the factory trimmed to 20.97MHz. This is achieved by trimming the slow internal reference clock (IRC) to 32.768 kHz. If you set the DMX32 bit then that will provide a 24 MHz clock using the factory trim value. there is no need to perform a custom trim for your application.

0 件の賞賛
返信

661件の閲覧回数
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

If customer want to do internal clock trim, it need use external clock to do that work (provide bus clock within 8-16MHz).

In fact, so far P&E Multinlink Universal tool does not support Kinetis internal clock trim work.

Just as Alistair, the Kinetis internal slow clock trimmed to 32.768KHz before shipped to end customer.

Customer just need to set DMX32 bit to get FLL output 24MHz.

Thank you for the attention.

B.R.

Ma Hui

0 件の賞賛
返信