Frequency issues in arduino interface with simulink for PWM generation

I'm trying to generate 6 PWM signals by comparing sine and triangular waves on simulink.In the scope I'm getting the frequency of PWM signals as 50 HZ. But when I deploy the model onto arduino, the frequency of the PWM signal is getting reduced to around 15 HZ . How to fix this?

Risposte (0)

Community

Più risposte nel  Power Electronics Control

Richiesto:

il 1 Apr 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by