hi
i am trying to generate PWM signal by using EMIOS module in MPC5777C in OPWFM mode with next period update.The following below i attached my project code. Can u please verify and check where is the problem in my code. I am using MPC5777c-416DS with MPC57xx mother board.
Thank you
Solved! Go to Solution.
Hi,
within DD_EMIOS_PWM_init() use
SIU.PCR[179].R = 0x0600;
to select eMIOS_0 ch0 on GPIO179 pin.
BR, Petr
hi peter
i updated the PCR[179] value and executed still not getting the output.
Hi,
I tested your code on EVB, with PCR modification and I can see PWM signal on GPIO179 output (PG15 on motherboard). You can also connect PG15 to LED (e.g. P7.1) and see LED toggling.
Hi,
within DD_EMIOS_PWM_init() use
SIU.PCR[179].R = 0x0600;
to select eMIOS_0 ch0 on GPIO179 pin.
BR, Petr