AnsweredAssumed Answered

PWM signal using Simulink

Question asked by Fernando Barrios on Dec 12, 2018
Latest reply on Dec 13, 2018 by Fernando Barrios

Hi,

 

I am currently using the latest toolbox (2018.R1) and I am trying to create a PWM signal for motor control without any luck. I am testing using LEDs for visualization, I know they work because they light up with the GPIO high signal. I have also tried various modules and output pins, I am currently sending a duty cycle of 0.5, because I noticed in the C code it gets multiplied by a value of about 32700. I have attached a screenshot of my settings on my block, do you guys have any suggestions? 

 

Thank you in advance.

 

Outcomes