I am using Simulink and I could perform the Motor Driver Initialization properly.
However I faced a strange behavior after the initialization, sending the PWM signals output:
I can not update the PWM output when the PWM ports are externally triggered, as shown below:
However I can update my PWM outputs when the ports are inside the Initialization block, as can be seen below:
What is the cause of this issue?
How to make the PWM port execute externally by the trigger?
Also I am sending the models attached to make the situation easier for understanding.
Kind Regards, Rafael