Get the microcontroller clock frequency

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

Get the microcontroller clock frequency

1,266件の閲覧回数
曾经怀念
Contributor II

Hi all,

 

      How can I Getting the microcontroller clock frequency. So, I could use to change the CAN or LIN baud

 

Regards

ラベル(1)
タグ(1)
0 件の賞賛
返信
3 返答(返信)

901件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

which device do you use?

Regards,

Lukas

0 件の賞賛
返信

901件の閲覧回数
曾经怀念
Contributor II

Hi Lukas,

     MPC5606B

Regards

0 件の賞賛
返信

901件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

By default, the device is running at system clock frequency given by internal RC oscillator 16MHz. Then it's a matter of your software. Take a look at this example to see how to initialize mode and clocks:

https://community.nxp.com/docs/DOC-329441

Here you can find PLL calculator which can help you to do own configuration:

https://community.nxp.com/docs/DOC-332694

If you want to confirm the system clock frequency by measurement, use CLKOUT pin (must be configured by SW, see reference manual for more details).

Regards,

Lukas

0 件の賞賛
返信