eTimer clock configuration in simulink

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

eTimer clock configuration in simulink

673件の閲覧回数
shirini
Contributor I

IP bus.PNGnxpconfig.PNG

Hi everyone

Currently I am using MBDT (Simulink) for programing NXP-MPC5744P

when using eTimer I do not know what is IP Bus clock frequency in eTimer_Config window. 

in this window I can just select prescaler and there is no option for choosing IP Bus frequency

 

I just want to know how can I configure clock in Simulink?

In  microcontroller configuration block, as you can see, I just can select 200 MHz and I do not know how to access PLLs?

タグ(3)
0 件の賞賛
1 返信

655件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I am not familiar with MBDT but I will explain how clocking works for eTimer.

eTimer is supplied by MOTC_CLK as reference manual states:

petervlna_0-1626076267046.png

 

So for setting MOTC_CLK you need to configure Auxiliary Clock 0 Divider 0 Configuration Register
(MC_CGM_AC0_DC0):

petervlna_1-1626076311281.png

And also you need to know clock supply for AUX0, this is defined by your setting of MC_CGM_AC0_SC

petervlna_2-1626076392641.png

So configure divider of your MOTC_CLK according to your needs, this is your eTimer clock.

Best regards,

Peter

0 件の賞賛