MPC5746B PWM with Master Bus Problem

cancel
Showing results for 
Search instead for 
Did you mean: 

MPC5746B PWM with Master Bus Problem

472 Views
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

Tags (1)
0 Kudos
3 Replies

445 Views
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 Kudos

428 Views
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 Kudos

380 Views
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 Kudos