MPC5746B PWM with Master Bus Problem

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

MPC5746B PWM with Master Bus Problem

880件の閲覧回数
Ehsaaan
Contributor III

Hello 

 

I am working on the MPC5748B-C-G Sample from NXP. I already ran the PWM module without any problem. but now I am trying PWM EMIOS1 Channel 19 Y and running a master bus channel 16 for it. but there is no output at the pin. what is the problem?
Kindly please find the attachments.

 

Regards,
Ehsan

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

853件の閲覧回数
hungnguyenphi
NXP Employee
NXP Employee

Hello @Ehsaaan ,

Could you please check the reference clock, cause I see that Emios should use FS80 clock instead.

hungnguyenphi_1-1637230299723.png

 

hungnguyenphi_0-1637230247893.png

 

 

Best regards,

Hung

0 件の賞賛

836件の閲覧回数
Ehsaaan
Contributor III

@hungnguyenphi 
I set the reference clock on FS80 and 80 MHz, but still not working. 
Are the settings of Master Bus ok? No need to set other modules like GPT? Or changes in interrupt vectors or initialization? it doesn't need any API to run the master bus ch16?

 

Regards,
Ehsan

0 件の賞賛

788件の閲覧回数
hungnguyenphi
NXP Employee
NXP Employee

Hello @Ehsaaan ,

 

Please enable the global prescaler for EMIOS1 in the MCU configuration. Then we can see the output signal of EMIOS1

hungnguyenphi_0-1637743189960.png

 

 

Best regards,

Hung

0 件の賞賛