Hello! I am trying to generate PWM outputs using MPC5643L with XPC56XL_257BGA module. I am using the 'Three phase PWM output' block from the motor control library, to generate the PWM.
When I am sending constant values to the duty cycle input of the PWM block, PWM pulses are generated at the corresponding output pins. However, when I am generating some variable duty cycle signal using active elements and sending them to the duty cycle input pins of the PWM module, there are no outputs at the corresponding output pins.
The picture above is the model inside the subsystem 'theta calculation', which has some active elements such as discrete-time integrator and delay.
This is the generated duty cycle signal seen in the scope prior to sending to the input port of the PWM block. There is no errors during the program build. I tried replacing the active elements with blocks from freescale application motor control library. The problem still persists. Could anyone help me regarding this?