Forum Discussion
Altera_Forum
Honored Contributor
11 years agohow to fix varying pwm along with constant frequency of 20kHz in cyclon 2 ep2c5t144c8
Hi! I am using ALTERA cyclon 2 ep2c5t144c8n board for generating varying pulse width modulation (duty cycle from 0 to 100%) along with constant frequency of 20kHz. I have written the code and its wo...
Altera_Forum
Honored Contributor
11 years agoOver complicated though your code is it behaves exactly the same in simulation as it does on my dev board. I can see the same varying PWM pattern on my scope as I see in simulation. The fixed frequency outputs behave as well and don't move around as you suggested in your first post.
So, I can only assume you're having trouble with your oscilloscope and seeing what you expect. Cheers, Alex