Attached is a model that will allow you to adjust the phase lag between PWM1A and PWM2A on a F28069M launchpad. First generate code from the compound block entitled 'PWM Phase Control' located in the 'PWM with PhaseShiftv2.vsm' source model. Next, open the model 'PWM with PhaseShiftv2-d.vsm', make sure the target interface block is pointing to the '.out' file you created in the first step, and run it. You will be able to adjust the duty cycle fraction as well as the phase angle fraction using the sliders.
Attached is a model that will allow you to adjust the phase lag between PWM1A and PWM2A on a F28069M launchpad. First generate code from the compound block entitled 'PWM Phase Control' located in the 'PWM with PhaseShiftv2.vsm' source model. Next, open the model 'PWM with PhaseShiftv2-d.vsm', make sure the target interface block is pointing to the '.out' file you created in the first step, and run it. You will be able to adjust the duty cycle fraction as well as the phase angle fraction using the sliders.
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
Unable to find an attachment - read this blog